-
Notifications
You must be signed in to change notification settings - Fork 234
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Volta/Nuxt problems between multiple user accounts? #1730
Comments
Hi @MorningstarPhoenix, that's surprising! I don't have any insights into what Nuxt is doing internally, but if it works in one profile it should work in the other. What is the output of |
Hi! Either way, running the command in the personal profile gives this output:
While running in the work profile returns this:
There's a version mismatch with Nuxi but I don't think that's the problem, could it be? While I have Yarn installed in the work profile only, I'm using npm as the package manager for the Nuxt project. |
This is probably a consequence of my lack of knowledge but, on my Windows machine I have two profiles (one work and one personal). I use Volta to manage my node.
Nuxt projects build and run correctly in my work profile, but the same projects fail in my personal profile.
The various paths relating to Volta are these:
The only difference I can spot between the personal and work profile is that I use node 18 in the work profile, and node 20 in the personal profile.
Either way, on the personal profile Nuxt seems to be looking for Devtools in C:/Program Files/nodejs/node_modules/@nuxt/devtools/module.cjs but C:/Program Files/nodejs does not exist, generating the "Cannot find module" error.
I have not validated this problem with other frameworks/projects outside Nuxt.
Anyone has any idea about what's going on?
The text was updated successfully, but these errors were encountered: