Skip to content
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

Throws with --babel flag set and no reporter specified #141

Closed
ben-eb opened this issue Jan 17, 2016 · 1 comment
Closed

Throws with --babel flag set and no reporter specified #141

ben-eb opened this issue Jan 17, 2016 · 1 comment

Comments

@ben-eb
Copy link

ben-eb commented Jan 17, 2016

$ nyc --babel ava src/__tests__/
internal/child_process.js:298
    throw errnoException(err, 'spawn');
    ^

Error: spawn EACCES
    at exports._errnoException (util.js:856:11)
    at ChildProcess.spawn (internal/child_process.js:298:11)
    at ChildProcess.spawn (/Users/beneb/projects/remark-comment-blocks/node_modules/spawn-wrap/index.js:138:18)
    at exports.spawn (child_process.js:362:9)
    at module.exports (/Users/beneb/projects/remark-comment-blocks/node_modules/foreground-child/index.js:33:15)
    at Object.<anonymous> (/Users/beneb/projects/remark-comment-blocks/node_modules/nyc/bin/nyc.js:144:5)
    at Module._compile (module.js:397:26)
    at Object.Module._extensions..js (module.js:404:10)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)

Whereas this works perfectly:

nyc --babel --reporter=text ava src/__tests__/

ref: avajs/ava#444 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant