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: [BABEL] /drivemoscow/static.config.js: The ‘polyfill’ option has been removed. The @bab el/runtime module now skips polyfilling by default. (While processing: “/drivemoscow/node_modu les/@babel/plugin-transform-runtime/lib/index.js”)

installing react-static@next globally, creating new project with basic template, cd into project, npm i -S react-static@next

$ yarn start
yarn run v1.9.4
$ react-static start
internal/modules/cjs/loader.js:583
    throw err;
    ^

Error: Cannot find module 'babel-runtime/regenerator'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
    at Function.Module._load (internal/modules/cjs/loader.js:507:25)
    at Module.require (internal/modules/cjs/loader.js:637:17)
    at require (internal/modules/cjs/helpers.js:20:18)
    at Object.<anonymous> (/drivemoscow/node_modules/swimmer/lib/index.js:5:20)
    at Module._compile (internal/modules/cjs/loader.js:689:30)
    at Module._compile (/drivemoscow/node_modules/pirates/lib/index.js:83:24)
    at Module._extensions..js (internal/modules/cjs/loader.js:700:10)
    at Object.newLoader [as .js] (/drivemoscow/node_modules/pirates/lib/index.js:88:7)
    at Module.load (internal/modules/cjs/loader.js:599:32)

yarn add babel-runtime

$ yarn start
yarn run v1.9.4
$ react-static start
  Error: [BABEL] /Users/justfly/projects/drivemoscow/static.config.js: The 'polyfill' option has been removed. The @bab  el/runtime module now skips polyfilling by default. (While processing: "/Users/justfly/projects/drivemoscow/node_modu  les/@babel/plugin-transform-runtime/lib/index.js")

  - index.js:82 _default
    [drivemoscow]/[@babel]/plugin-transform-runtime/lib/index.js:82:13

  - index.js:19
    [drivemoscow]/[@babel]/helper-plugin-utils/lib/index.js:19:12

  - full.js:157 loadDescriptor
    [drivemoscow]/[@babel]/core/lib/config/full.js:157:14

  - caching.js:32 cachedFunction
    [drivemoscow]/[@babel]/core/lib/config/caching.js:32:19

  - full.js:192 loadPluginDescriptor
    [drivemoscow]/[@babel]/core/lib/config/full.js:192:28

  - full.js:68 config.plugins.map.descriptor
    [drivemoscow]/[@babel]/core/lib/config/full.js:68:16

  - Array.map

  - full.js:67 recurseDescriptors
    [drivemoscow]/[@babel]/core/lib/config/full.js:67:38

  - full.js:86 recurseDescriptors
    [drivemoscow]/[@babel]/core/lib/config/full.js:86:27

  - full.js:100 loadFullConfig
    [drivemoscow]/[@babel]/core/lib/config/full.js:100:6

I have no idea what could go wrong

My other project is still runing, but I think it is running only cos I did not reinstall node_modules.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

4reactions
JustFly1984commented, Aug 8, 2018

@tannerlinsley please merge the fix to @next

0reactions
lexaurincommented, Sep 4, 2018

True, fixed in master. Please release new beta version

Read more comments on GitHub >

github_iconTop Results From Across the Web

HomePod Mini Beta 16 | Apple Developer Forums
Is there something I'm missing, or is it a result of the Beta? Personal Requests worked flawlessly prior to Public Beta 16 download....
Read more >
[Bug Report][Open Beta 16][3T] Touch Stops Responding after ...
After updating the phone to Oreo Open Beta on Oneplus 3T, The touch of the phone stops responding and restarting the phone doesn't...
Read more >
Basic Auromancy Stage 2/3 Bug in BETA16 #1065 - GitHub
When I try to complete "Examine Fire Very Closely," nothing happens. I know I am supposed to step into the fire and get...
Read more >
AC2 Beta 16 Minor Bug - RX signal strength error with AF24
The signal strength from the AF24 running 3.2Beta4.28355 shows -66 when logged into the radio but displays -62 in AC. Both of my...
Read more >
iOS 16 Beta 8 is Out! - What's New? - YouTube
... for all supported devices as well as iOS 16 Public Beta 6 is out and brings with it new feature, changes, updates,...
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