I've been plonking around on mac-emacs, and I've M-x install-package-d coffee-mode. I decided to try out the coffee-compile-file command, but when I ran it, it failed, complaining that it couldn't find the coffee command.
So, I open up terminal, on ZSH and Bash. coffee and node run fine on both. So, split my emacs screen, plink out M-x term, let bash load, and type coffee:
bash-3.2$ coffee
bash: coffee: command not found
Odd. I tried the same for node and npm.
bash-3.2$ node
bash: node: command not found
bash-3.2$ npm
bash: npm: command not found
My question is, why does this happen only on M-x term, and how can I fix it.
Aucun commentaire:
Enregistrer un commentaire