Skip to content
This repository has been archived by the owner on Dec 24, 2018. It is now read-only.

download package.json error #71

Open
zlikun opened this issue Jan 13, 2016 · 5 comments
Open

download package.json error #71

zlikun opened this issue Jan 13, 2016 · 5 comments

Comments

@zlikun
Copy link

zlikun commented Jan 13, 2016

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

@yoannmoinet
Copy link

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.

@zhump
Copy link

zhump commented Mar 25, 2016

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

@Mywifi
Copy link

Mywifi commented Apr 18, 2016

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

@zhump
Copy link

zhump commented Apr 18, 2016

look
https://segmentfault.com/a/1190000004855835

@Hank-wood
Copy link

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);
  });

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants