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

/usr/bin/env: node: No such file or directory #67

Closed
hydrocat opened this issue Oct 12, 2016 · 2 comments
Closed

/usr/bin/env: node: No such file or directory #67

hydrocat opened this issue Oct 12, 2016 · 2 comments

Comments

@hydrocat
Copy link

after following the website's instructions and doing:
$ sudo npm install -g lispyscript

/usr/local/bin/lispy -> /usr/local/lib/node_modules/lispyscript/bin/lispy.js
lispyscript@1.0.1 /usr/local/lib/node_modules/lispyscript
├── node-getopt@0.2.3
├── source-map@0.5.6
└── watch@1.0.1 (minimist@1.2.0, exec-sh@0.2.0)

and then
$ lispy
/usr/bin/env: node: No such file or directory

@catb0t
Copy link

catb0t commented Oct 12, 2016

what does which node say? is this Linux, or Mac OS, or something else?

@hydrocat
Copy link
Author

Fixed !
Turned out that $ which node returned nothing, also, $ node wasn't found. So, I linked the executable nodejs to node with:
$ sudo ln /usr/bin/nodejs /usr/bin/node
and then, it worked 👍

By the way, this was on a chrooted debian running inside Chrome OS

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

No branches or pull requests

2 participants