Cannot resolve unenv/runtime/proxy-cjs/.cjs in nuxt rc.4
Environment
Nuxt CLI v3.0.0-rc.4 21:55:16 RootDir: /Users/martindonadieu/Documents/Projects.nosync/indiemakers 21:55:20 Nuxt project info: 21:55:20
- Operating System:
Darwin - Node Version:
v16.15.0 - Nuxt Version:
3.0.0-rc.4 - Package Manager:
[email protected] - Builder:
vite - User Config:
publicRuntimeConfig,runtimeConfig,modules,app,compilerOptions,build,content - Runtime Modules:
@nuxt/[email protected],@nuxtjs/[email protected],@pinia/[email protected] - Build Modules:
-
👉 Report an issue: https://github.com/nuxt/framework/issues/new 21:55:20
👉 Suggest an improvement: https://github.com/nuxt/framework/discussions/new
👉 Read documentation: https://v3.nuxtjs.org
Reproduction
I wasn't able to isolate the issue in reproduction repo but my repo is open-source so at least you can reproduce it there.
Clone this branch netlify-edge :
https://github.com/riderx/indiemakers/tree/netlify-edge
Then do pnpm i and then NITRO_PRESET=netlify-edge npx pnpm build
You should get this issue.
I try to isolate it, but since it doesn't link to my code, i don't know where to start.
Describe the bug
cannot build for edge platforms
Additional context
No response
Logs
No response
Related to https://github.com/nuxt/framework/issues/5450#issuecomment-1156891642 who was link to the original problem, but lead me to discover other bugs during reproduction phase
This should be resolved in the latest unenv, which you can get with yarn upgrade nuxt or npm upgrade nuxt.
Let me know if not and I'll reopen.
@danielroe with rc.7 i got build issue now, but don't seems linked to netlify-egde, it's more genereric issue
You can try it here:
https://github.com/Cap-go/website/tree/development
Would you open a new issue with reproduction? :pray:
yes !
@danielroe on rc.8 it's fixed the build pass and the deploy pass, BRAVO !!