You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am helping to debug a CI build which is failing with the following output:
error Command failed with exit code 1
error Command failed with exit code 1
It prints the error message twice. We can't tell which command failed. The command is missing from the error message. It would be nice if the error message included the command so that we could see what's happening and fix it.
Command
yarn run webpack:verify
What is the current behavior?
Yarn prints the error message
error Command failed with exit code 1
What is the expected behavior?
It would be nice to have completed information, e.g. (made up example):
error Command "/bin/rm /tmp/nosuchfile" failed with exit code 1
Or, even better, show any stdout/stderr from the command:
error Command "/bin/rm /tmp/nosuchfile" failed with exit code 1: "rm: /tmp/nosuchfile: No such file or directory"
Steps to Reproduce
Environment
Node Version: v8.16.2
Yarn v1 Version: 1.19.2
OS and version: Amazon Linux 2
The text was updated successfully, but these errors were encountered:
atsalolikhin-spokeo
changed the title
Error message "error Command failed with exit code 1" is missing information -- what command failed?
Error message "error Command failed with exit code 1" is missing vital information -- what command failed?
Oct 22, 2020
Bug description
I am helping to debug a CI build which is failing with the following output:
It prints the error message twice. We can't tell which command failed. The command is missing from the error message. It would be nice if the error message included the command so that we could see what's happening and fix it.
Command
What is the current behavior?
Yarn prints the error message
What is the expected behavior?
It would be nice to have completed information, e.g. (made up example):
Or, even better, show any stdout/stderr from the command:
Steps to Reproduce
Environment
v8.16.2
1.19.2
The text was updated successfully, but these errors were encountered: