eas-cli icon indicating copy to clipboard operation
eas-cli copied to clipboard

`eas update` fails with error: [GraphQL] Metadata may only be queried for 1400 assets at a time

Open mattijsf opened this issue 2 years ago • 1 comments

Summary

When I run eas update --branch preview --message "Testing EAS 1" I get the following error:

[expo-cli] Export was successful. Your exported files can be found in dist
✔ Built bundle!
✖ Failed to upload assets
    CombinedError: [GraphQL] Metadata may only be queried for 1400 assets at a time.

I do have a dependency that include a large set of images. However, with the classic build system I was able to publish it using expo publish. These are the number of assets after running the above eas update command.

ls dist/assets | wc -l
    2192

Managed or bare?

Managed

Environment

npx expo-env-info

  expo-env-info 1.0.5 environment info:
    System:
      OS: macOS 12.5
      Shell: 5.8.1 - /bin/zsh
    Binaries:
      Node: 16.14.2 - /usr/local/bin/node
      Yarn: 1.22.19 - ~/.yarn/bin/yarn
      npm: 8.15.0 - /usr/local/bin/npm
      Watchman: 2022.07.04.00 - /usr/local/bin/watchman
    Managers:
      CocoaPods: 1.11.3 - /usr/local/bin/pod
    SDKs:
      iOS SDK:
        Platforms: DriverKit 21.4, iOS 15.4, macOS 12.3, tvOS 15.4, watchOS 8.5
      Android SDK:
        API Levels: 28, 29, 30, 31, 32
        Build Tools: 28.0.3, 30.0.2, 30.0.3, 32.0.0, 32.1.0, 33.0.0
        System Images: android-30 | Intel x86 Atom_64, android-30 | Google APIs Intel x86 Atom, android-30 | Google Play Intel x86 Atom, android-30 | Google Play Intel x86 Atom_64, android-31 | Intel x86 Atom_64
    IDEs:
      Android Studio: 2021.2 AI-212.5712.43.2112.8609683
      Xcode: 13.3.1/13E500a - /usr/bin/xcodebuild
    npmPackages:
      @expo/webpack-config: ^0.17.2 => 0.17.2 
      babel-preset-expo: ~9.2.0 => 9.2.0 
      expo: ^46.0.6 => 46.0.6 
      react: 18.0.0 => 18.0.0 
      react-dom: 18.0.0 => 18.0.0 
      react-native: 0.69.4 => 0.69.4 
      react-native-web: ~0.18.7 => 0.18.7 
    npmGlobalPackages:
      eas-cli: 0.60.0
      expo-cli: 6.0.2
    Expo Workflow: managed
expo doctor
🎉 Didn't find any issues with the project!

Error output

output.log

Reproducible demo or steps to reproduce from a blank project

Not easily doable to due to needing a dependency with large set of assets.

mattijsf avatar Aug 13 '22 12:08 mattijsf

did you find a solution?

vexii avatar Sep 30 '22 14:09 vexii

I have a react-native game in development, and i cannot use eas update because of this restriction. I used expo publish just fine before upgrading to expo 46 and transitioning to eas update.

wardjk87 avatar Oct 26 '22 03:10 wardjk87

Same problem here

maupeon avatar Feb 28 '23 22:02 maupeon