Skip to content

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

Description

@denisw

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

Activity

  1. guillaumebriday commented on Apr 30, 2018

    @guillaumebriday

    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

  2. SimenB commented on Apr 30, 2018

    @SimenB
    Member

    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)
  3. SimenB commented on Apr 30, 2018

    @SimenB
    Member

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

  4. guillaumebriday commented on Apr 30, 2018

    @guillaumebriday

    Ok, nevermind, thanks for the informations !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions