-
Notifications
You must be signed in to change notification settings - Fork 4.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Module not found: Error: Can't resolve './EventStack' in './node_modules/semantic-ui-react/dist/es/lib/eventStack' #2867
Comments
👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you've completed all the fields in the issue template so we can best help. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can. |
Try to reinstall deps fully, the |
I tried to download the tar boll from https://registry.npmjs.org/semantic-ui-react/-/semantic-ui-react-0.81.0.tgz. And I extract it. I got |
Rename fix the error |
I am affected by this issue as well, it is especially annoying because this only occurs in my automated tests (which run on Travis CI / Linux), and not in my development environment (Mac OS). I furthermore tried the fix from @wallena3, and noticed that it did not work in commonjs environments. mv node_modules/semantic-ui-react/dist/es/lib/eventStack/eventStack.js node_modules/semantic-ui-react/dist/es/lib/eventStack/EventStack.js
mv node_modules/semantic-ui-react/dist/commonjs/lib/eventStack/eventStack.js node_modules/semantic-ui-react/dist/commonjs/lib/eventStack/EventStack.js Having to add these lines everywhere is less than optimal, as it is no longer possible to install Can this issue please be re-opened and fixed? |
Please reopen this issue 😭 @layershifter |
I reopened issue, the problem needs an investigation. |
The The An example on codesandbox. @levithomason can you check, please? As I'm remember you're running builds locally. |
Renaming the file does solve the issue locally, but when another dev tries to work with the new version, he/she will have to perform the same fix on their machine - not a very long term fix. With that said, thanks for the suggestion, I can do my local development for now. |
Thanks for reopen a issue. Was the publishing process broken? |
Hey folks, I'll release a patch for this as soon I finish investigating why the camelCased |
Fixed in |
@tkw1536 Thanks. Your solution helped fix the bug on my machine |
Hi, has the NPM package been generated? I got a message saying "No matching version found for [email protected]". Thanks. |
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.
Steps
yarn
yarn build
: I use webpack & typescript.Actual Result
I got following error.
Version
0.81.0
The text was updated successfully, but these errors were encountered: