Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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.

1 comment

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.

Comment

Log in or Sign up to comment
TAGS
Community showcase
Published in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

5,703 views 4 12
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you