statusboard icon indicating copy to clipboard operation
statusboard copied to clipboard

investigate issues with `npx` between v8 > v9

Open darcyclarke opened this issue 3 years ago • 1 comments

  • anecdotally, seems like there's some issues with parsing args that has changed

darcyclarke avatar Oct 20 '22 16:10 darcyclarke

Yep https://github.com/npm/cli/pull/5064

https://github.com/npm/cli/issues/5729

If I run npm env echo Hello \$PATH what runs is "env echo Hello '$PATH'"

wraithgar avatar Oct 24 '22 16:10 wraithgar

I was also seeing a difference between 8.19.2 and 9.0.0. I haven't investigated that yet but I will.

lukekarrys avatar Oct 27 '22 01:10 lukekarrys

I investigated and it was my error. I was using npm bin and reading the output of the command without checking the exit code, so it was producing unexpected results. 🤦🏼

I think this issue was created after I found the bug while talking to @darcyclarke. Since the other issue is being tracked in the CLI repo, I'm going to close this one.

lukekarrys avatar Oct 27 '22 20:10 lukekarrys