React native build is failing. It was working well yesterday, I haven’t touched any android files and i haven’t installed any new package.
I have tried to
clean cache forcefully.
I have tried deleting
I have tried deleting android
I have tried reinstalling
I have also tried to remove this line from
apply from: file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle");
Nothing worked for me.
I am getting this error on both
gradlew clean and
npx react-native run-android.
* Where: Script 'E:[email protected]rm-androidnative_modules.gradle' line: 231 * What went wrong: A problem occurred evaluating script. > Calling `[node, E:[email protected]n.js, config]` finished with an exception. Error message: groovy.json.JsonException : Unable to determine the current character, it is not a string, number, array, or object The current character read is 'E' with an int value of 69 Unable to determine the current character, it is not a string, number, array, or object line number 1 index number 0 Error: EPERM: operation not permitted, scandir 'E:/PROJECTS/rnzone/Minex/android/app/build/intermediates/signing_config/release/out/signing-config.json'
As far as the
EPERM error is concerned, I have also tried it with
cmd as administrator. I am on
Any ideas what’s wrong?
Source: Android Questions