-
Notifications
You must be signed in to change notification settings - Fork 910
Requiring unknown module #5
Comments
0.0.3 didn't change either of those components, so there may be something else going on here. Make sure the version on the react-native-fbsdklogin and react-native-fbsdkcore dependencies in your app's package.json file are at 0.0.3. Failing that, uninstall the packages, then run: npm install --save react-native-fbsdklogin@0.0.2 To uninstall the previous versions and ensure that they're still working. |
Actually I've been able to make everything work with the same method than before... By adding fbsdkshare. But I can't explain anything. Edit: and when I add var FBSDKShare = require('react-native-fbsdkshare'); I get the same bug again: require unknown module FBSDKShareButton.ios.js. I think there must be something wrong going on... |
Any news? I know the plugin is pretty new, but am I still the only one who has a problem running the libs independently? |
i can't even get to compile it. |
i'm using "react-native-fbsdkcore": "0.0.4",
"react-native-fbsdklogin": "0.0.4", and I still get:
and of course the login button doesn't work. @philikon @cphackm I'm guessing either the build is still broken or I messed something in the FBSDK configuration. |
Thanks for your comments, everyone. It's best to start out filing a new issue rather than piling onto an existing one. It's always easier to merge tickets after the fact when we realize they're the same issue. It's harder to keep track of different problems within the same thread. When you do file a ticket, please include detailed steps to reproduce -- "I can't even get to compile it" doesn't give us much insight into what exactly is broken for you and how you got there. Also please check out the Sample app and ensure you can build and run that. If you can, the problem is likely with your build configuration. |
@philikon Sorry i was not descriptive enough. I will create a separate issue with more details. |
@tnguyen42, do you still have any problems here? I'm closing this for now, please reopen with detailed error messages if you're still seeing problems. |
Hi,
After updating the package to 0.0.3, I got the same error than the one I got before with Login:
This also happens with AccessToken from Core.
I tried removing the packages (from npm and XCode), reinstalling them with npm install --save... But the errors are still here.
I don't understand since I got it to work last time and I only updated the packages :-(
The text was updated successfully, but these errors were encountered: