stats
stats copied to clipboard
npm version crashes
Installed module from npm and it crashes regardless of what opts I try.
Install:
$ npm install -g stats
Run:
$ stats --totals dirName
/usr/local/lib/node_modules/stats/lib/parser.js:249
if (!options.ignoreParseErrors) throw err;
^
SyntaxError: Unexpected token name, expected punc on line 104:22:
' for (routeContainer of routes) {'
at Object.module.exports [as parse] (/usr/local/lib/node_modules/stats/lib/parser.js:244:11)
Versions:
$ npm -v
2.11.1
$ node -v / iojs -v
v2.3.0
OS:
Mac OS X 10.10.1