bevry-archive / bal-util

Utility functions for JavaScript and Node.js used and maintained by Benjamin Lupton

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Docpad - error thrown in bal-util

tanepiper opened this issue · comments

SyntaxError: In /usr/local/lib/node_modules/docpad/node_modules/bal-util/lib/paths.coffee, octal literal '0700' must be prefixed with '0o' on line 92
at SyntaxError (unknown source)
at Lexer.error (/usr/local/lib/node_modules/coffee-script/lib/coffee-script/lexer.js:686:13)
at Lexer.numberToken (/usr/local/lib/node_modules/coffee-script/lib/coffee-script/lexer.js:138:14)
at Lexer.tokenize (/usr/local/lib/node_modules/coffee-script/lib/coffee-script/lexer.js:35:159)
at /usr/local/lib/node_modules/coffee-script/lib/coffee-script/coffee-script.js:43:32
at Object..coffee (/usr/local/lib/node_modules/coffee-script/lib/coffee-script/coffee-script.js:19:17)
at Module.load (module.js:348:31)
at Function._load (module.js:308:12)
at Module.require (module.js:354:17)
at require (module.js:370:17)

Causes docpad to fail

Thanks for the report, CoffeeScript v1.3 is causing all sorts of problems. For the meantime make sure that you are using CoffeeScript 1.2 npm install -g coffee-script@1.2 (or specify "coffee-script": "1.2.x" in your package.json file).

In the next release I'll make it so the CoffeeScript dependency is bundled within this module (so it has control over it), so it doesn't require an external dependency anymore (something which it doesn't have control over).

Fixed in the latest release.