Traceback (most recent call last):
File "/opt/sublime_text/sublime_plugin.py", line 556, in run_
return self.run(edit)
File "/home/subying/.config/sublime-text-3/Packages/Better CoffeeScript/CoffeeScript.py", line 186, in run
result = run("coffee", args=args, cwd=cwd)
File "/home/subying/.config/sublime-text-3/Packages/Better CoffeeScript/CoffeeScript.py", line 43, in run
res = _run(cmd, args=args, source=source, cwd=cwd, env=env)
File "/home/subying/.config/sublime-text-3/Packages/Better CoffeeScript/CoffeeScript.py", line 74, in _run
proc = Popen(command, env=env, cwd=cwd, stdout=PIPE, stderr=PIPE)
File "./subprocess.py", line 824, in __init__
File "./subprocess.py", line 1448, in _execute_child
FileNotFoundError: [Errno 2] No such file or directory: 'coffee'sublime-text
遇到了這樣的問題,後面通過搜索一番,發現設置裏面的 bindDir 跟系統環境中的不匹配,首先是要找到 coffee命令所在的目錄,能夠經過在終端輸入'whereis coffee'查看。sublime-text-3
我這裏的就是將"binDir": "/usr/bin" ,改爲 "binDir": "/usr/local/bin"。ip