Jonathan H.
Jonathan H.

Reputation: 949

htmltidy linter does not have a file in directory usr/local/bin

So I recently installed a few linters for sublimelinter and so far all work except htmltidy. I installed as directed using terminal (I'm running OSX) in the following way:

sudo npm install -g htmltidy

This worked for CSSLint, JSHint etc. but not htmltidy. i checked usr/local/bin and it turns out that there is no .js file for htmltidy. How could I fix this?

Upvotes: 0

Views: 69

Answers (1)

Jeff Sloyer
Jeff Sloyer

Reputation: 4964

Run whereis htmltidy. If that does not return anything close out of terminal and open it back up. The installer might of added something to your path but didn't resource it.

If that doesn't work run sudo find -name htmltidy /

Upvotes: 1

Related Questions