#rc14 install _sfc_main.setup undefiend modules

2 messages · Page 1 of 1 (latest)

late umbra
#

I was following NUXT3 official instructions to start up a new project.
https://nuxt.com/docs/getting-started/installation/

But when I use yarn dev -o to open up the development mode,
It throws the error ‘Cannot read properties of undefined (reading 'modules')’, as attachments.

then I tried some solutions from https://github.com/nuxt/framework/issues/7609 and,
reinstall node_moudules/ on my computer, but still not working…

But I'm working fine with rc12 currently, I found the issue because I got another project upgraded to rc14 stable version, then broke.

Is there anything I can try ? I was afraid of that because M1 mac......, my colleague use intel iMac is fine.
thank you.

Environment:
Macbook Por M1 Pro
MacOS 13.0.1
Node Version: v16.16.0
Yarn Version: v1.22.10

Nuxt

Get started with Nuxt quickly with our online starters or start locally with your terminal.

GitHub

Related issues #7532 #7220 #7573 #7564 sidebase/sidebase#16 Reproduction Minimal reproduction: https://stackblitz.com/edit/github-2yn1ze?file=app%2Fpackage.json,app%2Fnuxt.config.ts Describe the bu...

rich ivy
#

delete your package lock file, clean out node_modules folder and run npm install again, if problem still happens you may have a dependency that is causing an issue, rule them out one by one