-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
[BUG 8.6] overrides field not working, not updating after npm install #4732
Comments
Added a reproduction |
I can confirm as in #4727 that But unlike the title of #4727, subsequent In the above reproduction, then proceed to run these lines: rm -rf node_modules package-lock.json && npm install
npm ls three # output is good now
find -L . | grep -E "node_modules/three\$" # one three package is visible, good
npm install
npm ls three # output is still good
find -L . | grep -E "node_modules/three\$" # one three package is visible, good
rm -rf node_modules && npm install
npm ls three # output is still good
find -L . | grep -E "node_modules/three\$" # one three package is visible, good |
To be honest, I always wished That would be so much more intuitive. |
I'm no longer able to reproduce this as of [email protected], can you give that a try @trusktr? |
@trusktr closing this. Please reopen if you're still having issues & can provide a reproduction case. |
Is there an existing issue for this?
Related: #4232
Possible dupe of: #4727
This issue exists in the latest npm version
Current Behavior
I put this in my
package.json
:however after
rm -rf node_modules && npm install
I see this:And as you can see, there is not a single version of
three
installed as the documentation foroverrides
seems to explain.Expected Behavior
It should override for all packages, and there should be a single
three
package innode_modules
.Steps To Reproduce
Environment
The text was updated successfully, but these errors were encountered: