[./node_modules/react-event-listener/lib/index.js] 191 bytes {main} [built] [failed] [1 error]
+ 2815 hidden modules
ERROR in ./node_modules/@material-ui/core/node_modules/react-event-listener/dist/react-event-listener.cjs.js
Module build failed: Error: ENOENT: no such file or directory, open '/Users/kunal/src/node_modules/@material-ui/core/node_modules/react-event-listener/dist/react-event-listener.cjs.js'
@ ./node_modules/@material-ui/core/ClickAwayListener/ClickAwayListener.js 30:49-80
@ ./node_modules/@material-ui/core/ClickAwayListener/index.js
@ ./node_modules/@material-ui/core/index.es.js
@ ./app/components/Home/Navtab.js
@ ./app/components/Home/index.js
@ ./app/components/App.js
@ ./app/index.js
@ multi (webpack)-dev-server/client?http://0.0.0.0:8648 ./app/index.js
ERROR in ./node_modules/@material-ui/core/node_modules/warning/warning.js
Module build failed: Error: ENOENT: no such file or directory, open '/Users/kunal/src/node_modules/@material-ui/core/node_modules/warning/warning.js'
@ ./node_modules/@material-ui/core/styles/createGenerateClassName.js 10:38-56
@ ./node_modules/@material-ui/core/styles/index.js
@ ./app/components/App.js
@ ./app/index.js
@ multi (webpack)-dev-server/client?http://0.0.0.0:8648 ./app/index.js
ERROR in ./node_modules/@material-ui/icons/node_modules/recompose/pure.js
Module build failed: Error: ENOENT: no such file or directory, open '/Users/kunal/src/node_modules/@material-ui/icons/node_modules/recompose/pure.js'
@ ./node_modules/@material-ui/icons/utils/createSvgIcon.js 12:35-60
@ ./node_modules/@material-ui/icons/AccessAlarm.js
@ ./node_modules/@material-ui/icons/index.es.js
@ ./app/components/App.js
@ ./app/index.js
@ multi (webpack)-dev-server/client?http://0.0.0.0:8648 ./app/index.js
ERROR in ./node_modules/react-event-listener/lib/index.js
Module build failed: Error: ENOENT: no such file or directory, open '/Users/kunal/src/node_modules/react-event-listener/lib/index.js'
@ ./node_modules/material-ui/utils/ClickAwayListener.js 47:26-57
@ ./node_modules/material-ui/index.es.js
@ ./app/components/VenueMaster/venuemaster.js
@ ./app/components/Home/index.js
@ ./app/components/App.js
@ ./app/index.js
@ multi (webpack)-dev-server/client?http://0.0.0.0:8648 ./app/index.js
Child html-webpack-plugin for "index.html":
1 asset
Did you rerun webpack after npm/yarn install?
@kunalb93 We need a reproduction repository to really help. I'm closing. In the meantime, check @TrySound comment out 馃憤 .
@TrySound How does one rerun webpack?
For any stragglers, this proved to be random node module causing this. https://github.com/firebase/firebaseui-web-react
I un/re installed and it works now
@TrySound How does one rerun webpack?
This also confused me. I just re-started the development server "npm start" in most create-react apps and then it worked.
Most helpful comment
Did you rerun webpack after npm/yarn install?