Singapore Flyer

Friday, March 10, 2017

/usr/bin/env: ‘node’: No such file or directory

I got this error when I tried to install Hubot

Error:

/usr/bin/env: ‘node’: No such file or directory

Fix:

ln -s /usr/bin/nodejs /usr/bin/node

root@mybot:/opt/hubot# ./bin/hubot
/usr/bin/env: ‘node’: No such file or directory
root@mybot:/opt/hubot# ln -s /usr/bin/nodejs /usr/bin/node
root@mybot:/opt/hubot# ./bin/hubot
Hubot>

No comments:

Post a Comment