Skip to content

Update npm to 2.x in Node 0.10 #5570

@mgol

Description

@mgol
  • Version: output of node -v

v0.10.43

  • Platform: either uname -a output, or if Windows, version and 32-bit or
    64-bit

Darwin mgol-mbpro.local 15.3.0 Darwin Kernel Version 15.3.0: Thu Dec 10 18:40:58 PST 2015; root:xnu-3248.30.4~1/RELEASE_X86_64 x86_64

  • Subsystem: optional. if known - please specify affected core module name

npm

Since 2-3 0.10.x versions the included npm 1.4.29 on each operation displays a message:

npm WARN deprecated This version of npm lacks support for important features,
npm WARN deprecated such as scoped packages, offered by the primary npm
npm WARN deprecated registry. Consider upgrading to at least npm@2, if not the
npm WARN deprecated latest stable version. To upgrade to npm@2, run:
npm WARN deprecated 
npm WARN deprecated   npm -g install npm@latest-2
npm WARN deprecated 
npm WARN deprecated To upgrade to the latest stable version, run:
npm WARN deprecated 
npm WARN deprecated   npm -g install npm@latest
npm WARN deprecated 
npm WARN deprecated (Depending on how Node.js was installed on your system, you
npm WARN deprecated may need to prefix the preceding commands with `sudo`, or if
npm WARN deprecated on Windows, run them from an Administrator prompt.)
npm WARN deprecated 
npm WARN deprecated If you're running the version of npm bundled with
npm WARN deprecated Node.js 0.10 LTS, be aware that the next version of 0.10 LTS
npm WARN deprecated will be bundled with a version of npm@2, which has some small
npm WARN deprecated backwards-incompatible changes made to `npm run-script` and
npm WARN deprecated semver behavior.
/Users/mgol/.nvm/v0.10.43/bin/npm -> /Users/mgol/.nvm/v0.10.43/lib/node_modules/npm/bin/npm-cli.js
[email protected] /Users/mgol/.nvm/v0.10.43/lib/node_modules/npm

The message claims that the next version of 0.10 will include the upgrade to npm 2; however, there have already been a few versions displaying this message so without the promised update.

cc @othiym23

Metadata

Metadata

Assignees

No one assigned

    Labels

    npmIssues and PRs related to the npm client dependency or the npm registry.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions