I'm following the zappa
guide here: http://zappajs.github.io/zappajs/docs/crashcourse, but I can't seem to get coffee
to work - on Mac OSX 10.9 - as demonstrated into the guide. If I type:
coffee cuppa.coffee
I get:
-bash: coffee: command not found
I installed zappa
with the following command:
sudo npm install zappa -g
Now, it's likely this is a paths issue, but I can not determine where npm
installed coffee
to. Other SO questions suggest it's stored under /usr/local/share/npm/coffee
but it's not. I can find the npm
directory under /usr/local/bin/npm
but coffee
isn't there.
Any suggestions to setting it up so it works correctly?
You'll likely want to install CoffeeScript by itself:
This will give you the
coffee
command.