-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trouble when building for iOS after install through npm #1
Comments
Hi. I believe there is no You should try to make clear install of all dependencies. Like |
Same issue here, when building I have:
And inside package.json file I see this:
|
This issue should be reopened as no new npm version has been published with the actual fix For people stumbling upon this issue, install the package using this command instead:
Which will pull it from github directly while waiting for a release |
Hello,
I'm pretty new to React Native, I have tried to install react-native-universal-pedometer several times with npm ("npm react-native-universal-pedometer" then "react-native link", and also link Binary With Librairies using "libBMDPedometer.a" in XCode), but I didn't succeed.
When running though iOS simulator, I got this error:
error: bundling failed: ambiguous resolution: module
/myreactnativeproject/index.js
tries to requirereact-native
, but there are several files providing this module. You can delete or fix them:/myreactnativeproject/node_modules/react-native-universal-pedometer/node_modules/react-native/package.json
/myreactnativeproject/node_modules/react-native/package.json
I have tried to remove the "react-native" dependency from the package.json in the "react-native-universal-dependency" directory, but it throws an error.
Have you got any idea on how to solve this? Thanks!
The text was updated successfully, but these errors were encountered: