Closed ben-x9 closed 2 months ago
OK, problem was I set my preferences in Preferences > Settings - User
rather than Preferences > Package Settings > Better CoffeeScript > Settings - User
However, in Preferences > Package Settings > Better CoffeeScript > Settings - Default
the setting is "binDir": "/usr/bin"
... better change to /usr/local/bin
if that is the most common install location.
effective
Sublime Text 3. Installed via Package Control. Coffeescript installed via NPM to /usr/local/bin
Traceback (most recent call last): File "/Applications/Sublime Text.app/Contents/MacOS/sublimeplugin.py", line 549, in run return self.run(edit) File "CoffeeScript in /Users/Ben/Library/Application Support/Sublime Text 3/Installed Packages/Better CoffeeScript.sublime-package", line 186, in run File "CoffeeScript in /Users/Ben/Library/Application Support/Sublime Text 3/Installed Packages/Better CoffeeScript.sublime-package", line 43, in run File "CoffeeScript in /Users/Ben/Library/Application Support/Sublime Text 3/Installed Packages/Better CoffeeScript.sublime-package", line 74, in _run File "./subprocess.py", line 824, in init File "./subprocess.py", line 1448, in _execute_child FileNotFoundError: [Errno 2] No such file or directory: 'coffee'