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

Cannot compile code of with-redux-saga example #5234

Closed
a-barbieri opened this issue Sep 20, 2018 · 0 comments · Fixed by #5235
Closed

Cannot compile code of with-redux-saga example #5234

a-barbieri opened this issue Sep 20, 2018 · 0 comments · Fixed by #5235

Comments

@a-barbieri
Copy link
Contributor

Examples bug report

Running npm run dev (or yarn dev) NextJS cannot compile the code of the example with-redux-saga .

Example name

with-redux-saga

Describe the bug

Running npm run dev the process fails with this error:

ERROR  Failed to compile with 2 errors                                                      13:22:38

These dependencies were not found:

* @babel/runtime/core-js/object/get-prototype-of in ./node_modules/next-redux-wrapper/lib/index.js
* @babel/runtime/core-js/promise in ./node_modules/next-redux-wrapper/lib/index.js

To install them, you can run: npm install --save @babel/runtime/core-js/object/get-prototype-of @babel/runtime/core-js/promise

To Reproduce

Steps to reproduce the behavior, please provide code snippets or a repository:

  1. npx create-next-app --example with-redux-saga with-redux-saga-app
  2. cd with-redux-saga-app
  3. npm install
  4. npm run dev

Expected behavior

Run npm run dev with no issues.

System information

  • OS: macOS
  • Version of Next.js: 7.0.0
@a-barbieri a-barbieri mentioned this issue Sep 20, 2018
timneutkens pushed a commit that referenced this issue Sep 20, 2018
FIX #5234

It simply needed to update dependencies
@lock lock bot locked as resolved and limited conversation to collaborators Sep 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant