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
typescript is a peer dependency of svelte2tsx (dependency of svelte-navigator).
It's a transitive peer dependency and it should be added in peerDependencies of package.json of svelte-navigator.
Alternatives:
copy the used/needed code of svelte2tsx and remove that dependency
Steps to reproduce
yarn init -y
yarn set version canary
yarn add svelte svelte-navigator
output:
➤ YN0000: ┌ Resolution step➤ YN0002: │ svelte-navigator@npm:3.2.2 [b0bdf] doesn't provide typescript (pfb509), requested by svelte2tsx➤ YN0000: │ Some peer dependencies are incorrectly met; run yarn explain peer-requirements <hash> for details, where <hash> is the six-letter p-prefixed code➤ YN0000: └ Completed➤ YN0000: ┌ Fetch step➤ YN0000: └ Completed➤ YN0000: ┌ Link step➤ YN0000: └ Completed➤ YN0000: Done with warnings
The text was updated successfully, but these errors were encountered:
Summary
typescript
is a peer dependency ofsvelte2tsx
(dependency of svelte-navigator).It's a transitive peer dependency and it should be added in peerDependencies of package.json of
svelte-navigator
.Alternatives:
svelte2tsx
and remove that dependencySteps to reproduce
yarn init -y
yarn set version canary
yarn add svelte svelte-navigator
The text was updated successfully, but these errors were encountered: