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

Failed on Node6 #2215

Closed
popomore opened this issue Apr 18, 2016 · 2 comments
Closed

Failed on Node6 #2215

popomore opened this issue Apr 18, 2016 · 2 comments

Comments

@popomore
Copy link

popomore commented Apr 18, 2016

$ ./node_modules/.bin/node --version
v6.0.0-rc.2

$ cat ./node_modules/mocha/package.json | head -n 3
{
  "name": "mocha",
  "version": "2.4.5",

$ ./node_modules/.bin/node ./node_modules/.bin/mocha
module.js:128
  for (var i = 0; i < exts.length; i++) {
                          ^

TypeError: Cannot read property 'length' of undefined
    at tryExtensions (module.js:128:27)
    at tryPackage (module.js:107:10)
    at Function.Module._findPath (module.js:182:18)
    at Function.Module._resolveFilename (module.js:434:25)
    at Function.Module._load (module.js:384:25)
    at Module.require (module.js:464:17)
    at require (internal/module.js:16:19)
    at Object.<anonymous> (/Users/popomore/code/tmp/a/node_modules/mocha/bin/_mocha:12:11)
    at Module._compile (module.js:539:32)
    at Object.Module._extensions..js (module.js:548:10)
@popomore
Copy link
Author

It's the bug of nodejs nodejs/node#6214

@boneskull
Copy link
Member

yikes! thanks.

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

2 participants