@danielroe Ahhh so anything that is imported in nuxt.config must be inside of dependencies instead of devDependencies? That makes sense. Thank you so much! I will close the issue now 😁
so I tried to move all my devDependencies to dependencies, and it didn't change anything.
Can you help me @danielroe ?
error
2021-03-26T15:33:43.386Z undefined ERROR Uncaught Exception {"errorType":"Error","errorMessage":"Could not load Nuxt configuration. Make sure all dependencies are listed in package.json dependencies or in serverFiles within builder options:\n Error: Cannot find module 'esm'\nRequire stack:\n- /var/task/vercel__launcher.js\n- /var/runtime/UserFunction.js\n- /var/runtime/index.js","stack":["Error: Could not load Nuxt configuration. Make sure all dependencies are listed in package.json dependencies or in serverFiles within builder options:"," Error: Cannot find module 'esm'","Require stack:","- /var/task/vercel__launcher.js","- /var/runtime/UserFunction.js","- /var/runtime/index.js"," at Object.<anonymous> (/var/task/vercel__launcher.js:23:13)"," at Module._compile (internal/modules/cjs/loader.js:1063:30)"," at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)"," at Module.load (internal/modules/cjs/loader.js:928:32)"," at Function.Module._load (internal/modules/cjs/loader.js:769:14)"," at Module.require (internal/modules/cjs/loader.js:952:19)"," at require (internal/modules/cjs/helpers.js:88:18)"," at _tryRequire (/var/runtime/UserFunction.js:75:12)"," at _loadUserApp (/var/runtime/UserFunction.js:95:12)"," at Object.module.exports.load (/var/runtime/UserFunction.js:140:17)"]}
Unknown application error occurred
Error
@florian-lefebvre You appear to be importing lang/localesFetcher into your nuxt.config. Perhaps you should include that in your serverFiles :upside_down_face:
I know there is this closed issue #530,
so I tried to move all my devDependencies to dependencies, and it didn't change anything. Can you help me @danielroe ?
error
package.json
nuxt.config.js
vercel.json