"AmbiguousModuleResolution" Error
sewerrat opened this issue · comments
After installing this module, I run my project and got "AmbiguousModuleResolution" Error.
Ambiguous module resolution from
/home/rat/work-space/Mallin-app/index.js
: The namereact-native
was looked up in the Haste module map. It cannot be resolved, because there exists several different files, or packages, that provide a module for that particular name and platform. The platform is generic (no extension). You must delete or blacklist files until there remains only one of these:
/home/rat/work-space/Mallin-app/node_modules/react-native-draggable-drawer/node_modules/react-native/package.json
(package)/home/rat/work-space/Mallin-app/node_modules/react-native/package.json
(package)
Tried npm cache clean
and .. --reset-cache
but still got error.
Please help me find the root cause.
Thanks.