I opened bug on Facebook developer support tool and after investigation I received this answer:
"We investigated this and it looks like an issue with React Native itself. Can you please report the issue using our React Native issue tracker at https://github.com/facebook/react-native/issues?
On this tool we don't currently support React Native itself, but we support its Facebook SDK."
I'm trying to install and link react-native-fbsdk package and I got this error:
[Error: Cannot find module 'C:\wamp\www\chatapp\node_modules\react-native-fbsdk\package.json'] code: 'MODULE_NOT_FOUND'
I went through these steps:
react-native init [YourApp]
Done successfully.
react-native install react-native-fbsdk
Output: Scanning 712 folders for symlinks in C:\wamp\www\chatapp\node_modules (26ms) rnpm-install info Module react-native-fbsdk has been successfully installed & linked
react-native link react-native-fbsdk
Output: Scanning 712 folders for symlinks in C:\wamp\www\chatapp\node_modules (29ms) { [Error: Cannot find module 'C:\wamp\www\chatapp\node_modules\react-native-fbsdk\package.json'] code: 'MODULE_NOT_FOUND' }
More Info:
Print screens:
Console
Packages versions
Thank you in advance.
Leo.
react-native install react-native-fbsdk is not a valid command.
try this inside the app folder
npm i -S react-native-fbsdk
Thanks @stoffern
What weird is that in all doc it is written:
react-native install react-native-fbsdk
Weird...
please send a PR to react-native-fbsdk about this.
This issue can be closed
@stoffern Hey Kristoffer, problem solved:
http://stackoverflow.com/a/43217182/2862728
Most helpful comment
react-native install react-native-fbsdk is not a valid command.
try this inside the app folder