llanox / react-native-draggable-drawer

DraggableDrawer is a component for react-native, it allows you have a vertical draggable drawer view that you can drag up or drag down. So, if you drag and release that component, then it keeps moving until reach either initial position or container border.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"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 name react-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.