danrigsby / react-native-web-container

45 stars 12 forks source link

@providesModule naming collision #1

Open sylvainbaronnet opened 8 years ago

sylvainbaronnet commented 8 years ago
Failed to build DependencyGraph: @providesModule naming collision:
  Duplicate module name: UniversalWorkerNodeHandle
  Paths: /Users/sylvain/git/Tribe-U-App/TribeU/node_modules/react-native/Libraries/vendor/react/platformImplementations/universal/worker/UniversalWorkerNodeHandle.js collides with /Users/sylvain/git/Tribe-U-App/TribeU/node_modules/react-native-web-container/node_modules/react-native/Libraries/vendor/react/platformImplementations/universal/worker/UniversalWorkerNodeHandle.js

tested with RN 0.24-rc5

jawadrehman commented 8 years ago

I got this

Failed to build DependencyGraph: @providesModule naming collision:
  Duplicate module name: ExecutionEnvironment
  Paths: /app_path/node_modules/react-native/Libraries/vendor/react/vendor/core/ExecutionEnvironment.android.js collides with /app_path/node_modules/react-native-web-container/node_modules/react-native/Libraries/vendor/react/vendor/core/ExecutionEnvironment.android.js
akshaygoyal88 commented 7 years ago

And I got this

Failed to build DependencyGraph: @providesModule naming collision:
  Duplicate module name: PanResponder
  Paths: /home/akshay/Desktop/blogapp/BlogApp/node_modules/react-native-web-container/node_modules/react-native/Libraries/vendor/react/browser/eventPlugins/PanResponder.js collides with /home/akshay/Desktop/blogapp/BlogApp/node_modules/react-native/Libraries/Interaction/PanResponder.js
scazzy commented 7 years ago

@danrigsby Can you fix the issue?

adamwuyu commented 7 years ago

I got this:

Error: @providesModule naming collision: Duplicate module name: react-animated Paths: /Users/adam/App/zcmm/node_modules/react-native/Libraries/Animated/release/package.json collides with /Users/adam/App/zcmm/node_modules/react-native-web-container/node_modules/react-native/Libraries/Animated/release/package.json

scazzy commented 7 years ago

@adamwuyu @akshaygoyal88 if your purpose is auto height, you can use this one instead - https://github.com/scazzy/react-native-webview-autoheight