Sublime Forum

Sublime Text couldn't find nodejs

#1

Hi I recently upgraded to the latest ST. Now when I try to use a linter formatter I get an error message: Couldn’t find Node.js. Make sure it’s in your $PATH by running node -v in your command-line.

The PATH is already set. node -v lists: 6.6.0

Any solutions?

0 Likes

#2

If you are on OSX, install https://packagecontrol.io/packages/Fix%20Mac%20Path and restart.

If ST is not started from your shell, it doesn’t inherit its environment variables (like $PATH).

0 Likes

#3

Look at the answer to this question here. I was helped with this problem.:wink:

1 Like