-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Failed to update turbo from 2.2.3 to 2.3.3 using @turbo/codemod with Yarn 4.5.3 #9596
Comments
I tried looking everywhere for a issue that was already open, but couldn't find, I apologize in advance if there is already an issue open for this matter 🙏✨ |
I think this is the same issue: #8567 |
Are you seeing issues with the codemod or with create-turbo? The logs provided show create-turbo, but the title refers to codemods. |
codemods, the logs provided was to show the full process of recreating the issue, but the problem is when running |
Can you provide the output of running |
On this specific project where I initially had those issues we don't use corepack, the group decided it would be best to have Yarn locally installed on the repository so everyone would use the same version and not have issues because of different versions, that's why on the test repository I also used Yarn locally But here's the output: Microsoft Windows [Version 10.0.19045.5487]
(c) Microsoft Corporation. All rights reserved.
D:\repos\Bugs\TurboCodemodYarnFour>yarnpkg --version
4.5.3
D:\repos\Bugs\TurboCodemodYarnFour> |
Verify canary release
Link to code that reproduces this issue
https://github.com/KuryKat/TurboCodemodYarnFour
Which canary version will you have in your reproduction?
2.3.4-canary.2
Enviroment information
Expected behavior
I expected Turbo to update itself to the latest release, without errors.
Actual behavior
Trying to update using Yarn 4+ causes an error because it tries to use a flag (
-W
) that doesn't seem to exist in Yarn 4+To Reproduce
Additional context
Below is the output from the console commands:
The text was updated successfully, but these errors were encountered: