If this is a question about how to use NVM4W, please use stackoverflow instead.
If this is an issue regarding antivirus, make sure you search the existing issues first.
My Environment
I'm using NVM4W version:
- [ ] 1.1.7
- [X] 1.1.6
- [ ] 1.1.5
- [ ] 1.1.4
- [ ] 1.1.3
- [ ] 1.1.2
- [ ] 1.1.1
- [ ] Older
- [ ] OTHER (Please Specify)
I have already...
- [X] read the README to be aware of npm gotchas & antivirus issues.
- [] reviewed the wiki to make sure my issue hasn't already been resolved.
- [X] verified I'm using an account with administrative privileges.
- [ ] searched the issues (open and closed) to make sure this isn't a duplicate.
- [X] made sure this isn't a question about how to use NVM for Windows, since gitter is used for questions and comments.
My issue is related to (check only those which apply):
- [ ] settings.txt
- [ ] proxy support (Have you tried version 1.1.0+?)
- [ ] 32 or 64 bit support (Have you tried version 1.1.3+?)
- [ ] Character escaping (Have you tried version 1.1.6+?)
- [ ] A standard shell environment (terminal/powershell)
- [ ] A non-standard shell environment (Cmder, Hyper, Cygwin, git)
Expected Behavior
Typing in nvm install 10.14.1
installs both node and npm at the same time.
Actual Behavior
Typing in nvm install 10.14.1
installs both node but throws an error on the npm install hence not working.
Steps to reproduce the problem:
- Installed v 1.1.6 of nvm on my machine
- Checked to make sure nvm is installed with admin rights
- Install node using nvm install 10.14.1 and nvm install latest
- The message saying it cannot install npm
- Install npm as the message says in the screenshot, however, it still does not work
Most helpful comment
npm changed the address of their repo. Upgrade to NVM 1.1.7, which handles both the old and new repo.