Reputation: 1104
I have node and npm on my Centos 7 instance. I did a
sudo npm -g install coffee
And it reported no errors. But I don't have a coffee executable, which was kind of the point.
%: type -a coffee
coffee not found
%: type -a Coffee
Coffee not found
It seems like I should need something for NPM on my $PATH
. If I knew what to add, I would try that.
I'm not sure how to debug this, sorry. I've tried this:
%: npm bin
/home/jonea/node_modules/.bin
Interestingly, that's not a directory that exists:
%: ls -la ~/node_modules
total 12
drwxr-xr-x 3 jonea compgen 4096 Jun 6 10:34 .
drwxr-xr-x 33 jonea compgen 4096 Jun 7 09:33 ..
drwxr-xr-x 4 jonea compgen 4096 Jun 6 10:34 coffee
And, no, there are no executables in that coffee directory.
If anyone has ideas about other debugging I can do, I'll append the results here.
Upvotes: 6
Views: 4413
Reputation: 5704
The package you installed has nothing to do with CoffeeScript check this npm coffee
You need different package
npm install -g coffeescript
Upvotes: 10