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
YN0002: │ @vue/apollo-composable@npm:4.0.0-beta.8 [dc3fc] doesn't provide typescript (p70fa5), requested by ts-essentials
Expected behavior
No warnings.
Versions
@vue/apollo-composable: 4.0.0-beta.8
Additional context
This can be resolved by adding typescript as (optional) peer dependency through the package.json of this package.
Also, the warning can be silenced locally by adding the following to a local .yarnrc.yml file:
Describe the bug
When installing this project as dependency through Yarn (v2+), a warning is raised about a missing peer dependency for
typescript
.See also https://yarnpkg.com/advanced/error-codes#yn0002---missing_peer_dependency (and https://dev.to/arcanis/implicit-transitive-peer-dependencies-ed0).
To Reproduce
Steps to reproduce the behavior:
yarn set version berry
yarn add @vue/apollo-composable
The following message appears;
Expected behavior
No warnings.
Versions
@vue/apollo-composable: 4.0.0-beta.8
Additional context
This can be resolved by adding
typescript
as (optional) peer dependency through thepackage.json
of this package.Also, the warning can be silenced locally by adding the following to a local
.yarnrc.yml
file:The text was updated successfully, but these errors were encountered: