seokgyo / react-cloudinary

react components to render cloudinary image and video.
20 stars 4 forks source link

Dependency on lodash throwing errors #7

Open ryan-ajmadison opened 6 years ago

ryan-ajmadison commented 6 years ago

My webpack is failing to compile and 'cloudinary-core' is throwing a bunch of errors regarding lodash:

ERROR in ./~/cloudinary-core/cloudinary-core.js Module not found: Error: Cannot resolve module 'lodash/isPlainObject' in /node_modules/cloudinary-core @ ./~/cloudinary-core/cloudinary-core.js 34:11-320

I've tried installing different versions of lodash and this package, but no dice.

My package.json currently: "lodash": "^3.10.1", "react-cloudinary": "^0.2.1",

curiousercreative commented 6 years ago

I work with @ryan-ajmadison and I was able to resolve this issue by updating lodash to latest (4.17 I believe).