出于某种原因,SublimeLinter3或SublimeLinter3 JSHint linter插件似乎无法解析PATH环境变量,因此无法运行jshint:
SublimeLinter: Could not parse shell PATH output:
<empty>
error: SublimeLinter could not determine your shell PATH. It is unlikely that any linters will work.
Please see the troubleshooting guide for info on how to debug PATH problems.
SublimeLinter: WARNING: jshint deactivated, cannot locate 'jshint'
Can't connect
Unable to fetch update url contents
Run Code Online (Sandbox Code Playgroud)
然而,jshint二进制文件在PATH:
$ which jshint
/home/path/to/bin/jshint
Run Code Online (Sandbox Code Playgroud)
问题只发生在Ubuntu上.在OS X上完美运行.我通过官方文档搜索无济于事.
使用,bash如果有任何后果.