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

Missing npm v1.4.14 package #27

Closed
pmalouin opened this issue Jun 26, 2014 · 4 comments
Closed

Missing npm v1.4.14 package #27

pmalouin opened this issue Jun 26, 2014 · 4 comments

Comments

@pmalouin
Copy link

Trying to install node v0.10.29, but fails while trying to download npm from:
http://nodejs.org/dist/npm/npm-1.4.14.zip
Package does not exist. Maybe you would know why the package was not published? Maybe a new location or no longer distributed as a zip?

For sure, the console output from nvmw was not helpful in debugging this and it took me some time to find out what was happening.

nvmw install v0.10.29
Start installing Node v0.10.29 (x64)
Start installing Node v0.10.29 (x64)
Microsoft (R) Windows Script Host Version 5.8
Copyright (C) Microsoft Corporation. All rights reserved.

Download from http://nodejs.org/dist/v0.10.29/x64/node.exe, and save it as C:\Us
ers\Patrick.nvmw\v0.10.29\node.exe
Done
Start install npm
Download file from https://raw.githubusercontent.com/joyent/node/v0.10.29/deps/npm/package.json
package.json
Content length is 3.58kb
Download 100%, 3.58kb / 3.58kb, 1.75mb/s ...
Donwload done
Download file from http://nodejs.org/dist/npm/npm-1.4.14.zip
npm-1.4.14.zip
Download npm 1.4.14 is done Hangs at this line for about 2 minutes
Microsoft (R) Windows Script Host Version 5.8
Copyright (C) Microsoft Corporation. All rights reserved.

C:\Users\Patrick.nvmw\v0.10.29
The process cannot access the file because it is being used by another process.

@pmalouin
Copy link
Author

nodejs/node-v0.x-archive#7800 mentions that npm is now bundled inside the .msi.
Seems that the way nvmw works not longer fits with how node is distributed.

@hakobera
Copy link
Owner

Thank you for letting me know. I have no idea to fix this issue, but I investigate how to fix this issue.

@heri16
Copy link

heri16 commented Sep 15, 2014

Hi there, I also have this issue, and it seems that the fix would be for get_npm.js to go to http://registry.npmjs.org/npm and find the tarball that looks like this:
"tarball":"http://registry.npmjs.org/npm/-/npm-1.4.14.tgz"
This tarball be extracted to .nvmw\v0.10.*\node_modules\npm

untar.js should also be created by using:
var shell = new ActiveXObject("WScript.Shell");
var oExec = shell.Exec('"C:\Program Files (x86)\Git\bin\sh.exe" --login -i -c 'cd "' + outPath + '"; gzip -dc "' + zipfile + '" ^| tar -xf -'');

fengmk2 added a commit to fengmk2/nvmw that referenced this issue Jan 17, 2015
Install iojs just like nvm does, nvm-sh/nvm#590

    nvmw install iojs/1.0.2
    nvmw use iojs/1.0.2

Fixes hakobera#30 hakobera#27
fengmk2 added a commit to fengmk2/nvmw that referenced this issue Jan 17, 2015
Install iojs just like nvm does, nvm-sh/nvm#590

    nvmw install iojs/1.0.2
    nvmw use iojs/1.0.2

Fixes hakobera#30 hakobera#27
fengmk2 added a commit to fengmk2/nvmw that referenced this issue Jan 17, 2015
Install iojs just like nvm does, nvm-sh/nvm#590

    nvmw install iojs/1.0.2
    nvmw use iojs/1.0.2

Fixes hakobera#30 hakobera#27
fengmk2 added a commit to fengmk2/nvmw that referenced this issue Jan 17, 2015
Install iojs just like nvm does, nvm-sh/nvm#590

    nvmw install iojs/1.0.2
    nvmw use iojs/1.0.2

Fixes hakobera#30 hakobera#27
fengmk2 added a commit to fengmk2/nvmw that referenced this issue Jan 18, 2015
Install iojs just like nvm does, nvm-sh/nvm#590

    nvmw install iojs/1.0.2
    nvmw use iojs/1.0.2

Fixes hakobera#30 hakobera#27
fengmk2 added a commit to fengmk2/nvmw that referenced this issue Jan 18, 2015
Install iojs just like nvm does, nvm-sh/nvm#590

    nvmw install iojs/1.0.2
    nvmw use iojs/1.0.2

Fixes hakobera#30 hakobera#27
@hakobera
Copy link
Owner

@pmalouin @heri16 Sorry for late response. This issue is fixed by #36

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

No branches or pull requests

3 participants