arboleya / coffee-toaster

Minimalist build system for CoffeeScript.
114 stars 23 forks source link

Errors when packaging = false #51

Closed macalinao closed 11 years ago

macalinao commented 11 years ago
Ians-MacBook-Pro:liblol simplyianm$ toaster -cd
path.existsSync is now called `fs.existsSync`.

/usr/local/lib/node_modules/coffee-toaster/node_modules/coffee-script/lib/coffee-script/coffee-script.js:51
      throw err;
            ^
Error: Parse error on line 3: Unexpected '{'
    at Object.parseError (/usr/local/lib/node_modules/coffee-toaster/node_modules/coffee-script/lib/coffee-script/parser.js:477:11)
    at Object.parse (/usr/local/lib/node_modules/coffee-toaster/node_modules/coffee-script/lib/coffee-script/parser.js:554:22)
    at Object.exports.compile.compile (/usr/local/lib/node_modules/coffee-toaster/node_modules/coffee-script/lib/coffee-script/coffee-script.js:43:20)
    at new Toast (/usr/local/lib/node_modules/coffee-toaster/lib/toaster.js:1:22230)
    at new f (/usr/local/lib/node_modules/coffee-toaster/lib/toaster.js:1:24498)
    at Object.exports.run (/usr/local/lib/node_modules/coffee-toaster/lib/toaster.js:1:23865)
    at Object.<anonymous> (/usr/local/lib/node_modules/coffee-toaster/bin/toaster:7:27)
    at Module._compile (module.js:449:26)
    at Object.Module._extensions..js (module.js:467:10)
    at Module.load (module.js:356:32)
arboleya commented 11 years ago

Please paste here the contents of your toaster.coffee file, apparently there's some syntax error.

macalinao commented 11 years ago

Turns out I mixed tabs and spaces :laughing: thanks!

arboleya commented 11 years ago

:)