-
Notifications
You must be signed in to change notification settings - Fork 239
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] Unmet peer dependencies on TypeScript for Yarn 3 project #2134
Comments
typescript is a dev dependency only it is not a peer dependency, we don't need it to execute only to compile / generate the SDK code. This seems like an issue with yarn and not our dependencies. Additionally, we have not tested upgrading to TS 5.x, our dev dependency is currently 4.9.5. |
I've raised this issue on ts-utils nevware21/ts-utils#204 And now, also submitted PR's to remove the peer dependencies, so one advantage of using the range for these dependencies is once they are fixed this issue ( should ) go away - I'll push to make this happen sooner rather than later. |
Thanks for the quick turnaround. I can confirm that all the warnings have gone after re-installing my |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Description/Screenshot
When updating from version
2.8.11
to3.0.2
I started getting a bunch of unmet peer dependency warnings ontypescript
in my Yarn 3 project, despite having a version oftypescript
installed in the project.I believe that
npm
and earlier versions ofyarn
are more forgiving with peer dependencies based on this issue yarnpkg/yarn#5347.Steps to Reproduce
yarn init -2
, and installtypescript@5.1.6
as a dev dependency and@microsoft/applicationinsights-web@3.0.2
as a regular dependency.Expected behavior
Installing
@microsoft/applicationinsights-web
using yarn 3 does not generate peer dependency warnings.The text was updated successfully, but these errors were encountered: