Skip to content
New issue

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

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

Already on GitHub? # to your account

Cannot find module 'babel-runtime/core-js/json/stringify' #7

Closed
bokub opened this issue Jun 21, 2017 · 4 comments
Closed

Cannot find module 'babel-runtime/core-js/json/stringify' #7

bokub opened this issue Jun 21, 2017 · 4 comments
Labels

Comments

@bokub
Copy link

bokub commented Jun 21, 2017

When running the following command:

git-stats --raw | git-stats-html -o out.html

I have the following error:

module.js:487
    throw err;
    ^

Error: Cannot find module 'babel-runtime/core-js/json/stringify'
    at Function.Module._resolveFilename (module.js:485:15)
    at Function.Module._load (module.js:437:25)
    at Module.require (module.js:513:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/usr/local/lib/node_modules/git-stats-html/node_modules/ajs/lib/index.js:3:18)
    at Module._compile (module.js:569:30)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:503:32)
    at tryModuleLoad (module.js:466:12)
    at Function.Module._load (module.js:458:3)
events.js:182
      throw er; // Unhandled 'error' event
      ^

Error: write EPIPE
    at exports._errnoException (util.js:1016:11)
    at WriteWrap.afterWrite [as oncomplete] (net.js:850:14)

git-stats works perfectly by the way.

I'm using node.js 8.1.2.

@deus42
Copy link

deus42 commented Jun 26, 2017

Same here

1 similar comment
@cs-william-santos
Copy link

Same here

@IonicaBizau
Copy link
Owner

Umm... I'm pretty sure this is because of the process I'm using to transpile the code for npm.

@IonicaBizau
Copy link
Owner

Fixed in IonicaBizau/babel-it#16

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants