Hello,
I have installed node via nvm on my mac computer.
$ which node /Users/me/.nvm/versions/node/v7.10.0/bin/node
The node folder is available in $PATH and I can use it directly in the terminal
$ echo $PATH /Users/me/.nvm/versions/node/v7.10.0/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
Although, I have an error in SourceTree complaining about node not available every time I try to commit or switch branches.
env: node: No such file or directory
I'm not sure how I can fix this problem? It's quite annoying.
I use the latest version of SourceTree: 2.5.1
Thanks.
me too.
But I use nvs
Yarn and node both error when I commit , the pre-commit hook maybe a reason, but I don't know how to solve it.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.