-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
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
How to get more info about a failing build #3381
Comments
From the contents of the link in the error message:
I think we can improve the error message by outputting a preview of the file and provide a full path so it can be copy-pasted. |
Hey @viankakrisna I checked out the link as well. I am the third party library author in this case but am confused about what the actual issue is. It appears to be caused by trying to get assign like so:
But I don't get why that is not considered proper es5 syntax. So maybe more info about the underlying error message would be helpful because I could google why uglifyjs is failing for this case. Thanks! |
I agree that it's useful to show the full error before showing the formatted message. The code responsible for that is here https://github.com/facebookincubator/create-react-app/blob/master/packages/react-dev-utils/printBuildError.js#L17-L43 |
@viankakrisna you are right, const is es6 but is it the use of const that is failing? |
Yes. |
@gaearon is there a way we could implement what @viankakrisna suggested above
I think that would be very useful if it provided more info. Until that is resolved I don't think this should be closed. It would also help if #2108 were implemented. |
Hey there,
My CRA
yarn build
fails but doesn't give me much info:I was just wondering if there were some sort of flag I could add to see additional info about what the exact reason for failure is.
Thanks!
The text was updated successfully, but these errors were encountered: