Skip to content

npm version crashes #12

@bugs181

Description

@bugs181

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions