Open HenryMoreau opened 1 month ago
That indicate Vercel might fail to find certain dependencies if they are not listed in dependencies or are only in devDependencies. Make sure that all required packages for the build are listed under dependencies in your package.json. Verify that your postcss.config.js file includes postcss-custom-properties.
Hi @agussmkertjhaan , i was facing the same error, i added 'postcss-custom-properties' dependency and fixed this error but now facing this:
ERROR [worker reload] [worker init] Package subpath './runtime' is not defined by "exports" in /Users/harshmange/Projects/portfolio-v2-test/node_modules/nitropack/package.json imported from /Users/harshmange/Projects/portfolio-v2-test/.nuxt/dev/index.mjs
Could you pls help to setup this project?
Hi @agussmkertjhaan , i was facing the same error, i added 'postcss-custom-properties' dependency and fixed this error but now facing this:
ERROR [worker reload] [worker init] Package subpath './runtime' is not defined by "exports" in /Users/harshmange/Projects/portfolio-v2-test/node_modules/nitropack/package.json imported from /Users/harshmange/Projects/portfolio-v2-test/.nuxt/dev/index.mjs
Could you pls help to setup this project?
Some more context:
WARN (node-resolve plugin) Could not resolve import "nitropack/runtime" in /Users/harshmange/Projects/portfolio-v2-test/node_modules/@nuxt/content/dist/runtime/server/plugins/refresh-cache.js using exports defined in /Users/harshmange/Projects/portfolio-v2-test/node_modules/nitropack/package.json.
WARN "nitropack/runtime" is imported by "node_modules/@nuxt/content/dist/runtime/server/plugins/refresh-cache.js", but could not be resolved – treating it as an external dependency.
the deployment on vercel with Nuxt.js faced unpredictable wrong