-
Notifications
You must be signed in to change notification settings - Fork 221
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Description
I am getting below issues when i initiated the local module
> Task :react-native-vision-camera:generateCodegenSchemaFromJavaScript
No modules to process in combine-js-to-schema-cli. If this is unexpected, please check if you set up your NativeComponent correctly. See combine-js-to-schema.js for how codegen finds modules.
> Task :react-native-posedetection:compileDebugKotlin FAILED
e: file:///Users/itech/Desktop/Learning_Room/Office-reactnative-template/reactnativetemplateapp/node_modules/react-native-posedetection/android/src/main/java/com/posedetection/PosedetectionModule.kt:8:3 Unresolved reference 'NativePosedetectionSpec'.
e: file:///Users/itech/Desktop/Learning_Room/Office-reactnative-template/reactnativetemplateapp/node_modules/react-native-posedetection/android/src/main/java/com/posedetection/PosedetectionModule.kt:10:3 'getName' overrides nothing.
e: file:///Users/itech/Desktop/Learning_Room/Office-reactnative-template/reactnativetemplateapp/node_modules/react-native-posedetection/android/src/main/java/com/posedetection/PosedetectionPackage.kt:12:12 Return type mismatch: expected 'com.facebook.react.bridge.NativeModule?', actual 'com.posedetection.PosedetectionModule?'.
[Incubating] Problems report is available at: file:///Users/itech/Desktop/Learning_Room/Office-reactnative-template/reactnativetemplateapp/android/build/reports/problems/problems-report.html
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':react-native-posedetection:compileDebugKotlin'.
> A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
> Compilation error. See log for more details
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
For more on this, please refer to https://docs.gradle.org/8.13/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
BUILD FAILED in 6s
392 actionable tasks: 109 executed, 245 from cache, 38 up-to-date
Error: /Users/itech/Desktop/Learning_Room/Office-reactnative-template/reactnativetemplateapp/android/gradlew app:assembleDebug -x lint -x test --configure-on-demand --build-cache -PreactNativeDevServerPort=8081 -PreactNativeArchitectures=arm64-v8a,armeabi-v7a exited with non-zero code: 1
Error: /Users/itech/Desktop/Learning_Room/Office-reactnative-template/reactnativetemplateapp/android/gradlew app:assembleDebug -x lint -x test --configure-on-demand --build-cache -PreactNativeDevServerPort=8081 -PreactNativeArchitectures=arm64-v8a,armeabi-v7a exited with non-zero code: 1
at ChildProcess.completionListener (/Users/itech/Desktop/Learning_Room/Office-reactnative-template/reactnativetemplateapp/node_modules/@expo/spawn-async/src/spawnAsync.ts:67:13)
at Object.onceWrapper (node:events:633:26)
at ChildProcess.emit (node:events:518:28)
at maybeClose (node:internal/child_process:1101:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:304:5)
...
at spawnAsync (/Users/itech/Desktop/Learning_Room/Office-reactnative-template/reactnativetemplateapp/node_modules/@expo/spawn-async/src/spawnAsync.ts:28:21)
at spawnGradleAsync (/Users/itech/Desktop/Learning_Room/Office-reactnative-template/reactnativetemplateapp/node_modules/@expo/cli/src/start/platforms/android/gradle.ts:134:28)
at assembleAsync (/Users/itech/Desktop/Learning_Room/Office-reactnative-template/reactnativetemplateapp/node_modules/@expo/cli/src/start/platforms/android/gradle.ts:83:16)
at runAndroidAsync (/Users/itech/Desktop/Learning_Room/Office-reactnative-template/reactnativetemplateapp/node_modules/@expo/cli/src/run/android/runAndroidAsync.ts:62:24)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Packages
- create-react-native-library
- react-native-builder-bob
Selected options
I created local module for implementig medipipe poselandmark, but when i try to intiate the local module and tried to run it on android to test if it is workng initialy or not it showed me the above error
Link to repro
will provide you soon
Environment
Expo : 53.0.23
React Native : 0.79.6
System: Mac
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working