sustained / CoffeeScript-Sublime-Plugin

Syntax highlighting and checking, commands, shortcuts, snippets, compilation and more.
MIT License
290 stars 71 forks source link

Trouble Compiling #49

Closed rob-gordon closed 8 years ago

rob-gordon commented 11 years ago

I get this error when trying to Build. I'm not sure if building is equivalent to compiling for this plug-in. Does anyone have any suggestions?

/usr/local/lib/node_modules/coffee-script/lib/coffee-script/cake.js:111
throw new Error("Cakefile not found in " + (process.cwd()));
      ^
Error: Cakefile not found in /Users/robgordon/Music/Max/skewDrum
at cakefileDirectory (/usr/local/lib/node_modules/coffee-script/lib/coffee-script/cake.js:111:11)
at cakefileDirectory (/usr/local/lib/node_modules/coffee-script/lib/coffee-script/cake.js:109:14)
at cakefileDirectory (/usr/local/lib/node_modules/coffee-script/lib/coffee-script/cake.js:109:14)
at cakefileDirectory (/usr/local/lib/node_modules/coffee-script/lib/coffee-script/cake.js:109:14)
at cakefileDirectory (/usr/local/lib/node_modules/coffee-script/lib/coffee-script/cake.js:109:14)
at cakefileDirectory (/usr/local/lib/node_modules/coffee-script/lib/coffee-script/cake.js:109:14)
at Object.exports.run (/usr/local/lib/node_modules/coffee-script/lib/coffee-script/cake.js:51:19)
at Object.<anonymous> (/usr/local/lib/node_modules/coffee-script/bin/cake:7:38)
at Module._compile (module.js:449:26)
at Object.Module._extensions..js (module.js:467:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.runMain (module.js:492:10)
at process.startup.processNextTick.process._tickCallback (node.js:244:9)
[Finished in 0.2s with exit code 1]
nachocab commented 11 years ago

I get this too, so I just changed the file CoffeeScript.sublime-build to

{
    "cmd": ["coffee", "-c", "$file"],
    "selector" : "source.coffee",
    "path" : "/usr/local/bin"
}
transfluxus commented 9 years ago

where can I find this file on osx?

grittymindy commented 9 years ago

@nachocab it works.