Skip to content
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

node command not found and NVM_SYMLINK not set properly by auto #243

Closed
8 of 17 tasks
yaochiqkl opened this issue Feb 21, 2017 · 1 comment
Closed
8 of 17 tasks

node command not found and NVM_SYMLINK not set properly by auto #243

yaochiqkl opened this issue Feb 21, 2017 · 1 comment

Comments

@yaochiqkl
Copy link

yaochiqkl commented Feb 21, 2017

My Environment

  • Windows 7 or below (not truly supported due to EOL - see wiki for details)

  • Windows 8

  • Windows 8.1

  • Windows 10

  • Windows 10 IoT Core

  • Windows Server 2012

  • Windows Server 2012 R2

  • Windows Server 2016

  • My Windows installation is non-English.

I have already...

  • read the README to be aware of npm gotchas & antivirus issues.
  • reviewed the wiki to make sure my issue hasn't already been resolved.
  • verified I'm using an account with administrative privileges.
  • searched the issues (open and closed) to make sure this isn't a duplicate.
  • made sure this isn't a question about how to use NVM for Windows, since [gitter]

My issue is related to (check only those which apply):

  • settings.txt
  • proxy support
  • 32 or 64 bit support

Expected Behavior

I've installed nvm-windows succussfully through installer.
node and npm can be used in command

Actual Behavior

nvm use xxx works well.
it shows Now using node v6.9.5 (64-bit)
But node and npm doesn't work showing command not found

settings.txt

root: C:\Users\HP\AppData\Roaming\nvm
path: C:\Program Files\nodejs

when I check the C:\Program Files\nodejs, it points to the wrong version of node C:\Users\HP\AppData\Roaming\nvm\4.2.1,which I didn't installed by nvm but installed early before nvm installed.
And it never change after running nvm use 6.9.5.


NVM_SYMLINK points to C:\Program Files\nodejs
but C:\Program Files\nodejs points to wrong version and never changed.
Tried through administrative privileges but in fail.

@yaochiqkl yaochiqkl changed the title NVM_SYMLINK not set properly by auto node command not found and NVM_SYMLINK not set properly by auto Feb 21, 2017
@coreybutler
Copy link
Owner

Duplicate of #58.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants