Skip to content

Commit

Permalink
Merge pull request #234 from waltersf/master
Browse files Browse the repository at this point in the history
Change URL for downloading npm in Cygwin.
  • Loading branch information
ekalinin authored Jun 6, 2019
2 parents a122f18 + ef9491c commit 357b6a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nodeenv.py
Original file line number Diff line number Diff line change
Expand Up @@ -785,7 +785,7 @@ def install_npm_win(env_dir, src_dir, opt):
join(env_dir, 'bin', 'npm-cli.js'))
shutil.copytree(join(bin_path, 'node_modules'),
join(env_dir, 'bin', 'node_modules'))
npm_gh_url = 'https://raw.githubusercontent.com/npm/npm'
npm_gh_url = 'https://raw.githubusercontent.com/npm/cli'
npm_bin_url = '{}/{}/bin/npm'.format(npm_gh_url, opt.npm)
writefile(join(env_dir, 'bin', 'npm'), urlopen(npm_bin_url).read())

Expand Down

0 comments on commit 357b6a8

Please # to comment.