Try compiling with Sublime Text today coffeescript
First installed the Coffeescript plug-in, and then the compiler more than one coffeescript, but try to compile but prompted an error, and then surf the Internet to find solutions without solution ... So I tried to change the next Sublimetext build command, and the result was successful.
error MessageAs follows:
/usr/Local/lib/node_modules/coffee-Script/lib/coffee-Script/cake.js:111throw New Error ("Cakefile not found in"+ (PROCESS.CWD ())); ^error:cakefile notFoundinch/home/bill/desktop atCakefiledirectory (/usr/Local/lib/node_modules/coffee-Script/lib/coffee-Script/cake.js:111: One) atCakefiledirectory (/usr/Local/lib/node_modules/coffee-Script/lib/coffee-Script/cake.js:109: -) atCakefiledirectory (/usr/Local/lib/node_modules/coffee-Script/lib/coffee-Script/cake.js:109: -) atCakefiledirectory (/usr/Local/lib/node_modules/coffee-Script/lib/coffee-Script/cake.js:109: -) atObject.exports.Run(/usr/Local/lib/node_modules/coffee-Script/lib/coffee-Script/cake.js:Wuyi: +) atObject.<anonymous> (/usr/Local/lib/node_modules/coffee-Script/bin/cake:7: -) atModule._compile (module.js:456: -) atObject.module._extensions. JS (module.js:474:Ten) atModule.load (module.js:356: +) atFunction.module._load (module.js:312: A) atFunction.Module.runMain (module.js:497:Ten) atStartup (node. JS:119: -) atnode. JS:929:3[Finishedinch 0.1S with ExitCode8]
Workaround:
Open the Coffeescript plugin's location (my is "/usr/share/sublime-text/data/packages/coffeescript") in the Coffeescript.sublime-build file, Modify the content to { "cmd": ["coffee", "$file"], "selector": "source.coffee" }
You can then compile the coffee file with sublime text.
Sublime Text compilation Coffeescript Error resolution