-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
[Bug?]: yarn with node-linker does not correctly install nested dependencies #6442
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
Comments
We discovered this because this is causing one of our tests to break. We have an integration test with the following package.json: It is intended to allow us to test community plugins to ensure that we don't get unexpected type errors. But this bug is causing its own unexpected type error -- causing our tests to fail |
The failure is caused by yarnpkg/berry#6442
Indeed, I can repro, and I found where it comes from. For context, if you write the TS-compatible package The code checks whether an Ref: berry/packages/yarnpkg-core/sources/Configuration.ts Lines 1958 to 1974 in 13d5b30
I'll make a fix later today. |
Has this been fixed? |
when there are implicit peer dep types closes yarnpkg#6442
when there are implicit peer dep types closes yarnpkg#6442
when there are implicit peer dep types closes yarnpkg#6442
Self-service
Describe the bug
Expected:
@stylistic/eslint-plugin
depends on@types/[email protected]
node_modules/@stylistic/eslint-plugin/node_modules/@types/eslint
containing@types/[email protected]
Actual:
To reproduce
package.json
.yarnrc.yml
Environment
Additional context
Looking at the lockfile I can see:
and
So yarn knows about the dependency and lists it as expected -- however it's just not installing it.
yarn.lock
The text was updated successfully, but these errors were encountered: