When I type expo build:ios it always returns 504. Do I wait or what?

Context:
I just finished a news app using Expo for the first time. I want to upload it to the app store.
When I type expo build:ios it shows this:
➜ expo build:ios -t archive
┌──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ │
│ There is a new version of expo-cli available (4.12.0). │
│ You are currently using expo-cli 3.11.7 │
│ Install expo-cli globally using the package manager of your choice; for example: npm install -g expo-cli to get the latest version │
│ │
└──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
Checking if there is a build in progress…

Please enter your Apple Developer Program account credentials. These credentials are needed to manage certificates, keys and provisioning profiles in
your Apple Developer account.
The password is only used to authenticate with Apple and never stored.
? Apple ID: jackylam8833@gmail.com
? Password (for jackylam8833@gmail.com): [hidden]
Trying to authenticate with Apple Developer Portal…
Authenticated with Apple Developer Portal successfully!
Only 1 team associated with your account, using Apple Team with ID: 252CJ9Y6R6
We are missing the following credentials from you: Apple Distribution Certificate, Apple Push Notifications service key, Apple Provisioning Profile
? How would you like to upload your credentials? Expo handles all credentials, you can still provide overrides
? Will you provide your own Apple Distribution Certificate? Let Expo handle the process
:heavy_check_mark: Didn’t find any previously uploaded Apple Distribution Certificate
? Will you provide your own Apple Push Notifications service key? Let Expo handle the process
⠹ Looking for Apple Push Notifications service key you might have created before…
⠴ Looking for Apple Push Notifications service key you might have created before…
:heavy_check_mark: Didn’t find any previously uploaded Apple Push Notifications service key
⠋ Ensuring App ID exists on Apple Developer Portal…
⠸ Ensuring App ID exists on Apple Developer Portal…
⠴ Ensuring App ID exists on Apple Developer Portal…
⠇ Ensuring App ID exists on Apple Developer Portal…
⠋ Ensuring App ID exists on Apple Developer Portal…
⠙ Ensuring App ID exists on Apple Developer Portal…
⠸ Ensuring App ID exists on Apple Developer Portal…
⠼ Ensuring App ID exists on Apple Developer Portal…
⠴ Ensuring App ID exists on Apple Developer Portal…
⠇ Ensuring App ID exists on Apple Developer Portal…
⠏ Ensuring App ID exists on Apple Developer Portal…
⠋ Ensuring App ID exists on Apple Developer Portal…
⠙ Ensuring App ID exists on Apple Developer Portal…
⠸ Ensuring App ID exists on Apple Developer Portal…
⠼ Ensuring App ID exists on Apple Developer Portal…
⠴ Ensuring App ID exists on Apple Developer Portal…
⠦ Ensuring App ID exists on Apple Developer Portal…
⠏ Ensuring App ID exists on Apple Developer Portal…
⠙ Ensuring App ID exists on Apple Developer Portal…
:heavy_check_mark: App ID created with bundle identifier com.boblam.newsdelivery.
We’re going to generate:

  • Apple Distribution Certificate
  • Apple Push Notifications service key
  • Apple Provisioning Profile
    :heavy_check_mark: Generated Apple Distribution Certificate
    :heavy_check_mark: Generated Apple Push Notifications service key
    :heavy_check_mark: Generated Apple Provisioning Profile
    Request failed with status code 504

version you are using was released in April 2020

it is still not working.

So you’re using version 4.12.0 of expo-cli now?

Wait it is working now. I was using yarn and npm at the same time. Thanks for the tips!