Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to deploy #4

Open
HenryMoreau opened this issue Aug 4, 2024 · 3 comments
Open

Unable to deploy #4

HenryMoreau opened this issue Aug 4, 2024 · 3 comments

Comments

@HenryMoreau
Copy link

the deployment on vercel with Nuxt.js faced unpredictable wrong
图片

@mrschwartx
Copy link

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.

@harshmange44
Copy link

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?

@harshmange44
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants