I'm trying to run node.js tutorials from NodeSchool, I've run the following commands:
curl -sL https://deb.nodesource.com/setup | sudo bash -
sudo apt-get install nodejs
sudo apt-get install build-essential
sudo npm install -g javascripting
javascripting
(build-essential was already installed)
Now, after javascripting I get the following error message:
bash: /usr/local/bin/javascripting: No such file or directory
And when I do npm list -g
I get a list that starts with the following:
/usr/lib
├─┬ javascripting@1.12.0
Which leads me to believe javascripting is there, but for some reason the terminal is not looking for globally defined commands, how can I get javascripting to run from the terminal as a global command?