fix for npm install failure (corrects: Issue #91) #144

Merged
merged 1 commit into from Oct 4, 2012

Projects

None yet

2 participants

@logosity
logosity commented Oct 3, 2012

Updated the section of nvm.sh that installs npm for older versions of node. E.g.: nvm install v.0.4.10 fails with the error: "sh: Syntax error: newline unexpected" - this is because the curl command is encountering an HTML result (due to a 301 page moved) and trying to execute it as a shell script. The new url for the install script is via https instead of http. This patch changes the urls for both 2.x npm installs and others to use https.

@creationix creationix merged commit a12b6d7 into creationix:master Oct 4, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment