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

Cannot find module: 'lodash.isequalwith'. #480

Closed
tykdn opened this issue Feb 22, 2021 · 18 comments · Fixed by #481
Closed

Cannot find module: 'lodash.isequalwith'. #480

tykdn opened this issue Feb 22, 2021 · 18 comments · Fixed by #481

Comments

@tykdn
Copy link

tykdn commented Feb 22, 2021

When run npm install ,Failed to compile.

./node_modules/connected-react-router/esm/ConnectedRouter.js
Cannot find module: 'lodash.isequalwith'. Make sure this package is installed.

connected-react-router version is 6.9.0.

image

Module lodash.isequal should be in dependencies rathe than devDependencies?

@yolo2013
Copy link

+1

@Ivocin
Copy link

Ivocin commented Feb 22, 2021

Same with you, now lodash.isequalwith is in devDependencies and peerDependencies.
I think a lot users will come across this error today.
You can add it as dependencies in your package.json as a temporary solution.

@ltnscp9028
Copy link
Contributor

I made a PR and passed the test. Hopefully it will be merged soon.

@blinkcat
Copy link

May be a disaster

@ltnscp9028
Copy link
Contributor

May be a disaster

I think so. The relevant PR must be merged urgently.
Errors may occur in the production environment.

@liorbentov
Copy link

Same with you, now lodash.isequalwith is in devDependencies and peerDependencies.
I think a lot users will come across this error today.
You can add it as dependencies in your package.json as a temporary solution.

Yeap.. Already came across this one...
For now, I have set the version to be a fixed version(6.8.0) 🤷

@ssanri
Copy link

ssanri commented Feb 22, 2021

somebody just ruined monday...

@swapna-purohit-mpf
Copy link

please can the fix be merged soon? we are blocked with this.

@sachin-agarwal-by
Copy link

can we merged this urgently as we have already upgraded to latest version and build is failing.

@jebrii
Copy link

jebrii commented Feb 22, 2021

For now, you can work around this by adding the lodash.isequalwith module to your list of dependencies, or you can change the dependency entry in your package.json to "connected-react-router": "6.8.0" (notice there's no ^ carrot in the version)

@supasate
Copy link
Owner

Should be fixed in v6.9.1.

@danielweck
Copy link

Thanks :)

    ERROR in ./node_modules/connected-react-router/esm/ConnectedRouter.js
    Module not found: Error: Can't resolve 'lodash.isequalwith' in 'node_modules/connected-react-router/esm'
     @ ./node_modules/connected-react-router/esm/ConnectedRouter.js 29:0-45 82:192-203
     @ ./node_modules/connected-react-router/esm/index.js

@LennyLip
Copy link

LennyLip commented Apr 20, 2021

Should be fixed in v6.9.1.

@supasate
I've got this issue with the last versions lodash and connected-react router

image

ps.
"name": "lodash.isequalwith",
"version": "4.4.0",

update. Ok, it seems this is rollup named expost issue.

@allengordon011
Copy link

I am still getting an error from this dependency when attempting to install connected-react-router v6.9.1

npm ERR! code E404
npm ERR! 404 Not Found - GET https://<private npm registry>/lodash.isequalwith - no such package available
npm ERR! 404 
npm ERR! 404  'lodash.isequalwith@^4.4.0' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404 It was specified as a dependency of 'connected-react-router'

@vicodinvic1
Copy link

Should be fixed in v6.9.1.

@supasate I've got this issue with the last versions lodash and connected-react router

image

ps. "name": "lodash.isequalwith", "version": "4.4.0",

update. Ok, it seems this is rollup named expost issue.

Hey, did you resolve the issue? You said it is rollup fault, I'm trying to build a prod build with Vite (it uses rollup under the hood) and it fails with mentioned error

@LennyLip
Copy link

Hey, did you resolve the issue? You said it is rollup fault, I'm trying to build a prod build with Vite (it uses rollup under the hood) and it fails with mentioned error

https://stackoverflow.com/a/45535902/1271271

@vicodinvic1
Copy link

Hey, did you resolve the issue? You said it is rollup fault, I'm trying to build a prod build with Vite (it uses rollup under the hood) and it fails with mentioned error

https://stackoverflow.com/a/45535902/1271271

I already use @rollup/plugin-commonjs plugin and it doesn't resolve the issue

@LennyLip
Copy link

I already use @rollup/plugin-commonjs plugin and it doesn't resolve the issue

Do you include lodash?

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

Successfully merging a pull request may close this issue.