Skip to content
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

Semantic UI not working when lodash installed separately as dependency #1656

Closed
qoalu opened this issue May 5, 2017 · 2 comments
Closed

Comments

@qoalu
Copy link
Contributor

qoalu commented May 5, 2017

Steps

  1. have semantic ui installed
  2. npm install --save lodash

Expected Result

working app

Actual Result

Error in ./~/semantic-ui-react/dist/commonjs/modules/Popup/Popup.js
Module not found: [CaseSensitivePathsPlugin] `my-app\node_modules\lodash\pick.js` does not match the corresponding path on disk - File does not exist.
[...]
Error in ./~/semantic-ui-react/dist/commonjs/lib/customPropTypes.js
Module not found: 'lodash/fp/isObject' in my-app\node_modules\semantic-ui-react\dist\commonjs\lib
[...]

many more errors, mostly of 2 like above. This is a shortened version

Version

0.62.0

@layershifter
Copy link
Member

Can you make a fresh install of deps? rm -r node_modules; npm i
Also, are you using Windows?

@levithomason
Copy link
Member

Note, TA uses Semantic UI React with lodash installed as a separate dependency. I believe @layershifter is likely correct here.

This is a missing dependency issue and does not appear to be directly related to Semantic UI React code. Will close for now, willing to reopen if we can get a reproduction case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants