Skip to content

react native fbsdk MODULE_NOT_FOUND after link commend #13176

@llioor

Description

@llioor

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions