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

Fix "regeneratorRuntime is not defined" error #41

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

yossi-shasho
Copy link

This fixes the following error, which occurs when running $ npm start after $ npm run build:

ReferenceError: regeneratorRuntime is not defined
    at ...
    at Module._compile (module.js:641:30)
    at Object.Module._extensions..js (module.js:652:10)
    at Module.load (module.js:560:32)
    at tryModuleLoad (module.js:503:12)
    at Function.Module._load (module.js:495:3)
    at Module.require (module.js:585:17)
    at require (internal/module.js:11:18)

This fixes the following error, which occurs when running `$ npm start` after `$ npm run build`:
```
ReferenceError: regeneratorRuntime is not defined
    at ...
    at Module._compile (module.js:641:30)
    at Object.Module._extensions..js (module.js:652:10)
    at Module.load (module.js:560:32)
    at tryModuleLoad (module.js:503:12)
    at Function.Module._load (module.js:495:3)
    at Module.require (module.js:585:17)
    at require (internal/module.js:11:18)
```
@saeta-eth
Copy link

Hi @yossi-shasho!

I had the same problem as you.
I solved it using your solution but you should runnpm run babel-polyfill --save-dev, to find this module in package.json.

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

Successfully merging this pull request may close these issues.

None yet

2 participants