-
Notifications
You must be signed in to change notification settings - Fork 29.7k
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
NPM and NPX require NODE in PATH #24110
Comments
For what I understand, this have some issues. Correct me if im wrong please. Supose that I have installed the binaries at And, if I have This is working on |
No you're correct. Your expected behavior is the way it used to work, but as I referenced the npm team asked us to change the behavior two and half years ago. cc @nodejs/npm |
couldn't you |
@devsnek Yes, but then the process ID is |
I don't think we're likely to override the request of the npm folks on this one so I think the place to take this up is https://npm.community/. I'm going to close this, but feel free to comment (or re-open if GitHub permits) if there's a reason it should stay open. |
Any UNIX version of the Node Binaries like https://nodejs.org/dist/v11.1.0/node-v11.1.0-linux-x64.tar.xz require to have Node inside PATH.
How to reproduce
Ubuntu-18.04-amd64-server
./bin/npm --version
or./bin/npx --version
What is expected
I expect that runing the above commands work without having Node in the path
The text was updated successfully, but these errors were encountered: