Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Cannot install npm in Windows 10 #239

Closed
ziong opened this issue Jul 3, 2019 · 1 comment
Closed

Cannot install npm in Windows 10 #239

ziong opened this issue Jul 3, 2019 · 1 comment

Comments

@ziong
Copy link

ziong commented Jul 3, 2019

when try to install with
nodeenv --node=10.16.0 --npm=6.4.1 env
I got the error "urllib.error.HTTPError: HTTP Error 404: Not Found"

seems that the zip file should have prefix "v"
my workaround:
i change the file nodeenv.py line 742 (inside install_npm_win())
from
npm_url = 'https://github.com/npm/cli/archive/%s.zip' % opt.npm
to
npm_url = 'https://github.com/npm/cli/archive/v%s.zip' % opt.npm

@Lucas-C
Copy link
Contributor

Lucas-C commented Nov 21, 2019

This has been fixed by #233

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

No branches or pull requests

3 participants