-
Notifications
You must be signed in to change notification settings - Fork 20
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
Cannot install deep peer dependencies #251
Comments
why would you expect |
Because yarn says about unmet peer dependencies if they are not installed.
пн, 23 сент. 2024 г., 21:12 Jordan Harband ***@***.***>:
… why would you expect @types/react to be installed?
***@***.******@***.***/package.json
lists @typespec/compiler as the only peer dep.
—
Reply to this email directly, view it on GitHub
<#251 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABCOWGNAAHJPBCLYUIUMKWLZYA4WZAVCNFSM6AAAAABOVLDPLCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRYG42TAOJSGM>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Look at ***@***.***/react-components` peer dependencies.
вт, 24 сент. 2024 г., 00:55 Павел Майоров ***@***.***>:
… Because yarn says about unmet peer dependencies if they are not installed.
пн, 23 сент. 2024 г., 21:12 Jordan Harband ***@***.***>:
> why would you expect @types/react to be installed?
> ***@***.******@***.***/package.json
> lists @typespec/compiler as the only peer dep.
>
> —
> Reply to this email directly, view it on GitHub
> <#251 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ABCOWGNAAHJPBCLYUIUMKWLZYA4WZAVCNFSM6AAAAABOVLDPLCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRYG42TAOJSGM>
> .
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
>
|
Then that's probably yarn being broken, as it often is. If you're using PnP, try disabling that. |
That's not yarn being broken, that's you forgot about transitive
dependencies
вт, 24 сент. 2024 г., 01:08 Jordan Harband ***@***.***>:
… Then that's probably yarn being broken, as it often is. If you're using
PnP, try disabling that.
—
Reply to this email directly, view it on GitHub
<#251 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABCOWGN75DQKA2WM33S3WS3ZYBYKRAVCNFSM6AAAAABOVLDPLCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRZGI3DSOJXHE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
DT packages should only be dev deps ever, and this tool isn’t intended to install transitive peer deps afaik. It’s each package’s responsibility to explicitly list all the peer deps its dependencies, and not let them be implicit. |
MCVE:
Expected result
@types/react
package is installedActual result
Only
@typespec/html-program-viewer
and@typespec/compiler
are installedThe text was updated successfully, but these errors were encountered: