0

所以我最近为 sublimelinter 安装了一些 linter,到目前为止,除了 htmltidy 之外的所有工作。我按照以下方式使用终端(我正在运行 OSX)安装:

sudo npm install -g htmltidy

这适用于 CSSLint、JSHint 等,但不适用于 htmltidy。我检查了 usr/local/bin,结果发现 htmltidy 没有 .js 文件。我该如何解决这个问题?

4

1 回答 1

1

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 /

于 2015-04-12T18:11:08.800 回答