Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm version crashes #12

Open
bugs181 opened this issue Jun 24, 2015 · 0 comments
Open

npm version crashes #12

bugs181 opened this issue Jun 24, 2015 · 0 comments

Comments

@bugs181
Copy link

bugs181 commented Jun 24, 2015

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
@bugs181 bugs181 changed the title NPM version crashes npm version crashes Jun 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant