-
-
Notifications
You must be signed in to change notification settings - Fork 360
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
Error with windows + nyc + execFileSync + bash + node #738
Comments
it's due to spawn-wrap.js |
Related: istanbuljs/spawn-wrap#70 |
I think we should reopen this issue until spawn-wrap solves the problem and updates the dependencies. |
This problem still continues to be reproduced today. |
@pangrr Will you please reopen this issue until it is repaired and then closed? |
Related: istanbuljs/spawn-wrap#76 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I am getting this error: $ nyc --reporter=html --reporter=text yarn run test /c/Program Files (x86)/Yarn/bin/yarn: /c/Users/XXX/.node-spawn-wrap-13208-21ee5d328e1d/node: C:\Program: bad interpreter: No such file or directory Could this be reopened please? Operating System: the operating system you observed the issue on. Environment Information: information about your project's environment |
Please use the template provided below, when reporting bugs:
Expected Behavior
No error.
Observed Behavior
nyc mocha
on source file withexecFileSync('bash', ['-c', 'node --version'])
results in error:bash: /c/Users/xxx/.node-spawn-wrap-42508-a62de97b29d7/node: C:\Program: bad interpreter: No such file or directory
No error in linux.
Bonus Points! Code (or Repository) that Reproduces Issue
https://github.com/pangrr/demo-nyc_exec_bash_node_error
Forensic Information
Operating System: the operating system you observed the issue on.
windows 7
Environment Information: information about your project's environment, see instructions below:
node 8.7.0
GNU bash, version 4.4.12(1)-release (x86_64-pc-msys)
nyc 11.3.0
mocha 4.0.1
sh -c 'node --version; npm --version; npm ls' > output.txt
The text was updated successfully, but these errors were encountered: