Skip to content

Incompatible with Gradle Configuration Cache (Build Fails) #241

Description

@ZandercraftGames

When org.gradle.configuration-cache is set to true in gradle.properties, builds fail due to react-native-nitro-sqlite executing NodeJS code to get the contents of the react-native package.json file.

FAILURE: Build failed with an exception.

* Where:
Build file 'D:\WebstormProjects\FOX\node_modules\react-native-nitro-sqlite\android\build.gradle' line: 61

* What went wrong:
Configuration cache problems found in this build.

1 problem was found storing the configuration cache.
- Build file '..\node_modules\react-native-nitro-sqlite\android\build.gradle': line 61: external process started 'node --print require.resolve('react-native/package.json')'
  See https://docs.gradle.org/9.0.0/userguide/configuration_cache_requirements.html#config_cache:requirements:external_processes

See the complete report at file:///D:/WebstormProjects/FOX/android/build/reports/configuration-cache/9fvn5smucgpiq2rrlzzb5wc72/43utdihyq22dc050e5qm7ci8t/configuration-cache-report.html
> Starting an external process 'node --print require.resolve('react-native/package.json')' during configuration time is unsupported.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions