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
react-static -v
: 6.0.0-beta.9node -v
: v8.11.1yarn --version or npm -v
: 1.7.0- Operating system: MacOS
Steps to Reproduce the problem
Base your steps off of any freshly installed react-static template!
- npm install -g react-static@6.0.0-beta.9 (latest also)
- react-static start
- profit!
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:5 (4 by maintainers)
I don’t think this is fixed since there hasn’t been any new releases since this issue was filed.
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.