You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.
Using npm 5, I'm trying to commit package.json and npm-shrinkwrap.json (or package-lock.json) changes on a branch and then simulate pushing those out to users.
When switching to the new branch and running install, the relevant package gets updated, but dependencies get uninstall.
From looking at the silly debug log output, it appears that the modules were listed in the current tree, but were removed from the ideal tree for some reason.
I'm opening this issue because:
What's going wrong?
Using npm 5, I'm trying to commit package.json and npm-shrinkwrap.json (or package-lock.json) changes on a branch and then simulate pushing those out to users.
When switching to the new branch and running install, the relevant package gets updated, but dependencies get uninstall.
How can the CLI team reproduce the problem?
Run this script:
At the end of it, you'll see that there are three modules no longer in the package-lock.json, and trying to use the react plugin would fail.
Output Diff
From looking at the silly debug log output, it appears that the modules were listed in the current tree, but were removed from the ideal tree for some reason.
supporting information:
npm -v
prints: 5.0.3node -v
prints: v8.1.0npm config get registry
prints: https://registry.npmjs.org/The text was updated successfully, but these errors were encountered: