Issue with SourceTree complaining about node when using nvm Edited

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

Screen Shot 2017-05-25 at 16.18.25.png

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.

0 comments

Comment

Log in or Sign up to comment
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 30, 2018 in Sourcetree

Tip from the team: configuring Git or Mercurial in Sourcetree

Supported Platforms macOS Windows To make using Sourcetree as simple yet powerful as possible we embed (bundle) dependencies such as Git, Git LFS, and Mercurial. We strive to keep these...

420 views 0 1
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you