-
Notifications
You must be signed in to change notification settings - Fork 907
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A problem occurred evaluating script. > Command '[node, [PROJECT_PATH]/node_modules/@react-native-community/cli/build/bin.js, config, --platform, android]' failed with exit code 1. #2502
Comments
+1 Same thing's happening. I read solutions like putting resolutions but didn't help. |
All this log says is that the JS script failed, which could be for any number of reasons. Can you get the script's output (maybe further up in the Gradle output), or run it directly outside of the Gradle build, so we can see what's happening? node node_modules/@react-native-community/cli/build/bin.js config --platform android |
@robhogan I got an error on that command
Below are some more details from the experienced error. I tried changing the cli version to latest and it's the same, same when going down.
|
@robhogan @xgenem's description above is what we are receiving as well. Seems as though when @react-native-community/cli/build/bin.js is run we get the Agreed as well with the fact that we have tried downgrading the CLI with no different behavior. Do you have any suggestions here? |
@robhogan @xgenem It seems as though this might be an issue with the version of Seems as though this was found and fixed in Would this be able to be updated for |
There hasn't been any activity on this issue in the past 3 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 7 days. |
Ask your Question
Similar, but not the same as #2469.
My team and I have been running into this android build issue for a month now and have not been able to come up with a solution. This occurs when we run either a
./gradlew clean
or./gradlew build
.npx react-native info
output:Any help with this would be much appreciated, thank you.
The text was updated successfully, but these errors were encountered: