Use an environment variable to point to the proper Node.js version #7744
fernandocanizo
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I tried to depart from
nvmby usingpnpm env, however due to the way it manages Node.js versions, by pointing it with a symlink, I cannot work on two different projects with different Node.js version requirements at the same time, because the minute I change it, it changes globally, since it modifies where the symbolic link points to.With
nvmI can work at the same time in different projects with different Node.js version requirement asnvmstores the folder to use, which points to the proper version, on an environment variable:Currently I cannot make the full switch to
pnpmdue to this fact. It would be nice to change this so we can use a single tool to manage packages and versions of Node.js.Beta Was this translation helpful? Give feedback.
All reactions