-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Typescript 4.4.2 with yarn 3.x. Cannot find modules #45681
Comments
Looks like Yarn Plug'n'Play might have had to specially handle TS4.4. Check out yarnpkg/berry#3350. According to yarnpkg/berry#3372 (comment), you might be able to get around it by running yarn set version canary && yarn Can you give it a shot? |
Yeah! it really works! Thanks |
Sadly we have to rebuild the patch (#35206) for almost every minor TypeScript release |
Yarn released version 3.0.2 compatible with 4.4.x typescript :) yarn set version latest |
it seems to work on Mac but not on Linux (WSL) how does the patch rebuild work? It seems to be related to a resolution hash that is not the same on both platforms below is the diff in my yarn.lock when I I am not sure If it is related to this issue or yarn itself thank you |
Found this article that helped me: https://plainenglish.io/blog/getting-started-with-yarn-3-and-typescript-125e7b537e6c |
Bug Report
typescript cannot find all installed dependencies
🔎 Search Terms
yarn imports
🕗 Version & Regression Information
💻 Code
🙁 Actual behavior
Typescript v.4.4.x does not work with yarn version 3.x
🙂 Expected behavior
Typescript v.4.4.x finds all dependencies with yarn 3.x
The text was updated successfully, but these errors were encountered: