Search code examples
javascripterror-handlingexpoeas

I'm having problems running eas build


how are you? I'm having problems running eas build. It says export failed and the error is "Cannot find module 'expo/bin/cli.js". Could you help me with the solution. I tried things like using a different version of node or expo, but I still get the errors. Here is a screenshot of what happened, thank you all.

Image of error

1

I would like to understand the error, fix it, and be able to use the expo updates.


Solution

  • Did you follow the installation instructions? https://docs.expo.dev/build/setup/

    Especially eas build:configure

    If you installed it with yarn, you should run it like yarn eas update, because it's not global.