-
-
Notifications
You must be signed in to change notification settings - Fork 384
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
Missing @lezer/common
transitive peer dependency of codemirror
#1479
Comments
@lezer/common
transitive peer dependency@lezer/common
transitive peer dependency of codemirror
No, it's a regular dependency. And since Yarn making up new rules, or whatever is going on here, is not something I'm willing to concern myself with. I recommend using npm, which is a lot less broken at this point. |
@marijnh this missing dependency issue isn't related only with yarn. You can see logs also with npm and pnpm. I used yarn to get fast reproduction (detailed logs with commands instead of simple logs). package.json of {
"name": "@codemirror/autocomplete",
"version": "6.18.3",
"peerDependencies": {
"@lezer/common": "^1.0.0"
},
} Simply add {
"name": "codemirror",
"version": "6.0.1",
"dependencies": {
+ "@lezer/common": "^1.2.3"
},
} If you dodn't know about transitive peer dependencies, this is an aricle: Implicit Transitive Peer Dependencies |
It looks like, at some point, I added a |
Yes, removing |
@marijnh please can you do a new release for the |
Sure. I've tagged 6.18.4 |
Describe the issue
@lezer/common
is a peer depedency of@codemirror/autocomplete
.@codemirror/autocomplete
is a dependency ofcodemirror
.codemirror
must also include@lezer/common
dependency.Reproduction:
yarn init -y
yarn set version berry
yarn add codemirror
yarn explain peer-requirements
and see logsp9f5f8 → ✘ codemirror@npm:6.0.1 doesn't provide @lezer/common to @codemirror/autocomplete@npm:6.12.0 [53c64]
yarn explain peer-requirements p9f5f8
and see logsWorkaround:
Browser and platform
No response
Reproduction link
No response
The text was updated successfully, but these errors were encountered: