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

Workaround for Cannot find module 'internal/linkedlist' #26

Closed
allenluce opened this issue Oct 30, 2017 · 5 comments
Closed

Workaround for Cannot find module 'internal/linkedlist' #26

allenluce opened this issue Oct 30, 2017 · 5 comments

Comments

@allenluce
Copy link

Until it's addressed, try https://github.com/myndzi/wtfnode instead.

(This was mentioned in a prior issue but deserves a little more exposure.)

@andreyrd
Copy link

This error happens if you run why-is-node-running without the --expose-internals flag.
That said, thanks for pointing out wtfnode, I needed an alternative because of #19 :)

@GuyMograbi
Copy link

GuyMograbi commented Nov 28, 2017

This seems like an awesome tool. Can't wait to see it work.
I ran into this issue and adding the flag did not solve it to me.

I am running with mocha. I use

node --expose-internals ./node_modules/.bin/mocha tests

How can I make this work.

@jeffvandyke
Copy link

node --expose-internals ./node_modules/.bin/_mocha

discovered at the top of mochajs/mocha#3045, YMMV

@emilioplatzer
Copy link

But...

c:\my-path\my-repo\node_modules\.bin\_mocha:2
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
          ^^^^^^^

SyntaxError: missing ) after argument list

@mafintosh
Copy link
Owner

should be fixed in latest

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

6 participants