question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error: Cannot find module 'babel-runtime/regenerator' since 6.0.0-beta.9

See original GitHub issue

➜ website git:(master) ✗ react-static start module.js:549 throw err; ^

Error: Cannot find module ‘babel-runtime/regenerator’ at Function.Module._resolveFilename (module.js:547:15) at Function.Module._load (module.js:474:25) at Module.require (module.js:596:17) at require (internal/module.js:11:18) at Object.<anonymous> (/usr/local/lib/node_modules/react-static/lib/commands/start.js:8:43) at Module._compile (module.js:652:30) at Module._compile (/usr/local/lib/node_modules/react-static/node_modules/pirates/lib/index.js:83:24) at Module._extensions…js (module.js:663:10) at Object.newLoader [as .js] (/usr/local/lib/node_modules/react-static/node_modules/pirates/lib/index.js:88:7) at Module.load (module.js:565:32)

Environment

  1. react-static -v: 6.0.0-beta.9
  2. node -v: v8.11.1
  3. yarn --version or npm -v: 1.7.0
  4. Operating system: MacOS

Steps to Reproduce the problem

Base your steps off of any freshly installed react-static template!

  1. npm install -g react-static@6.0.0-beta.9 (latest also)
  2. react-static start
  3. profit!

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
KidkAroliscommented, Aug 28, 2018

I don’t think this is fixed since there hasn’t been any new releases since this issue was filed.

1reaction
KidkAroliscommented, Jul 17, 2018

I can confirm it’s broken in react-static@6.0.0-beta.16

It should have been fixed in react-static@6.0.0-beta.15 or react-static@6.0.0-beta.16, but I think something went wrong with the npm release. cc @tannerlinsley

If I use master - it works.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Cannot find module 'babel-runtime/regenerator' Import locally ...
After building and requiring it locally it worked. However, when publishing to npm and importing as a dependency I continue to get the...
Read more >
[solved] Cannot find module '@babel/runtime/helpers/builtin ...
i updated my meteor project to Meteor 1.6.1.1. and i got this error message => Exited with code: 1 W20180403-15:33:17.531(2)?
Read more >
cannot find module [Node npm Error Solved] - freeCodeCamp
The module (package) not found is always specified in the format "Module not found: Error: Can't resolve 'package name' in 'project directory".
Read more >
babel-loader - npm
The path of a module that exports a custom callback like the one that you'd pass to .custom() . Since you already have...
Read more >
Cannot find module 'babel-runtime/helpers/asyncToGenerator'
Apr 12, 2020 ... internal/modules/cjs/loader.js:983 throw err; ^ Error: Cannot find module 'babel-runtime/helpers/asyncToGenerator' Require stack: .
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found