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

[Bug]: Missing jest and typescript as peerDependencies #1441

Closed
bulldog98 opened this issue Apr 30, 2022 · 2 comments · Fixed by #1442
Closed

[Bug]: Missing jest and typescript as peerDependencies #1441

bulldog98 opened this issue Apr 30, 2022 · 2 comments · Fixed by #1442
Labels
🐛 Bug Confirmed Bug is confirmed

Comments

@bulldog98
Copy link
Contributor

Version

11.1.1, 11.1.2

Steps to reproduce

  1. Clone my repo at https://github.com/bulldog98/jest-preset-angular-missing-peerdeps-reproduction
  2. yarn install
  3. Observe the warning of yarn about

Expected behavior

I expected to see no warning about missing typescript and jest

Actual behavior

➤ YN0000: ┌ Resolution step
➤ YN0002: │ jest-preset-angular@npm:11.1.2 [a1418] doesn't provide jest (p6947d), requested by ts-jest
➤ YN0002: │ jest-preset-angular@npm:11.1.2 [a1418] doesn't provide typescript (pb8907), requested by ts-jest
➤ YN0000: │ Some peer dependencies are incorrectly met; run yarn explain peer-requirements for details, where is the six-letter p-prefixed code
➤ YN0000: └ Completed
➤ YN0000: ┌ Fetch step
➤ YN0000: └ Completed in 0s 215ms
➤ YN0000: ┌ Link step
➤ YN0000: └ Completed in 0s 354ms
➤ YN0000: Done with warnings in 0s 929ms

Additional context

No response

Environment

yarn 3.2.0
@bulldog98
Copy link
Contributor Author

I'd be willing to provide a PR to fix this issue

@ahnpnl
Copy link
Collaborator

ahnpnl commented Apr 30, 2022

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug Confirmed Bug is confirmed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants