`eas build -p ios` fails with eas-cli@0.43.0

I upgraded to eas-cli@0.43.0 today and now eas build -p ios fails with the error:

# eas build -p ios
✔ Linked to project @owencm/fabbears (​https://expo.dev/accounts/owencm/projects/fabbears​)
    TypeError: (0 , prebuild_config_1.getPrebuildConfigAsync) is not a function

I can’t find any reference to this error online, and get no other information.

I am using the managed workflow. My yarn.lock file is here: # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.# yarn lockfil - Pastebin.com

I’m not sure if this even works with eas, but I also ran

EXPO_DEBUG=1 EXPO_APP_STORE_DEBUG=1 eas build -p ios
-- Enabled debug logging --
- Linking to project @owencm/fabbears
✔ Linked to project @owencm/fabbears (​https://expo.dev/accounts/owencm/projects/fabbears​)
    TypeError: (0 , prebuild_config_1.getPrebuildConfigAsync) is not a function

Would love any pointers!

do you install eas-cli globally with yarn? we have seen some cases where dependencies are not installed correctly when using yarn for global packages. i’d recommend using npm instead, or yarn global remove eas-cli && yarn global add eas-cli

1 Like

Yes, I did add eas-cli globally with yarn.

Removing eas-cli and re-installing globally (still with yarn) fixed it, thanks!

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.