zkmopro / zkmopro/react-native-app

Build FAILS with > Task :mopro:compileDebugKotlin FAILED

Open
#9 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
6
Forks
3
PR merge metrics
No merged PRs in 30d

Description

I installed the react-native template using mopro create

After installing dependencies, I run npm run android but I get this error

> Task :mopro:compileDebugKotlin FAILED
e: file:///Users/ugochukwu/Desktop/projects/mopro-app/react-native/modules/mopro/android/src/main/java/expo/modules/mopro/MoproModule.kt:21:52 Type mismatch: inferred type is Map<String, List<String>> but String was expected
e: file:///Users/ugochukwu/Desktop/projects/mopro-app/react-native/modules/mopro/android/src/main/java/expo/modules/mopro/MoproModule.kt:21:52 No value passed for parameter 'proofLib'

This issue persists in IOS as well. Could anyone explain what's going on?

Thanks!

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the failure with the reported npm run android command, then inspect line 21 of react-native/modules/mopro/android/src/main/java/expo/modules/mopro/MoproModule.kt alongside the full Gradle error. Check the corresponding iOS build separately, since the issue reports the same problem there. Done means the template builds successfully on Android and iOS.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin, react-native
Domain
build-system, mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.