tamagui: Tamagui starter not compatible with Expo EAS build

Describe the bug Starting a new project with npm create tamagui-app@latest will not successful build on Expo EAS services. This is mostly I think due to the fact that the tamagui-app starter uses yarn v3 which seems not compatible with Expo services.

To Reproduce Run npm create tamagui-app@latest and install all dependencies. After that drop a minimal eas.json into the apps/expo folder:

{
  "build": {
    "development": {
      "distribution": "internal",
      "android": {
        "buildType": "apk"
      },
      "ios": {
        "simulator": true,
        "image": "latest"
      }
    },
    "production": {
      "distribution": "store",
      "android": {
        "buildType": "app-bundle"
      }
    }
}

Last run following command in apps/expo folder

eas build --profile development --platform ios

See attached screenshot that on ios builds the eas build hangs and does not complete.

System Info (please complete the following information):

  System:
    OS: macOS 12.4
    CPU: (10) arm64 Apple M1 Max
    Memory: 3.20 GB / 64.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 16.16.0 - ~/.nvm/versions/node/v16.16.0/bin/node
    Yarn: 3.2.0 - ~/.nvm/versions/node/v16.16.0/bin/yarn
    npm: 8.13.2 - ~/.nvm/versions/node/v16.16.0/bin/npm
  Browsers:
    Brave Browser: 105.1.43.88
    Safari: 15.5

Screenshot 2022-08-18 at 17 07 42

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 20 (15 by maintainers)

Most upvoted comments

@hlynurstef I haven’t found a solution yet…

I’m seeing this on my first attempt, despite runtime being in deps:

image

Anyone else?