You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bug (or my own misunderstanding). I'm trying to get a basic create-react-app working with hot-loader via the webpack-loader rather than the babel-loader, since I want to use sucrase rather than babel.
Expected behavior
What you think should happen:
Adding webpack-loader should work.
Actual behavior
What actually happens:
Running yarn start spits this error:
./node_modules/@hot-loader/react-dom/cjs/react-dom.development.js
TypeError: Cannot read property 'indexOf' of undefined
Environment
React Hot Loader version:
Run these commands in the project folder and fill in their results:
node -v: 10.15.1
npm -v: 6.8.0
yarn -v: 1.13.0
Then, specify:
Operating system: MacOS 10.14.4
Browser and version: Chrome 73.0.3683.103
Reproducible Demo
I just did create-react-app, eject, and added hot-loader:
Description
What you are reporting:
Bug (or my own misunderstanding). I'm trying to get a basic create-react-app working with hot-loader via the webpack-loader rather than the babel-loader, since I want to use sucrase rather than babel.
Expected behavior
What you think should happen:
Adding webpack-loader should work.
Actual behavior
What actually happens:
Running
yarn start
spits this error:./node_modules/@hot-loader/react-dom/cjs/react-dom.development.js
TypeError: Cannot read property 'indexOf' of undefined
Environment
React Hot Loader version:
Run these commands in the project folder and fill in their results:
node -v
: 10.15.1npm -v
: 6.8.0yarn -v
: 1.13.0Then, specify:
Reproducible Demo
I just did create-react-app, eject, and added hot-loader:
https://github.com/yang/hot-cra-webpack-loader-repro
The text was updated successfully, but these errors were encountered: