Babel 7 - ReferenceError: regeneratorRuntime is not defined
问题 I have an application that is a node backend and a react frontend. I get the following error when i try to build/run my node application. Node: v10.13.0 Error: dist/index.js:314 regeneratorRuntime.mark(function _callee(productId) { ^ ReferenceError: regeneratorRuntime is not defined .babelrc { "presets": [ [ "@babel/preset-env", { "targets": { "node": "current" }, } ], "@babel/preset-react"], "plugins": [ "@babel/plugin-proposal-class-properties" ] } webpack.config.js { mode: "development",