You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to run fnm use v14 is just gives me this error, even in a new shell:
C:\Windows\System32>fnm use v14
←[1;31merror:←[0m ←[31mWe can't find the necessary environment variables to replace the Node version.
You should setup your shell profile to evaluate fnm env, see https://github.com/Schniz/fnm#shell-setup on how to do this
Check out our documentation for more information: https://fnm.vercel.app←[0m
fnm env output:
SET PATH=C:\Users\ADMENG\AppData\Local\fnm_multishells\15068_1739566972562;C:\Python313\Scripts;C:\Python313;C:\Program Files\Semeru\jre-23.0.0.37-openj9\bin;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0;C:\windows\System32\OpenSSH;C:\Program Files\dotnet;C:\ProgramData\chocolatey\bin;C:\Program Files\Git\cmd;C:\Users\ADMENG\AppData\Local\nvm;C:\Program Files\nodejs;C:\Users\ADMENG\AppData\Local\Microsoft\WindowsApps;C:\Users\ADMENG\AppData\Roaming\fnm
SET FNM_MULTISHELL_PATH=C:\Users\ADMENG\AppData\Local\fnm_multishells\15068_1739566972562
SET FNM_VERSION_FILE_STRATEGY=local
SET FNM_DIR=C:\Users\ADMENG\AppData\Roaming\fnm
SET FNM_LOGLEVEL=info
SET FNM_NODE_DIST_MIRROR=https://nodejs.org/dist
SET FNM_COREPACK_ENABLED=false
SET FNM_RESOLVE_ENGINES=true
SET FNM_ARCH=x64
The text was updated successfully, but these errors were encountered:
@Aaron7897 the point is that the instructions in the https://nodejs.org/en/download home page are wrong because you can't use fnm without tweaking powershell or the cmd first.
And given that I already have my scripts there, it is not straightforward as it looks.
At least for now, this is a no-go.
Installed via choco
Manually added fnm path to PATH
Installed node v14 with
fnm install v14
When I try to run
fnm use v14
is just gives me this error, even in a new shell:C:\Windows\System32>fnm use v14
←[1;31merror:←[0m ←[31mWe can't find the necessary environment variables to replace the Node version.
You should setup your shell profile to evaluate
fnm env
, see https://github.com/Schniz/fnm#shell-setup on how to do thisCheck out our documentation for more information: https://fnm.vercel.app←[0m
fnm env
output:SET PATH=C:\Users\ADMENG\AppData\Local\fnm_multishells\15068_1739566972562;C:\Python313\Scripts;C:\Python313;C:\Program Files\Semeru\jre-23.0.0.37-openj9\bin;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0;C:\windows\System32\OpenSSH;C:\Program Files\dotnet;C:\ProgramData\chocolatey\bin;C:\Program Files\Git\cmd;C:\Users\ADMENG\AppData\Local\nvm;C:\Program Files\nodejs;C:\Users\ADMENG\AppData\Local\Microsoft\WindowsApps;C:\Users\ADMENG\AppData\Roaming\fnm
SET FNM_MULTISHELL_PATH=C:\Users\ADMENG\AppData\Local\fnm_multishells\15068_1739566972562
SET FNM_VERSION_FILE_STRATEGY=local
SET FNM_DIR=C:\Users\ADMENG\AppData\Roaming\fnm
SET FNM_LOGLEVEL=info
SET FNM_NODE_DIST_MIRROR=https://nodejs.org/dist
SET FNM_COREPACK_ENABLED=false
SET FNM_RESOLVE_ENGINES=true
SET FNM_ARCH=x64
The text was updated successfully, but these errors were encountered: