-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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] Task failures not detected #5298
Comments
I'm pretty sure you're running into npm/cli#6399, I had tracked this down in #5098 (comment) |
If anyone arrives here due to the same issue, for me at least it was because the version of npm that ran the command was different that the npm that was running from inside the package scripts. For example:
Notice that the location and versions of npm are different. Once I uninstalled all of node, npm and nvm, then re-installed just npm it worked as expected.
|
What version of Turborepo are you using?
1.10.3
What package manager are you using / does the bug impact?
npm
What operating system are you using?
Mac
Describe the Bug
I replaced the api test case with
exit 1
but runningnpm run test
still shows all the tasks as successfulExpected Behavior
turbo should report 2 successful, 1 failure,
To Reproduce
using nodejs version: 20.2
clone https://github.com/colbysadams/kitchen-sink-test
Reproduction Repo
https://github.com/colbysadams/kitchen-sink-test
The text was updated successfully, but these errors were encountered: