naoufal / react-native-payments

Accept Payments with Apple Pay and Android Pay using the Payment Request API.
https://www.npmjs.com/package/react-native-payments
1.59k stars 412 forks source link

Android cannot find "../common/App" #25

Open AppWerft opened 6 years ago

AppWerft commented 6 years ago

Hi, I have cloned and started the example/native- App. I can build, but the packager shows:

Loading dependency graph, done.
Bundling `index.android.js`  [development, non-minified, hmr disabled]  0.0% (0/4), failed.
error: bundling failed: "Unable to resolve module `../common/App` from `/Users/fuerst/Documents/RN/AP/react-native-payments/packages/react-native-payments/examples/native/index.android.js`: could not resolve `/Users/fuerst/Documents/RN/AP/react-native-payments/packages/react-native-payments/examples/common/App' as a file nor as a folder"

I started the react-native run-android in /Users/fuerst/Documents/RN/AP/react-native-payments/packages/react-native-payments/examples/native

mtavkhelidze commented 6 years ago

watchman watch-del-all fixes that.