npm/npm

Problems with bundledDependencies moving from 5.6.0 to 5.7.0

Closed this issue · 3 comments

I'm opening this issue because:

  • npm is producing an incorrect install.

What's going wrong?

The following problem was (re)introduced in 5.7.0. It does not occur in 5.6.0:

npm install shoe
npm WARN shoe@0.0.15 had bundled packages that do not match the required version(s). They have been replaced with non-bundled versions.

npm ERR! code ETARGET
npm ERR! notarget No matching version found for sockjs-client@0.0.0-unreleasable
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm ERR! notarget
npm ERR! notarget It was specified as a dependency of 'shoe'
npm ERR! notarget

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/delphin/.npm/_logs/2018-03-14T09_43_11_212Z-debug.log

https://gist.github.com/mojoaxel/73facf27029101ba7856365d9a4293bd#file-2018-03-14t09_43_11_212z-debug-log

How can the CLI team reproduce the problem?

npm install -g npm@5.7.0
npm install shoe

supporting information:

  • npm -v prints: 5.7.0
  • node -v prints: v8.10.0
  • npm config get registry prints: https://registry.npmjs.org/
  • Windows, OS X/macOS, or Linux?: Ubuntu

This issue was propably issued before but I could not find a sutable one. Please feel free to close as a dublicate!

these look related: #6282 #9422 #18352

This is still an issue with 5.8.0

Looks like this is fixed in npm v6.0.0 🎉