Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jcollum-hcg opened this issue Jan 7, 2014 · 1 comment
Open

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

jcollum-hcg opened this issue Jan 7, 2014 · 1 comment

Comments

@jcollum-hcg
Copy link

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

@MethodGrab
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants