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

[p50] /usr/bin/env: ‘node’: No such file or directory #294

Closed
130s opened this issue Jun 16, 2018 · 1 comment
Closed

[p50] /usr/bin/env: ‘node’: No such file or directory #294

130s opened this issue Jun 16, 2018 · 1 comment

Comments

@130s
Copy link
Collaborator

130s commented Jun 16, 2018

sudo apt install npm
npm cache clean
npm upgrade
npm search dockerlint
sudo npm install -g dockerlint
dockerlint indigo_installed/Dockerfile
/usr/bin/env: ‘node’: No such file or directory

$ apt-cache policy npm
npm:
  Installed: 3.5.2-0ubuntu4
  Candidate: 3.5.2-0ubuntu4
@130s 130s changed the title /usr/bin/env: ‘node’: No such file or directory [p50] /usr/bin/env: ‘node’: No such file or directory Jun 16, 2018
@130s
Copy link
Collaborator Author

130s commented Jun 16, 2018

Solved by https://stackoverflow.com/a/30281097/577001

sudo ln -s "$(which nodejs)" /usr/local/bin/node

@130s 130s closed this as completed Jun 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant