Cannot find module `...@nuxt/devtools`
Hi there. I just installed a fresh new project with
nuxi init
. I wanted to npm i
, but it returns the following error:
The problem is, I do not even have installed node 16. I only have node 18.16.1. So why does nuxt require a path with a node version I don't have installed?
I used node 16 before, but this was a long time ago. I tried to remove and reinstall nvm, node, pnpm from my system, but that didn't help.2 Replies
npx nuxi info
Just tried it out with other older nuxt projects I have. Same issue. So it seems to be that somewhere in my system, this old node 16 is still there and somehow @nuxt/devtools
is being tried to load from there.
Maybe someone knows how to resolve this 😄 thanks in advance!Found the solution: https://github.com/nuxt/devtools/issues/50#issuecomment-1512289158
GitHub
Error running the project · Issue #50 · nuxt/devtools
I have enabled devtools for the project running Nuxt 3.2.0 and whenever I run nuxi dev I get the following output: Nuxt 3.2.0 with Nitro 2.2.1 13:05:40 13:05:41 > Local: http://localhost:3000/ &...