ERROR Rollup error: Could not load /node_modules/pinia/dist/pinia.mjs/dist/pinia.mjs' in Nuxt 3 #1523
Replies: 4 comments 12 replies
-
I have the exact issue as you do. Have you managed to resolve it? |
Beta Was this translation helpful? Give feedback.
-
It's as if the alias.pinia option was not taken into account correctly. Try adding one to the nuxt config that points to the absolute path of the pinia.mjs file. Something along the line of |
Beta Was this translation helpful? Give feedback.
-
Same issue here. Changing my Actually, removing |
Beta Was this translation helpful? Give feedback.
-
@posva It is still not working on the latest nuxt release... Can you please make a fix for that? Or @Alex--C have you found any working workaround? It is extremely frustrating since I can't work on my project... |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi!
I have the latest Nuxt 3 within my project, version [3.0.0-rc.6-27660452.463c15e] and I've got the latest Pinia versions:
"@pinia/nuxt": "^0.3.1"
"pinia": "^2.0.17",
and when I build I got this error
ERROR Rollup error: Could not load /Users/vargagyorgymark/Documents/Personal/Projektek/evgyuru/evgyuru-nuxt/node_modules/pinia/dist/pinia.mjs/dist/pinia.mjs (imported by .nuxt/dist/server/server.mjs): ENOTDIR: not a directory, open '/Users/vargagyorgymark/Documents/Personal/Projektek/evgyuru/evgyuru-nuxt/node_modules/pinia/dist/pinia.mjs/dist/pinia.mjs'
What could be the problem?
Thank you very much!
Beta Was this translation helpful? Give feedback.
All reactions