[Vuejs]-Vue|Nuxt – Copy project to production server leads to error

0👍

remove package-lock.json file and try again ‘npm install’.Thanks

0👍

splitChunks.layouts must be false.

nuxt.config.js

 splitChunks: {
      layouts: false, // in my case, it was true
      pages: true,
    },

Leave a comment