nvmw
nvmw copied to clipboard
download package.json error
C:\Users\Administrator>nvmw install 0.12.9
Start installing node/v0.12.9 (x64) to D:\Portable\nvmw\v0.12.9
Download from http://npm.taobao.org/mirrors/node/v0.12.9/x64/node.exe, and save
it as D:\Portable\nvmw\v0.12.9\node.exe
Done
Start install npm
Download file from https://raw.githubusercontent.com/joyent/node/v0.12.9/deps/np
m/package.json
package.json
node v0.12.9 does not include npm
Error: https://raw.githubusercontent.com/joyent/node/v0.12.9/deps/npm/package.json Not Found
I have the same error when I try to install v5.6.0
.
It seems to happen when the release isn't shipped with npm
.
me to
C:\Users\Administrator>nvmw install v5.9.1
Start installing node/v5.9.1 (x64) to E:\nvmw\v5.9.1
Download from http://npm.taobao.org/mirrors/node/v5.9.1/win-x64/node.exe, and sa
ve it as E:\nvmw\v5.9.1\node.exe
Done
Start install npm
Download file from https://raw.githubusercontent.com/joyent/node/v5.9.1/deps/npm
/package.json
package.json
node v5.9.1 does not include npm
me to
Start installing node/v4.4.2 (x64) to G:\git\nvmw\v4.4.2 Download from https://nodejs.org/dist/v4.4.2/win-x64/node.exe, and save it as G:\git\nvmw\v4.4.2\node.exe Done Start install npm Download file from https://raw.githubusercontent.com/joyent/node/v4.4.2/deps/npm/package.json package.json node v4.4.2 does not include npm
look https://segmentfault.com/a/1190000004855835
follow README.md Installation everything will be fine // never gonna happen ME to doubt about my life, excuse me???????????????????????????????????????????????????? Download uri's are inncorrect download package.json
nvmw.bat line137
// set NODE_EXE_URL=%NVMW_NODEJS_ORG_MIRROR%/%NODE_VERSION%/x64/node.exe
set NODE_EXE_URL=%NVMW_NODEJS_ORG_MIRROR%/%NODE_VERSION%/win-x64/node.exe
fget.js fget.js line47,XMLHTTP---> ServerXMLHTTP
get_npm.js line 44
//var pkgUri = util.format(NPM_PKG_JSON_URL, 'joyent/node',
// binVersion === 'latest' ? 'master' : binVersion);
var pkgUri = "https://npm.taobao.org/mirrors/node/index.json";
wget(pkgUri, function (filename, pkg) {
if (filename === null) {
return noNpmAndExit();
}
downloadNpmZip(JSON.parse(pkg).version);
});