-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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?]: node-modules - Dependency with different major version in nested workspace not installed #3429
Comments
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
1 similar comment
This issue reproduces on master:
|
Both versions of ESLint is installed but both workspaces get access to the 7.x version due to the layout on disk
|
Seems to be a valid issue; the cc @larixer |
The problem is actually different. The |
@nicolo-ribaudo Just a heads up, I've took a stab to fix this issue at #3438, checked your example and it works for me now. Gotta add integration tests to the PR to prevent future regressions in the following days. |
Self-service
Describe the bug
I have two nested packages. The outer one depends on ESLint 7, the inner one on ESLint 8. Only ESLint 7 is installed.
To reproduce
If this sherlock reproduction doesn't work, you can clone this branch: https://github.com/nicolo-ribaudo/babel/tree/yarn-bug-missing-dep. The last commit shows the package necessary to introduce the bug; you can run
node eslint/babel-eslint-parser/test/eslint-8/index.js
and it should print8.0.0-beta.2
.Environment
System: OS: Linux 5.11 Ubuntu 21.04 (Hirsute Hippo) CPU: (12) x64 Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz Binaries: Node: 16.8.0 - /tmp/xfs-cc5b8bc4/node Yarn: 2.4.1-git.20210125.0f31e6910 - /tmp/xfs-cc5b8bc4/yarn npm: 7.21.1 - ~/.npm-global/bin/npm
Additional context
No response
The text was updated successfully, but these errors were encountered: