SublimeText / CoffeeScript

Syntax highlighting and checking, commands, shortcuts, snippets, watched compilation and more.
440 stars 64 forks source link

Won't compile on OS X (mostly resolved) #181

Closed ben-x9 closed 2 months ago

ben-x9 commented 10 years ago

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'

ben-x9 commented 10 years 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.

think2011 commented 10 years ago

effective