@nuxt/devtools always references old install, cannot run generate
Hey everyone, this is probably a very stupid problem, I'm not sure it has to do with Nuxt, but every time I try to run
pnpm install
in any nuxt project, or create a new nuxt project, I get the following error:
I do not have 18.12.1 installed anymore, and do not want to install it, but I did awhile ago. Do I need v18.12.1 or is this a config issue?6 Replies
To Clarify, I had used 18.12.1 to create this project. I have checked my path, removed and reinstalled nvm, cleaned my ~/.zshrc, restarted, tried other projects, etc. I have deleted node_modules, cleaned the pnpm cache, searched my entire harddrive for possible symlinks, everything I can possibly think of.
I created a docker container using node:22-alpine, and was able to run the generate command, but for some reason, somewhere, something is trying to use an old version of nuxt/devtools and I absolutely cannot find where or why it would do that.
I ran an strace and I can see it trying to access that file, but I have zero ideas as to why
npx nuxt info
This is set immediately in initNuxt, where could this possibly be coming from, lol...
Its coming from an rc file, but I absolutely deleted this file, so, the digging continues
Ok yep, it was .nuxtrc in my home folder. Hey! Lets spend 3 hours digging through source code instead of checking if that rm command really worked. Godspeed to whatever file was deleted on accident instead, I hope you were not needed.