birdofpreyru / react-native-fs

File system access for React Native
https://dr.pogodin.studio/docs/react-native-file-system
Other
169 stars 13 forks source link

dr.pogodin_react-native-fs:compileDebugKotlin FAILED #77

Closed masarbazi closed 1 hour ago

masarbazi commented 3 hours ago

Hello, trying to start new project with react-native-fs installed, and getting compilation erroršŸ’„ I'm using RN latest version 76.0 with new architecture enabled by default. Versions I use:

...
    "react": "18.3.1",
    "react-native": "0.76.0",
    "@dr.pogodin/react-native-fs": "^2.28.1",
...

Error log while compiling:

> Task :dr.pogodin_react-native-fs:compileDebugKotlin FAILED
e: file:///E:/coding/projects/englisit/mobile-cli-rn.76/node_modules/@dr.pogodin/react-native-fs/android/src/main/java/com/drpogodin/reactnativefs/ReactNativeFsModule.kt:985:24 Null can not be a value of a non-null type String

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':dr.pogodin_react-native-fs:compileDebugKotlin'.
> A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction
   > Compilation error. See log for more details
birdofpreyru commented 1 hour ago

Closed in favor of #76 — the upgrade to RN@0.76 is still pending.