realm / realm-js

Realm is a mobile database: an alternative to SQLite & key-value stores
https://realm.io
Apache License 2.0
5.78k stars 575 forks source link

> Task :realm:configureCMakeDebug[arm64-v8a] FAILED, React Native 0.76 #6908

Open nigelrudolf opened 3 days ago

nigelrudolf commented 3 days ago

How frequently does the bug occur?

always

Description

Task :realm:configureCMakeDebug[arm64-v8a] FAILED C/C++: CMake Error at CMakeLists.txt:14 (add_library): C/C++: Target "realm-js-android-binding" links to target C/C++: "ReactAndroid::reactnativejni" but the target was not found. Perhaps C/C++: find_package() call is missing for an IMPORTED target, or an ALIAS target C/C++: is missing? C/C++: CMake Error at CMakeLists.txt:14 (add_library): C/C++: Target "realm-js-android-binding" links to target C/C++: "ReactAndroid::turbomodulejsijni" but the target was not found. Perhaps a C/C++: find_package() call is missing for an IMPORTED target, or an ALIAS target C/C++: is missing? C/C++: CMake Generate step failed. Build files cannot be regenerated correctly.

Stacktrace & log output

https://files.slack.com/files-pri/T4ZL804RH-F07TE3DRYRY/realm-error

Can you reproduce the bug?

Always

Reproduction Steps

npm run android

Version

12.13.1

What services are you using?

Local Database only

Are you using encryption?

Yes

Platform OS and version(s)

0.76.0

Build environment

Which debugger for React Native: .. React Native DevTools

Cocoapods version

No response

sync-by-unito[bot] commented 3 days ago

➤ PM Bot commented:

Jira ticket: RJS-2911

felipegmg commented 3 days ago

same issue here!

coder-xiaomo commented 2 days ago

Same issue here, after upgrading from react-native 0.75.4 to 0.76

using realm@12.13.1

> Task :realm:configureCMakeDebug[arm64-v8a]
C/C++: CMake Error at CMakeLists.txt:14 (add_library):
C/C++:   Target "realm-js-android-binding" links to target
C/C++:   "ReactAndroid::reactnativejni" but the target was not found.  Perhaps a
C/C++:   find_package() call is missing for an IMPORTED target, or an ALIAS target
C/C++:   is missing?
C/C++: CMake Error at CMakeLists.txt:14 (add_library):
C/C++:   Target "realm-js-android-binding" links to target
C/C++:   "ReactAndroid::turbomodulejsijni" but the target was not found.  Perhaps a
C/C++:   find_package() call is missing for an IMPORTED target, or an ALIAS target
C/C++:   is missing?
C/C++: CMake Generate step failed.  Build files cannot be regenerated correctly.

> Task :realm:configureCMakeDebug[arm64-v8a] FAILED
Jean-Diniz commented 2 days ago

The same occurs for v20.0.0

bhojaniasgar commented 1 day ago

Also Facing this same Issue

Screenshot 2024-10-26 at 1 56 37 PM