sublime-js2coffee icon indicating copy to clipboard operation
sublime-js2coffee copied to clipboard

ubuntu: /bin/sh: 1: js2coffee: not found

Open jcollum-hcg opened this issue 11 years ago • 1 comments

$ 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.

jcollum-hcg avatar Jan 07 '14 00:01 jcollum-hcg

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.

MethodGrab avatar Jul 24 '14 08:07 MethodGrab