redux: Cannot find module "lodash/_isHostObject" from "lodash/isPlainObject"

When using redux version 3.3.0 w/ Node 5.5.0 and Npm version 3.7.2 I am getting

Cannot find module "lodash/_isHostObject" from "lodash/isPlainObject" errors.

app.js:79Uncaught Error: Cannot find module "lodash/_isHostObject" from "lodash/isPlainObject"require @ app.js:79expanded @ app.js:56(anonymous function) @ app.js:121(anonymous function) @ isPlainObject.js:3initModule @ app.js:63require @ app.js:73expanded @ app.js:56(anonymous function) @ app.js:121(anonymous function) @ createStore.js:9initModule @ app.js:63require @ app.js:73expanded @ app.js:56(anonymous function) @ index.js:2(anonymous function) @ app.js:121(anonymous function) @ index.js:8initModule @ app.js:63require @ app.js:73expanded @ app.js:56(anonymous function) @ NPCList.js:4initModule @ app.js:63require @ app.js:73expanded @ app.js:56(anonymous function) @ test_the_test_framework.spec.js:3initModule @ app.js:63require @ app.js:73(anonymous function) @ socket.js:62

I was able to fix this earlier by downgrading lodash in the package.json of redux but it doesn’t not seem to work anymore.

Please let me know if you need any further information and I will be happy to provide.

Thank you for all your hard work.

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 19 (9 by maintainers)

Most upvoted comments

I had this problem with brunch and phoenix:

app.js:79 Uncaught Error: Cannot find module “lodash/_getPrototype” from “lodash/isPlainObject”

Fixed it with updating brunch to at least 2.2.3.

This problem is fixed in the current version of brunch (2.2.3).