SDK 41 EAS build failed, both platforms, managed - "the file appears to be corrupt: "ENOENT: no such file or directory"

I’m trying to eas build --platform all --non-interactive but the build keeps failing.
This is the output:

This is eas.json:

{
  "builds": {
    "android": {
      "release": {
        "workflow": "managed",
        "releaseChannel": "v1.0.1",
        "cache": {
          "key": "v1.0.1"
        }
      }
    },
    "ios": {
      "release": {
        "workflow": "managed",
        "releaseChannel": "v1.0.1",
        "cache": {
          "key": "v1.0.1"
        }
      }
    }
  }
}

This is the error text:

stderr] error http://10.254.24.9:4873/rxjs/-/rxjs-6.6.7.tgz: Extracting tar content of undefined failed, the file appears to be corrupt: “ENOENT: no such file or directory, stat ‘/Users/expo/Library/Caches/Yarn/v6/npm-rxjs-6.6.7-90ac018acabf491bf65044235d5863c4dab804c9-integrity/node_modules/rxjs/_esm2015/internal/operators/expand.js.map’”`

This is the expo diagnostics output:

Expo CLI 4.4.8 environment info:
    System:
      OS: macOS 11.4
      Shell: 5.8 - /bin/zsh
    Binaries:
      Node: 12.16.3 - ~/.nvm/versions/node/v12.16.3/bin/node
      Yarn: 1.22.4 - ~/.nvm/versions/node/v12.16.3/bin/yarn
      npm: 6.14.9 - ~/.nvm/versions/node/v12.16.3/bin/npm
      Watchman: 4.9.0 - /usr/local/bin/watchman
    Managers:
      CocoaPods: 1.9.1 - /usr/local/bin/pod
    SDKs:
      iOS SDK:
        Platforms: iOS 13.7, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
    IDEs:
      Android Studio: 4.2 AI-202.7660.26.42.7351085
      Xcode: 11.7/11E801a - /usr/bin/xcodebuild
    npmPackages:
      expo: ^41.0.0 => 41.0.1
      react: 16.13.1 => 16.13.1
      react-dom: 16.13.1 => 16.13.1
      react-native: https://github.com/expo/react-native/archive/sdk-41.0.0.tar.gz => 0.63.2
      react-native-web: ~0.13.12 => 0.13.18
    npmGlobalPackages:
      expo-cli: 4.4.8
    Expo Workflow: managed

Any idea?

I removed yarn.lock, forcing eas build to use npm instead of yarn and it works around this. but yarn needs to work.

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