question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to get more info about a failing build

See original GitHub issue

Hey there,

My CRA yarn build fails but doesn’t give me much info:

yarn build v1.0.1
warning ../package.json: No license field
warning ../../package.json: No license field
$ react-scripts build
Creating an optimized production build...
Failed to compile.

Failed to minify the code from this file:

        ./node_modules/open-vector-editor/node_modules/ve-sequence-utils/tidyUpSequenceData.js:14

Read more here: http://bit.ly/2tRViJ9

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!

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
gaearoncommented, Oct 31, 2017

Yes.

0reactions
tnrichcommented, Oct 31, 2017

@gaearon is there a way we could implement what @viankakrisna suggested above

I agree that it’s useful to show the full error before showing the formatted message.

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 https://github.com/facebookincubator/create-react-app/issues/2108 were implemented.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to find the reason for a failed Build without any error or ...
If your solution contains more than one project, try building each project one at a time. (You may even want to try opening...
Read more >
Failed Builds - Visual Studio App Center - Microsoft Learn
If you don't find relevant error messages, then the next step is to download the build logs, which you can do from the...
Read more >
Build Failure Analyzer | Jenkins plugin
This plugin analyzes the causes of failed builds and presents the causes on the build page. It does this by using a knowledge...
Read more >
TeamCity On-Premises - Build Failure Conditions - JetBrains
You can instruct TeamCity to mark a build as failed if some of its metrics (for example, code coverage or artifacts size) have...
Read more >
Visual Studio 2019 Build Failed But No Errors are Displayed ...
Go to the Error list window and select 'Build Only' to filter; Go to Tools > Options > Projects and Solutions > Build...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found