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.
Do you want to optimize assets now?
Exited with code 1
I had to change my config.yml to install firstname.lastname@example.org to work around this.
I have exactly the same issue. It keeps breaking my CI:
2019-05-07T03:30:07.2367290Z [03:30:07] It seems your assets have not been optimized yet.
2019-05-07T03:30:07.2372690Z [03:30:07] Input is required, but Expo CLI is in non-interactive mode.
2019-05-07T03:30:07.2372850Z Required input:
2019-05-07T03:30:07.2372920Z > Do you want to optimize assets now?
Got the same issue, had to install the latest working version for us (2.16.1).
Sorry for the inconvenience here. I’m looking into this, hopefully we will have a fix out soon!
PR #583 solves this, and was just merged and published.
Latest version of Expo CLI (2.17.1) has the fix
Thanks for letting us know about this issue
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.