Slackbot
08/09/2023, 4:31 PMTom Koptel
08/09/2023, 6:54 PMnodeExecutableAndArgs in react project extension.
project.ext.react = [
nodeExecutableAndArgs: []
]
Another reason is that you are using newer version of the Gradle and the script was tested over the older version that supported the spread operator
https://github.com/expo/expo/blob/main/packages/expo-constants/scripts/get-app-config-android.gradle#L40C42-L40C42
Yet another reason is that all set is well only that other gradle uses ListProperty in the place where nodeExecutableAndArgs is defined instead of the array type.
Try to use the same Gradle version as an expo project which is 8.0.1 https://github.com/expo/expo/blob/main/android/gradle/wrapper/gradle-wrapper.properties#L3