-
-
Notifications
You must be signed in to change notification settings - Fork 362
nyc@14 fails with error: Cannot read property 'children' of undefined #1067
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
Comments
It looks like this is happening because nyc is run from inside nyc. Your I'm going to leave this ticket open as it is something we need to investigate / fix but my advice is to implement the work-around I've mentioned to avoid running nyc inside nyc. CC @isaacs |
Thanks @coreyfarrell fixed in clementallen/smithers#94 |
Link to bug demonstration repository
https://github.com/clementallen/smithers/tree/greenkeeper/nyc-14.0.0
MR with failing travis build: clementallen/smithers#93
Failing build log: https://travis-ci.org/clementallen/smithers/jobs/520704518
Expected Behavior
Coverage should run with no errors
Observed Behavior
The following error occurs:
Troubleshooting steps
cache: false
in my nyc configEnvironment Information
The text was updated successfully, but these errors were encountered: