I am try spacemacs. It can correctly recognise a coffee script and start coffeescript mode. However when I try to run coffee REPL, it shows this error:
How can I fix it?
Stack Exchange network consists of 181 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.Visit Stack Exchange
Emacs Stack Exchange is a question and answer site for those using, extending or developing Emacs. It only takes a minute to sign up.Sign up to join this community
You need first to install the coffee executable.
From here, you can install it with:
npm install -g coffeescript
brew install coffeescript
to install a coffee script runtime.
coffeeprogram installed and is it in your
PATH? If so, you might simply be hitting the old problem of env-vars (i.e. your Emacs did not inherit the PATH config that you set in your shell config, because it was not started from a shell)?