Customisable Node Path
MethodGrab opened this issue · comments
If Node is in a non-standard path, eg /users/me/.nvm/current/bin
, the plugin will fail to find the Node binary even though it exists in the $PATH
:
JSFMT ==>
Couldn't find Node.js. Make sure it's in your $PATH by running `node -v` in your command-line.
To fix this, you could include an option in jsfmt.sublime-settings
that allows users to provide an explicit path to their Node binary (as some other Sublime packages that use Node do).
I have made a commit that adds the node-path
option in the settings file.
I will release it soon.
Meanwhile can you install this plugin manually and test it on your system ?
That works perfectly, thanks for the quick fix!
Thank you too for suggesting it.
Released ! Should be in package control in a few hours.