Closed arnvanhoutte closed 5 years ago
I had the same problem. I fixed it by installing @babel/plugin-transform-runtime and editing webpack.config.js
const babelLoader = {
loader: 'babel-loader',
options: {
presets: ['@babel/preset-react' ],
plugins: ['@babel/plugin-transform-runtime' //added
]
The error has been gone but still couldn't make it work.
Indeed, in my case adding Babel-Polyfills also worked.
After updating to 4.0.0-rc.1 I've been getting this error immediately in startup. Building works fine but when opening my app, this error shows up in my console and gutenberg does not load