N
Nuxt7mo ago
Kotyraw

Issue : Pre-transform error: Missing "#internal/nuxt/paths" specifier in "nuxt" package (x2)

Hi, Since this evening, i've got this error when i try to execute "npm run dev". I've updated my Nuxt 3 version from 3.10.2 to 3.12.2 and cleaned my /nuxt, .package-lock.json etc but nothing fix it... Do someone know how to fix it ? Thank you for your help !
No description
No description
23 Replies
Kotyraw
KotyrawOP7mo ago
Can't anyone help me ?
manniL
manniL7mo ago
Do you have a reproduction?
Kotyraw
KotyrawOP7mo ago
Hi ! What do you want to mean with reproduction ? 😅
takburger
takburger7mo ago
creating a small repo with nothing but the isolated incident so we can peak at the code
Kotyraw
KotyrawOP7mo ago
Oh okay i will do it thank you !
Kotyraw
KotyrawOP7mo ago
Hey, this is my repo ! https://github.com/timotheduflos/nuxt_incident If you need more information or anything else, don't hesitate to dm me 😁
GitHub
GitHub - timotheduflos/nuxt_incident
Contribute to timotheduflos/nuxt_incident development by creating an account on GitHub.
takburger
takburger7mo ago
couldn't reproduce on my machine. Maybe check if your node version is the stable one ?
Kotyraw
KotyrawOP7mo ago
Your npm run dev works fine ? My
node --version
node --version
is v.22.3.0
takburger
takburger7mo ago
so not this either
Kotyraw
KotyrawOP7mo ago
I've updated all I can like nuxt, node, packages etc 😅
takburger
takburger7mo ago
npm install && npm dev no error, just 2 warnings about imports of defineEmits and defineProps being uneccessary iirc
Kotyraw
KotyrawOP7mo ago
OKay... strange... I've checked to change HEAD of git commit to see a difference but i've got the same problem. Your response goes in the same way i think, maybe node problem
takburger
takburger7mo ago
but I use the same node -v
Kotyraw
KotyrawOP7mo ago
Oh xD I've tryed
npx nuxi cleanup
npx nuxi cleanup
etc too
Kotyraw
KotyrawOP7mo ago
I don't know if there's a link with a possible node problem, but did you get that too when you did the npm install?
No description
takburger
takburger7mo ago
No description
No description
Kotyraw
KotyrawOP7mo ago
Humm I don't know where to search ^^"
magius
magius7mo ago
Delete the .nuxt folder And node module then reinstall everything-> npm run dev
Kotyraw
KotyrawOP7mo ago
@magius I made :
Remove-Item -Recurse -Force .nuxt
Remove-Item -Recurse -Force .nuxt
Remove-Item -Recurse -Force node_modules
Remove-Item -Recurse -Force node_modules
Remove-Item -Recurse -Force package-lock.json
Remove-Item -Recurse -Force package-lock.json
npm install
npm install
npm run dev
npm run dev
and always the same problem :
No description
Kotyraw
KotyrawOP7mo ago
okay, I've done a little investigating and it looks like it's the i18n module that's making everything go wrong. I installed vue-i18n via npm, created an i18n.js plugin and once everything was reconfigured in my components everything seemed fine. However, I don't know why the nuxt i18n module bugs... Thank you very much for your help
takburger
takburger7mo ago
do you eventually have globally installed packages that would ruin your experience ?
Kotyraw
KotyrawOP6mo ago
I don't think so, as you can see from the repo, the project is and will be fairly lightweight so I don't see why there should be any conflicts with so few packages installed ^^"
takburger
takburger6mo ago
could you try in a Docker ?
Want results from more Discord servers?
Add your server