question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Module not found: Error: Can't resolve './EventStack' in './node_modules/semantic-ui-react/dist/es/lib/eventStack'

See original GitHub issue

Hi! 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.

image

Steps

  1. Add semantic-ui-react to the package.json dependencies.
  2. run yarn
  3. run yarn build: I use webpack & typescript.
  4. 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:closed
  • Created 5 years ago
  • Reactions:5
  • Comments:15 (5 by maintainers)

github_iconTop GitHub Comments

7reactions
levithomasoncommented, Jun 4, 2018

Fixed in semantic-ui-react@0.81.1. The tarball also includes the properly cased EventStack.js file.

7reactions
GuyShaanancommented, Jun 3, 2018

Please re-open. The file in dist/lib/eventStack is eventStack.js starting with a lower ‘e’ instead of capital ‘E’ which is required by dist/lib/eventStack/index.js:

image

Did rm -rf node_modules yarn.lock. Same file gets downloaded.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found