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.

nyc generates no output on TravisCI

See original GitHub issue

Link to bug demonstration repository.

Expected Behavior

image

Observed Behavior

image

.travis.yml runs after_success: nyc npm test && nyc report --reporter=text-lcov | coveralls which consistently fails as shown above.

I think have inconsistently seen a similar issue in my local environment, but haven’t been able to reproduce it consistently.

Forensic Information

Ubuntu 14.04.5 LTS, Mac OS X 10.13.3, Windows Node 8.15.0, 10.15.1, 11.10.0, nyc 13.3.0

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:16 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
coreyfarrellcommented, Feb 16, 2019

Could you try setting the ESM_DISABLE_CACHE environmental variable noted in https://github.com/standard-things/esm? Maybe try cross-env ESM_DISABLE_CACHE=1 nyc --cache=false npm test? Just to try ruling out issues caused by caching.

0reactions
chrisvenesscommented, May 16, 2019

I think this problem is unchanged.

It is less urgent for me as I found the workaround (above) of running nyc npm test twice.

I still have similar problems in my local development environment, and sometimes don’t seem to be able to generate coverage at all.

Read more comments on GitHub >

github_iconTop Results From Across the Web

nyc report is not uploaded to Codecov in TravisCI build
When I run the npm run codecov --disable=gcov it generates the reports and I can see the results. But in my TravisCI build,...
Read more >
Common Build Problems - Travis CI Docs
Build times out because no output was received #. When a long running command or compile step regularly takes longer than 10 minutes...
Read more >
Travis CI: "You Have Too Many Tests LOLZ!" - randyzwitch.com
No output has been received in the last 10m0s, this potentially indicates a stalled build or something wrong with the build itself. Stalled ......
Read more >
Empirical Study of Restarted and Flaky Builds on Travis CI
produce a set of reports (e.g., the output of linters and tests). If the ... Second, the Travis CI API does not support...
Read more >
React App Build and Release — Travis CI and Github - Medium
Any software development starts with source code management (SCM) and a version control system (VCS). In my case, I used git for VCS....
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