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

investigate issues with npx between v8 > v9 #595

Closed
darcyclarke opened this issue Oct 20, 2022 · 3 comments
Closed

investigate issues with npx between v8 > v9 #595

darcyclarke opened this issue Oct 20, 2022 · 3 comments
Assignees
Labels

Comments

@darcyclarke
Copy link
Contributor

darcyclarke commented Oct 20, 2022

  • anecdotally, seems like there's some issues with parsing args that has changed
@darcyclarke darcyclarke changed the title issues with npx between v8 > v9 investigate issues with npx between v8 > v9 Oct 20, 2022
@wraithgar
Copy link
Member

wraithgar commented Oct 24, 2022

Yep npm/cli#5064

npm/cli#5729

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

@lukekarrys
Copy link
Member

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

@lukekarrys
Copy link
Member

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.

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

No branches or pull requests

3 participants