Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4.2.2 Argon MSI for 64 bit contains faulty npm version #332

Closed
dotnetCarpenter opened this issue Nov 6, 2015 · 6 comments
Closed

4.2.2 Argon MSI for 64 bit contains faulty npm version #332

dotnetCarpenter opened this issue Nov 6, 2015 · 6 comments
Labels

Comments

@dotnetCarpenter
Copy link

When I download the .msi installer from the nodejs front-page, I get npm version 2.12.0 which has a known issue with calling process.getuid on windows. This virtually makes npm useless hence making the Argon release useless on windows.

On the Argon changelog it says:

npm: Upgraded to npm 2.14.7 from 2.14.4, see release notes for full details (Kat Marchán) #3299

Which leads me to believe that the node-v4.2.2-x64.msi itself is packaged wrong.

Step to reproduce

  1. Download v4.2.2 LTS
  2. Install
  3. node -v v4.2.2 npm -v 2.12.0
  4. npm outdated -g
PS C:\Windows\system32> npm outdated -g
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\dotnet\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "outdated" "-g"
npm ERR! node v4.2.2
npm ERR! npm  v2.12.0

npm ERR! process.getuid is not a function
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR!     <https://github.com/npm/npm/issues>
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\dotnet\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "outdated" "-g"
npm ERR! node v4.2.2
npm ERR! npm  v2.12.0
@dotnetCarpenter
Copy link
Author

Same issue with v5.0.0 Stable
node -v v5.0.0
npm -v 2.12.0

@dotnetCarpenter
Copy link
Author

Hmm.. scratch the last comment. After uninstalling nodejs v4.2.2 and installing nodejs v5.0.0 with the .msi I get:
npm -v 2.12.0 npm uninstall npm npm -v 3.3.6 not sure how that works.

@stevemao
Copy link
Contributor

stevemao commented Nov 6, 2015

npm3 should come with node5 by default

@dotnetCarpenter
Copy link
Author

Is it the .msi uninstaller that doesn't uninstall npm then?

@lpinca
Copy link
Member

lpinca commented Nov 6, 2015

@dotnetCarpenter this issue tracker is for problems and disccussions related to the Node.js website.
You should post this on https://github.com/nodejs/node.

@bnb
Copy link
Contributor

bnb commented Nov 6, 2015

@dotnetCarpenter Yes, this repo is for the development of the site. As @lpinca said, the packaging of Node is not covered in this repository. Create an issue at https://github.com/nodejs/node to get proper support.

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

No branches or pull requests

4 participants