question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can not build after install react-native-fbsdk

See original GitHub issue

Description

I’m trying to install react-native-fbsdk in my react-native project. I’m doing it with these commends:

react-native init myapp
cd myapp
npm i -S react-native-fbsdk // react-native install react-native-fbsdk is not a valid commend
react-native link react-native-fbsdk

Then I’m trying to build with this commend: react-native run-android

Then I went through the whole installation process of “importing and overriding” which explained here: https://github.com/facebook/react-native-fbsdk

Then I got this error during the building process:

Loading dependency graph, done.
 ERROR  EPERM: operation not permitted, lstat 'C:\wamp\www\myapp\app\android\ap
p\build\intermediates\incremental\mergeDebugResources\merged.dir\values'
{"errno":-4048,"code":"EPERM","syscall":"lstat","path":"C:\\wamp\\www\\myapp\\a
pp\\android\\app\\build\\intermediates\\incremental\\mergeDebugResources\\merged
.dir\\values"}
Error: EPERM: operation not permitted, lstat 'C:\wamp\www\myapp\app\android\app
\build\intermediates\incremental\mergeDebugResources\merged.dir\values'
    at Error (native)

See http://facebook.github.io/react-native/docs/troubleshooting.html
for common problems and solutions.
Press any key to continue . . .

I went through the steps few times with few new projects and it always happen. Moreover the doc looks a bit not updated.

Any help please in order to complete the build process without any errors? Thanks.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

13reactions
llioorcommented, Apr 4, 2017
0reactions
RishabhMaheshwarycommented, Feb 12, 2018

Getting this error after following the steps at : https://github.com/facebook/react-native-fbsdk

Read more comments on GitHub >

github_iconTop Results From Across the Web

Build failed after installing and configuring react-native-fbsdk
BTW i am using "react-native-fbsdk": "^0.8.0" version. Hope it will help you. If it does not work, i think the problem is with...
Read more >
iOS: Cannot build and run the app after installing RNFBSDK ...
Bug Report I tried following the guide and chose NOT to use cocoapods. I have downloaded the SDK files and copied them to...
Read more >
react-native-fbsdk-next - npm package - Snyk
I get this build error: no type or protocol named UIApplicationOpenURLOptionsKey : Your Xcode version is too old. Upgrade to Xcode 10.0+. You...
Read more >
How to add FB SDK in react-native project | by Aneeqa Khan
1) Open the build. · 2) Now open the /app/res/values/strings. · 3) After that open the /app/manifests/AndroidManifest. · 4) And don't forget to...
Read more >
failed to build project, possibly related to react-native-fbsdk ...
Could not resolve all task dependencies for configuration ':app:debugRuntimeClasspath'. > Could not resolve com.facebook.android:facebook-android-sdk:9.0.+.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found