My CircleCI build for my ExpoKit ejected app started to fail today during expo publish. I found that the latest version of expo-cli, 2.17.0, is issuing a prompt of:
It seems your assets have not been optimized yet.
? Do you want to optimize assets now? (Y/n) ?
And since I am running on CircleCI, I cannot answer the question and after a 10 minute timeout the build fails.
I tried adding --non-interactive to the expo publish step in my config.yml, but then it gives me an error saying
[21:46:54] It seems your assets have not been optimized yet.
[21:46:54] Input is required, but Expo CLI is in non-interactive mode.
Required input:
Do you want to optimize assets now?
Exited with code 1
I had to change my config.yml to install expo-cli@2.16.1 to work around this.