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
When dependencies are updated in package.json to a version incompatible with previously-installed dependents, the dependents don't re-evaluate their dependencies, and the tree ends up in an invalid state.
When dependencies are updated in package.json to a version incompatible with previously-installed dependents, the dependents don't re-evaluate their dependencies, and the tree ends up in an invalid state.
The repro is pretty easy:
npx create-react-app react-app && cd react-app && rm -rf node_modules package-lock.json
cargo run -- add lodash@3
Using
cargo run
here in debug mode is important, because it's the debug_assertions for validating trees that caught this.The text was updated successfully, but these errors were encountered: