When I execute the following command from my app CL eas build --profile development --platform all the eas CLI kicks off builds for both iOS.
Over in the online expo.dev builds section, the process gets stuck in the Prebuild step with the following output: yarn run v1.22.17 $ /Users/expo/workingdir/build/node_modules/.bin/expo prebuild --no-install --platform ios [stderr] This command requires Expo CLI. Do you want to install it globally [Y/n]?
[Solved] I was able to get the EAS build pipeline to complete the Prebuild step by triggering a download of the latest Expo-CLI by providing the latest version in my .eas.json build configuration
here is the build for ios. here is the droid build link. Im clearly able to progress beyond the Prebuild step, but am still running into Fastlane and Gradel errors
also it looks like you’re using yarn workspaces. do you have another app in the repository that uses an old version of the expo package or installs expo-cli?
do you have another version of the expo package in your project? run yarn why expo to see which versions there are. my guess is you have some old version like expo@45 still installed (possibly through a transitive dependency, or in another project in your monorepo), and yarn ends up linking the expo bin to that. expo@45 doesn’t use the “local cli” but 47 does.
ha! That’s probably it: we’re moving from 45 to 47 and I added a bunch of nohoist-ed packages (expo included) to avoid all the weirdness that comes with it. We used to have expo as a hoisted dev dep and it wasn’t removed. After removing it, the build succeeded, thank you! One thing to note tho, expo doctor is still failing (?)