yarn start produces next error:
...\node_modules\react-app-rewire-hot-loader\index.js:28
getBabelLoader(config).options.plugins.push(plugin);
^
TypeError: Cannot read property 'options' of undefined
My files:
package.json:
"devDependencies": {
"react-app-rewire-hot-loader": "^2.0.1",
"react-app-rewired": "1.6.2", // Also tried with 2.1.1 - same error
"react-hot-loader": "^4.8.2",
},
"scripts": {
"start": "react-app-rewired start",
"build": "react-app-rewired build",
"test": "react-app-rewired test --env=jsdom",
"eject": "react-scripts eject",
...
config-overrides.js:
const rewireReactHotLoader = require('react-app-rewire-hot-loader')
/* config-overrides.js */
module.exports = function override (config, env) {
config = rewireReactHotLoader(config, env)
return config
}
I have no babel.config.js and .babelrc
yarn startproduces next error:My files:
package.json:
config-overrides.js:
I have no babel.config.js and .babelrc