npx seems to swallow Node.js stack traces


(Shahar Or) #1

What I Wanted to Do

Have a stack trace printed to me when an exception occurs.

What Happened Instead

It wasn’t printed. Got only a single line error.

Reproduction Steps

I dunno. Launch something with npx that crashes. See no stack trace. I didn’t make a reproduction. And then for comparison, run it without npx (directly with node).


Platform Info

$ npm --versions
<!-- paste output here -->
$ node -p process.platform
<!-- paste output here -->

(system) #2

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.