The npm community forum has been discontinued.
To discuss usage of npm, visit the GitHub Support Community.
npx seems to swallow Node.js stack traces
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.
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).
$ npm --versions 6.2.0 <!-- paste output here --> $ node -p process.platform linux <!-- paste output here -->