Skip to content
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 typescript peer dependency #107

Open
rtritto opened this issue Feb 11, 2023 · 0 comments
Open

Missing typescript peer dependency #107

rtritto opened this issue Feb 11, 2023 · 0 comments

Comments

@rtritto
Copy link

rtritto commented Feb 11, 2023

Summary

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant