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

tar.gz install issue #7924

Closed
mykolapolonskyi opened this issue Jul 31, 2016 · 1 comment
Closed

tar.gz install issue #7924

mykolapolonskyi opened this issue Jul 31, 2016 · 1 comment
Labels
invalid Issues and PRs that are invalid. npm Issues and PRs related to the npm client dependency or the npm registry.

Comments

@mykolapolonskyi
Copy link

mykolapolonskyi commented Jul 31, 2016

After unpack of tar.gz binaries tried to call npm -g install to get dependencies of my package.json but got

/usr/bin/env: node: no such file or directory

And when I replace path inside npm-cli.js

!/usr/bin/env node

with path of downloaded node

!#//environment/nodes/node-v6.3.1-linux-x64/bin/node

all start work!

I'm not sure that I do right with reporting that issue(maybe its fixed already) - but I spent few hours to fix it(google was useless). Maybe will be useful to update explanation of tar.gz installation.

@ChALkeR
Copy link
Member

ChALkeR commented Jul 31, 2016

@GLHF, npm expects node to be present in your PATH. You should either:

  • manually add the path where you placed the node and npm binaries to your PATH,
  • extract them to some directory that is already in PATH,
  • or use something like nvm that does those things for you.

@ChALkeR ChALkeR closed this as completed Jul 31, 2016
@ChALkeR ChALkeR added the invalid Issues and PRs that are invalid. label Jul 31, 2016
@addaleax addaleax added the npm Issues and PRs related to the npm client dependency or the npm registry. label Jul 31, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid Issues and PRs that are invalid. npm Issues and PRs related to the npm client dependency or the npm registry.
Projects
None yet
Development

No branches or pull requests

3 participants