-
Notifications
You must be signed in to change notification settings - Fork 1.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
[turborepo] program not found error after upgrading to v1.9.4 #4940
Comments
Getting the same error, monorepo script working until 1.9.3, and doesn't work inmodern versions. $ yarn turbo run build
$ project\node_modules\.bin\turbo run build
Error: program not found
error Command failed with exit code 1. On similar archi:
|
Getting similar issue
Yarn v1 Revert to v1.9.3 works |
Same issue on Win11 64bit after upgrading to 1.9.6. |
Hi @XDoubleU, thanks for opening an issue. Turns out this is an issue with how we detect package manager versions. We should have a fix up shortly! |
### Description Fixes #4940 by using `which` crate to resolve yarn binary. That way we use the correct extension, i.e. `yarn.cmd` on Windows. ### Testing Instructions Tested manually on Windows. Will add more integration tests --------- Co-authored-by: --global <Nicholas Yang>
@bartyx1993 @kefniark @XDoubleU Can you verify that |
Is working for me, thanks! |
1 similar comment
Is working for me, thanks! |
Turborepo failed to start. Turborepo detected that you are running: |
Did you resolve this issue? I just ran into the same error. node v18.17.1 |
What version of Turborepo are you using?
1.9.4
What package manager are you using / does the bug impact?
Yarn v1
What operating system are you using?
Windows
Describe the Bug
After upgrading to v1.9.4 I get a ‘program not found’ error when trying to run a script. I managed to pinpoint this error to canary v8.
Expected Behavior
I expect my scripts to run as in v1.9.3
To Reproduce
In below repo after running ‘yarn install’, run ‘yarn add -W turbo@1.9.4’ and run ‘yarn test’.
Reproduction Repo
https://github.com/XDoubleU/check-in
The text was updated successfully, but these errors were encountered: