craco icon indicating copy to clipboard operation
craco copied to clipboard

craco always returning exit code 0

Open fxsalazar opened this issue 3 years ago • 2 comments

When running npx craco build with a build error, it is always returning exit code 0. If I change it to npx react-scripts build it correctly gives me the exit error code 1.

Tested on my local machine and discovered on a CircleCI run.

Am I the only one bothered by this?

fxsalazar avatar Dec 30 '21 15:12 fxsalazar

@fxsalazar Could you provide your CRA version and any further info?

luffy84217 avatar Dec 31 '21 11:12 luffy84217

react-scripts v4.0.3
craco v6.4.2

As any other info, I can say that my specific build error was with a missing module in the lock file, but I don't think it's relevant for this issue.

fxsalazar avatar Dec 31 '21 12:12 fxsalazar

Cannot replicate with details provided

stevenewald avatar Aug 24 '22 02:08 stevenewald