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

Babel Runtime is missing #109

Closed
jakub300 opened this issue Oct 20, 2017 · 2 comments
Closed

Babel Runtime is missing #109

jakub300 opened this issue Oct 20, 2017 · 2 comments

Comments

@jakub300
Copy link

Steps to reproduce:

  1. Install: npm install github-release-notes -g
  2. Run: gren changelog

Result:

Jakub-B-iMac:generator-chisel jakubbogucki$ gren changelog
module.js:529
    throw err;
    ^

Error: Cannot find module 'babel-runtime/core-js/object/keys'
    at Function.Module._resolveFilename (module.js:527:15)
    at Function.Module._load (module.js:476:23)
    at Module.require (module.js:568:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/Users/jakubbogucki/npm/lib/node_modules/github-release-notes/dist/Program.js:7:13)
    at Module._compile (module.js:624:30)
    at Object.Module._extensions..js (module.js:635:10)
    at Module.load (module.js:545:32)
    at tryModuleLoad (module.js:508:12)
    at Function.Module._load (module.js:500:3)

According to babel docs: In most cases, you should install babel-plugin-transform-runtime as a development dependency (with --save-dev). [...] and babel-runtime as a production dependency (with --save). The transformation plugin is typically used only in development, but the runtime itself will be depended on by your deployed/published code.

@alexcanessa
Copy link
Member

Thanks @jakub300 we'll try to get this fixed ASAP

alexcanessa added a commit that referenced this issue Oct 26, 2017
@alexcanessa
Copy link
Member

@jakub300 all fixed 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants