Skip to content
This repository has been archived by the owner on Oct 21, 2022. It is now read-only.

"/usr/bin/env: node: No such file or directory" error building *atom-shell* branch with Debian-ish Node.js package installed #1931

Closed
kenny-evitt opened this issue Jun 27, 2015 · 2 comments

Comments

@kenny-evitt
Copy link
Contributor

This just came up in a thread in the discussion group.

This is a known Node.js 'issue' too. The Debian package is behind the Node.js releases because the relevant Debian maintainers are also maintaining other dependent packages that will break when Node.js is upgraded.

These instructions on installing Node.js on Debian or Ubuntu (or related) should probably be followed instead of installing Node.js via package manager.

@kenny-evitt
Copy link
Contributor Author

I just ran into this again; this worked for me on an Ubuntu 14.04 computer:

sudo apt-get install nodejs
sudo apt-get install npm
sudo apt-get install nodejs-legacy

The last package symlinks nodejs (which is what the node command is named in the first package) as node.

@kenny-evitt
Copy link
Contributor Author

Someone just reported this on Gitter with a slightly different error message:

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

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

No branches or pull requests

1 participant