c8 icon indicating copy to clipboard operation
c8 copied to clipboard

unhelpful error message

Open jimmywarting opened this issue 4 years ago • 1 comments

c8 --reporter json --reporter text ava "--colors" Uncaught exception in test.js SyntaxError: Unexpected token '.'


Error log: https://github.com/node-fetch/fetch-blob/pull/103/checks?check_run_id=3037830205 Version: output of node -v: v15 Platform: ubuntu


I'm not sure if it's c8 or something else but the error message is not that helpful, it dose not say where in the file there is a error... only that it exited with error code 1. annoying to debug...

jimmywarting avatar Jul 10 '21 23:07 jimmywarting

@jimmywarting would you be able to provide a minimal reproduction of this behavior?

c8 just wraps a command and runs it as a subprocess, so it's potentially an error that's bubbling from elsewhere.

bcoe avatar Dec 30 '21 04:12 bcoe