framework icon indicating copy to clipboard operation
framework copied to clipboard

Cannot resolve unenv/runtime/proxy-cjs/.cjs in nuxt rc.4

Open riderx opened this issue 3 years ago • 1 comments

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



👉 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 image 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

riderx avatar Jun 15 '22 20:06 riderx

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

riderx avatar Jun 15 '22 21:06 riderx

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 avatar Aug 12 '22 08:08 danielroe

@danielroe with rc.7 i got build issue now, but don't seems linked to netlify-egde, it's more genereric issue CleanShot 2022-08-12 at 14 02 15@2x You can try it here: https://github.com/Cap-go/website/tree/development

riderx avatar Aug 12 '22 13:08 riderx

Would you open a new issue with reproduction? :pray:

danielroe avatar Aug 12 '22 14:08 danielroe

yes !

riderx avatar Aug 12 '22 14:08 riderx

@danielroe on rc.8 it's fixed the build pass and the deploy pass, BRAVO !!

riderx avatar Aug 12 '22 15:08 riderx