sublime-js2coffee
sublime-js2coffee copied to clipboard
ubuntu: /bin/sh: 1: js2coffee: not found
$ which js2coffee /home/dev/.nvm/v0.10.23/bin/js2coffee
When I run js2coffee in sublime it tells me the command is not found. Restarted Sublime, didn't help. This is in Sublime 2.
I get this as well because I'm also using NVM.
As a workaround, try changing line 34 of JS2Coffee.py
(https://github.com/nibblebot/sublime-js2coffee/blob/master/JS2Coffee.py#L34) from 'js2coffee'
to '/home/dev/.nvm/v0.10.23/bin/js2coffee'
.
This won't be a permanent solution, any updates to the plugin will overwrite the change.