jurassix / react-validation-mixin

Simple validation mixin (HoC) for React.
MIT License
283 stars 38 forks source link

Cannot find module #15

Closed jhta closed 9 years ago

jhta commented 9 years ago

I have this problem: Error: Cannot find module 'lodash.isObject' from '/var/source-projects/neo/node_modules/react-validation-mixin' You need change the ValidationMixin.js file in the line screenshot from 2015-04-07 13 17 34 screenshot from 2015-04-07 13 19 52

5 "isobject" by "isObject"

jurassix commented 9 years ago

Thanks for the report. Taking a look...

jurassix commented 9 years ago

Which version do you have installed? Can you upgrade to version 4.0.3 and see if the issue still extists?

From the package.json I am requiring in these lodash modules with the same lowercase convention:

  "dependencies": {
    "lodash.flatten": "^3.0.0",
    "lodash.isempty": "^3.0.0",
    "lodash.isobject": "^3.0.0",
    "lodash.result": "^3.0.0",
    "lodash.union": "^3.0.0",
    "object.assign": "^1.1.1"
  }
jurassix commented 9 years ago

You can see the lodash.isobject documentation here

jurassix commented 9 years ago

Closing this issue. Please reopen if you are still having an issue.