Module not found: Error: Can't resolve './EventStack' in './node_modules/semantic-ui-react/dist/es/lib/eventStack'
See original GitHub issueHi! Thanks very useful library. 😄
Bug Report
I got a build error in Linux (alpine linux) environment. 😭 When in Mac environment, I don’t get an error.
I think that eventStack.js must be EventStack.js.

Steps
- Add semantic-ui-react to the package.json dependencies.
- run
yarn - run
yarn build: I use webpack & typescript. - I got error.
Actual Result
I got following error.
ERROR in ./node_modules/semantic-ui-react/dist/es/lib/eventStack/index.js
Module not found: Error: Can't resolve './EventStack' in '/root/project/app/node_modules/semantic-ui-react/dist/es/lib/eventStack'
@ ./node_modules/semantic-ui-react/dist/es/lib/eventStack/index.js 1:0-38 2:19-29
@ ./node_modules/semantic-ui-react/dist/es/lib/index.js
@ ./node_modules/semantic-ui-react/dist/es/collections/Grid/GridRow.js
@ ./node_modules/semantic-ui-react/dist/es/index.js
@ ./src/App.tsx
@ ./src/index.tsx
Version
0.81.0
Issue Analytics
- State:
- Created 5 years ago
- Reactions:5
- Comments:15 (5 by maintainers)
Top Results From Across the Web
Webpack suddenly fails to compile due to "Module not found ...
I had this issue and solved by fixing my modules resolution settings in Jest. With the current state of things, my package-lock includes:...
Read more >Issues - GitHub
Module not found : Error: Can't resolve 'util' in '/Users/lapezealexis/Downloads/listen/frontend/node_modules/aws-sdk/lib'.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Fixed in
semantic-ui-react@0.81.1. The tarball also includes the properly casedEventStack.jsfile.Please re-open. The file in
dist/lib/eventStackiseventStack.jsstarting with a lower ‘e’ instead of capital ‘E’ which is required bydist/lib/eventStack/index.js:Did
rm -rf node_modules yarn.lock. Same file gets downloaded.