-
-
Notifications
You must be signed in to change notification settings - Fork 359
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
nyc fails with "Unexpected token ILLEGAL" when exec
ing shell script
#34
Comments
CC: @isaacs |
@boennemann haven't forgotten about this issue, but have been absolutely swamped lately. The most likely source of this issue is probably going to be somewhere in: https://github.com/isaacs/spawn-wrap Thanks for the test case, will dig into this as soon as I pop a few things off my stack. |
@boennemann hope the semantic-release project is going well, I really liked hearing about the project at NodeConf Adventure. |
@bcoe Thanks for the update! I absolutely understand that things take their time 👍 Also thank you for the kind words 😊 Things are shaping up nicely and talking to you and the other npm folks directly helped a lot with it! |
@boennemann finally dug into this issue, see: By simply ignoring |
@boennemann could you create an up-to-date reproduction of this issue? @addaleax offered to help dig into the issue. Alternatively, if everything is working well now perhaps we can close this? |
@boennemann feel free to reopen if you bump into this again, or have a chance to dust off this old issue. |
As first reported via https://twitter.com/boennemann/status/619103847043203072
I'm trying to instrument the integration tests for https://github.com/semantic-release/semantic-release.
They are running a shell script to start the npm-registry-couchapp before tap/nixt tests are running against it. Everything works fine, but once I run them with nyc I get this error (multiple times):
Steps to reproduce:
You need couchdb installed. Sorry for the bloated test case, will try to reduce it if this doesn't get you anywhere.
The relevant script is here: https://github.com/semantic-release/semantic-release/blob/next/test/registry/start.sh
Which gets
exec
d here: https://github.com/semantic-release/semantic-release/blob/next/test/registry/index.js#L9The text was updated successfully, but these errors were encountered: