-
-
Notifications
You must be signed in to change notification settings - Fork 27.1k
Closed
Labels
Description
Only the first error of an erroneous build is output to the console leaving the developer without all of the relevant details required to troubleshoot. Additional errors are intentionally truncated here:
create-react-app/packages/react-scripts/scripts/build.js
Lines 191 to 195 in a4fa63f
// Only keep the first error. Others are often indicative | |
// of the same problem, but confuse the reader with noise. | |
if (messages.errors.length > 1) { | |
messages.errors.length = 1; | |
} |
Second and subsequent errors are most certainly not "noise". They provide vital insight in to the cause of problems and save developers from chasing their tails trying to troubleshoot failures with limited detail.
PR incoming.