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

Lodash function imports cause errors #39

Closed
AregShahbazian opened this issue Dec 7, 2022 · 3 comments
Closed

Lodash function imports cause errors #39

AregShahbazian opened this issue Dec 7, 2022 · 3 comments

Comments

@AregShahbazian
Copy link

I'm using "redux-persist-transform-filter": "^0.0.21", and getting these 4 errors:

ERROR in ./node_modules/redux-persist-transform-filter/dist/index.js 28:14-38
Module not found: Error: Can't resolve 'lodash/pickby'

ERROR in ./node_modules/redux-persist-transform-filter/dist/index.js 32:15-40
Module not found: Error: Can't resolve 'lodash/isempty'

ERROR in ./node_modules/redux-persist-transform-filter/dist/index.js 36:13-36
Module not found: Error: Can't resolve 'lodash/forin'

ERROR in ./node_modules/redux-persist-transform-filter/dist/index.js 40:17-44
Module not found: Error: Can't resolve 'lodash/clonedeep'

Looking at the code it looks like these four import statements should use camelcase, like:
import pickBy from 'lodash/pickBy' instead of
import pickBy from 'lodash/pickby', etc...

@meftunca
Copy link

meftunca commented Dec 8, 2022

Same issue

@edy
Copy link
Owner

edy commented Dec 8, 2022

fixed in 0.0.22

@edy edy closed this as completed Dec 8, 2022
@AregShahbazian
Copy link
Author

Thank you!

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

No branches or pull requests

3 participants