Closed coffteam2020 closed 3 years ago
@coffteam2020 I'd need more context to help wit this. Can you pease reopen this issue using "bug" template and answer all relevant questions?
From what I see here I can only suspect you have not called yarn rnuc ...yaml
before trying to compile the app.
We use env files to use multiple flavors. Not yaml file. For rnuc, we use: npm run rnuc ../env. @maxkomarychev
I cant help if you dont share all possible details or provide a reproducible project.
The fact it happens only on CI hints there is something happening differently on CI and your computer.
Thanks.
Personally when I had this it was because one of the steps in AppCenter would clean our working directory. I added the rnuc
command to the end of our appcenter-post-clone.sh
file to ensure the config files are set before building.
@isilher would you mind opening a pull request and adding this know-how to the cookbook?
Sure! Expect one in the coming week.
hey @coffteam2020
can you please try to apply a fix suggested by @isilher in troubleshooting guide ?
Where: Script '/Users/runner/work/1/s/node_modules/react-native-ultimate-config/android/rnuc.gradle' line: 17
What went wrong: A problem occurred evaluating script.
I think it could not find any yaml file in root, instead of android folder. How can I resolve this? @maxkomarychev @sdenaci @irohitb, thanks for incredible lib, hope you give me a solution to fix this