Skip to content
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

react native fbsdk MODULE_NOT_FOUND after link commend #13176

Closed
llioor opened this issue Mar 28, 2017 · 5 comments
Closed

react native fbsdk MODULE_NOT_FOUND after link commend #13176

llioor opened this issue Mar 28, 2017 · 5 comments
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@llioor
Copy link

llioor commented Mar 28, 2017

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:

  • React native version: 0.42.3
  • npm -version 4.2.0
  • I didn't find "react-native-fbsdk" folder under my node_modules folder.
  • Windows 8.1
  • I'm working with Android Studio
  • Android SDK Platform-Tools 25.0.4
  • Android SDK Tools 25.2.3

Print screens:
Console
Packages versions

Thank you in advance.
Leo.

@st0ffern
Copy link

react-native install react-native-fbsdk is not a valid command.

try this inside the app folder

npm i -S react-native-fbsdk

@llioor
Copy link
Author

llioor commented Mar 29, 2017

Thanks @Stoffern
What weird is that in all doc it is written:
react-native install react-native-fbsdk

Weird...

@st0ffern
Copy link

please send a PR to react-native-fbsdk about this.
This issue can be closed

@llioor llioor closed this as completed Mar 29, 2017
@llioor
Copy link
Author

llioor commented Mar 29, 2017

I will do PR now.

I have this error now:

#9136

@llioor
Copy link
Author

llioor commented Apr 4, 2017

@Stoffern Hey Kristoffer, problem solved:
http://stackoverflow.com/a/43217182/2862728

@facebook facebook locked as resolved and limited conversation to collaborators May 24, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Jul 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

3 participants