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

node:10.0 has NPM 5.6.0, should have 5.8.0 #709

Closed
denisw opened this issue Apr 30, 2018 · 4 comments
Closed

node:10.0 has NPM 5.6.0, should have 5.8.0 #709

denisw opened this issue Apr 30, 2018 · 4 comments

Comments

@denisw
Copy link

denisw commented Apr 30, 2018

According to the v10 changelog, Node v10.0 should come with NPM 5.8.0, which is great because that version supports the npm ci command.

However, the current node:10.0 image seems to still have NP 5.6.0 for some reason:

$ docker run -it node:10.0 npm --version
5.6.0
@guillaumebriday
Copy link

NPM 6 has been released a week ago. https://blog.npmjs.org/post/173260195980/announcing-npm6

I think the node image should come with npm 6

@SimenB
Copy link
Member

SimenB commented Apr 30, 2018

We will never update npm, we use the one that comes with node.

This is an issue with the packaged npm in node, not the docker image.

$ nvm i 10
Downloading and installing node v10.0.0...
Downloading https://nodejs.org/dist/v10.0.0/node-v10.0.0-darwin-x64.tar.xz...
######################################################################## 100.0%
Computing checksum with shasum -a 256
Checksums matched!
Now using node v10.0.0 (npm v5.6.0)

@SimenB
Copy link
Member

SimenB commented Apr 30, 2018

5.8.0 was reverted from node 10: nodejs/node#19837

@SimenB SimenB closed this as completed Apr 30, 2018
@guillaumebriday
Copy link

Ok, nevermind, thanks for the informations !

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

No branches or pull requests

3 participants