Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

CMake error: hermes-engine::libhermes target not found when building react-native-worklets-core with New Architecture enabled

Abierto
#269 0 comentarios 2 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
35/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
android, cmake, cpp, react-native

Línea de trabajo

Start by reproducing the Android build with newArchEnabled=true and hermesEnabled=true, then inspect the CMake configuration and patches/react-native-worklets-core+1.6.2.patch mentioned in the issue. Trace why rnworklets cannot find hermes-engine::libhermes. Done means the project builds successfully with Hermes and the New Architecture enabled.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Description

When building an Android project using react-native-worklets-core, the build fails with a CMake error related to Hermes linking.

Error

Target "rnworklets" links to target "hermes-engine::libhermes" but the target was not found.

Environment

  • React Native: [your version]
  • react-native-reanimated: [your version]
  • react-native-worklets-core: 1.6.2
  • Platform: Android
  • Hermes: Enabled
  • New Architecture: Enabled

Steps to Reproduce

  1. Enable new architecture:

newArchEnabled=true
hermesEnabled=true

  1. Install dependencies
  2. Run:

npx react-native run-android

Expected Behavior

Project should build successfully with Hermes + New Architecture.

Actual Behavior

Build fails during CMake configuration step.

Patch / Diff

PASTE YOUR PATCH FILE CONTENT HERE
Additional Notes

Disabling new architecture (newArchEnabled=false) resolves the issue.


---

## ✅ Step 6: Paste your patch

👉 Copy entire content of:

```bash
patches/react-native-worklets-core+1.6.2.patch
Lenguaje dominante
C++
Estrellas
791
Forks
65
Métricas de merge de PR
Sin PR fusionados en 30 d

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de margelo/react-native-worklets-core

Todos los issues de margelo/react-native-worklets-core

Issues similares

Más issues de C++

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.