adam@ahp:~/Downloads/software/vimium$ sudo cake build
/home/adam/Downloads/software/vimium/node_modules/coffeescript/lib/coffeescript/optparse.js:147
shortFlag = shortFlag != null ? shortFlag.match(SHORT_FLAG)[1] : void 0;
^
TypeError: Cannot read property '1' of null
at buildRule (/home/adam/Downloads/software/vimium/node_modules/coffeescript/lib/coffeescript/optparse.js:147:64)
at /home/adam/Downloads/software/vimium/node_modules/coffeescript/lib/coffeescript/optparse.js:119:22
at buildRules (/home/adam/Downloads/software/vimium/node_modules/coffeescript/lib/coffeescript/optparse.js:122:7)
at new OptionParser (/home/adam/Downloads/software/vimium/node_modules/coffeescript/lib/coffeescript/optparse.js:27:20)
at Object.exports.run (/home/adam/Downloads/software/vimium/node_modules/coffeescript/lib/coffeescript/cake.js:73:14)
at Object.
at Module._compile (module.js:624:30)
at Object.Module._extensions..js (module.js:635:10)
at Module.load (module.js:545:32)
at tryModuleLoad (module.js:508:12)
at Function.Module._load (module.js:500:3)
at Function.Module.runMain (module.js:665:10)
at startup (bootstrap_node.js:201:16)
at bootstrap_node.js:626:3
This error doesn't seem to touch our code at all. It looks like this is an error in the coffeescript node module.
Do you get the same error with a blank Cakefile
?
We don't yet support Coffeescript v2, as it's only just come out. You'll need to downgrade to the previous version.
thanks.
adam@ahp:~/Downloads/software/vimium$ coffee -v
CoffeeScript version 1.12.7
Now,it works.Thank you very much.
This needs to be in the instructions.
@smblott-github I'm not going to have a chance to make a PR until Friday. I'm happy to do it then, but feel free to change it sooner.
I'll try and get us up to Coffeescript v2 standard when I can, it looks like we can get some nice improvements from it going forward.
Documentation is broken. Should specify the version of coffee required.
npm install --global [email protected]
Most helpful comment
This needs to be in the instructions.