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

Problems loading 'resolve-dir' #791

Open
OmgImAlexis opened this issue Apr 29, 2019 · 0 comments
Open

Problems loading 'resolve-dir' #791

OmgImAlexis opened this issue Apr 29, 2019 · 0 comments
Labels

Comments

@OmgImAlexis
Copy link

I had to kill the node -r esm require as it never finishes.

bash-4.4# node
> var resolveDir = require('resolve-dir');
undefined
> resolveDir
[Function: resolveDir]
> 
(To exit, press ^C again or type .exit)
> 
bash-4.4# node -r esm
> var resolveDir = require('resolve-dir');
^CError: Script execution interrupted.
    at Script.runInThisContext (vm.js:96:20)
    at REPLServer.defaultEval (repl.js:329:29)
    at bound (domain.js:396:14)
    at REPLServer.runBound [as eval] (domain.js:409:12)
    at REPLServer.onLine (repl.js:642:10)
    at REPLServer.emit (events.js:187:15)
    at REPLServer.EventEmitter.emit (domain.js:442:20)

Ref: gulpjs/findup-sync#45 (comment)

@jdalton jdalton changed the title Can't import commonjs file Problems loading 'resolve-dir' Apr 29, 2019
@jdalton jdalton added the bug label May 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants