expo / eas-cli

Fastest way to build, submit, and update iOS and Android apps
https://docs.expo.dev/eas/
MIT License
718 stars 77 forks source link

EAS update Stuck at uploading #1774

Closed filippofinke closed 1 year ago

filippofinke commented 1 year ago

Build/Submit details page URL

No response

Summary

Running eas update get stuck at the uploading phase.

Stuck at: Uploading (49/51)

Managed or bare?

Managed

Environment

npx expo-env-info

expo-env-info 1.0.5 environment info:
    System:
      OS: macOS 13.2
      Shell: 5.8.1 - /bin/zsh
    Binaries:
      Node: 18.14.0 - ~/.nvm/versions/node/v18.14.0/bin/node
      Yarn: 1.22.19 - ~/.nvm/versions/node/v18.14.0/bin/yarn
      npm: 9.6.4 - ~/.nvm/versions/node/v18.14.0/bin/npm
    SDKs:
      iOS SDK:
        Platforms: DriverKit 22.4, iOS 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4
    IDEs:
      Android Studio: 2022.1 AI-221.6008.13.2211.9619390
      Xcode: 14.3/14E222b - /usr/bin/xcodebuild
    npmPackages:
      @expo/webpack-config: ^0.17.2 => 0.17.4 
      expo: ~47.0.12 => 47.0.14 
      react: 18.1.0 => 18.1.0 
      react-dom: 18.1.0 => 18.1.0 
      react-native: 0.70.8 => 0.70.8 
      react-native-web: ~0.18.9 => 0.18.12 
    npmGlobalPackages:
      eas-cli: 3.9.0
      expo-cli: 6.3.2
    Expo Workflow: managed

expo doctor

 Didn't find any issues with the project!

Error output

No response

Reproducible demo or steps to reproduce from a blank project

-

filippofinke commented 1 year ago
✔ Exported bundle(s)
missingAsset {
  fileExtension: '.bundle',
  contentType: 'application/javascript',
  path: '/Users/filippofinke/Desktop/Progetti/C4110Z.1-2023-Team-5/dist/bundles/ios-ccfe2a3b3c5f3ffbc7d4818269fd3f8c.js',
  storageKey: 'XXXXXXXXX'
}
missingAsset {
  fileExtension: '.bundle',
  contentType: 'application/javascript',
  path: '/Users/filippofinke/Desktop/Progetti/C4110Z.1-2023-Team-5/dist/bundles/android-f07e7edb15136495e505f6d7e94ad63d.js',
  storageKey: 'XXXXXXXXXXXXXX'
}
⠧ Uploading (49/51)

It is stuck uploading these bundles files.

AronBe commented 1 year ago

I have the same actually, don't think it is the upload speed, but maybe still related to the size of the bundle?

.js file is 30mb and .map is 14.3mb. I have 4 quite big json files, 2 around 10mb, I assume those will be the problem.

image

quinlanj commented 1 year ago

@filippofinke can you share:

filippofinke commented 1 year ago

@filippofinke can you share:

  • your package.json
  • size of your bundle (ie) ls -lh /Users/filippofinke/Desktop/Progetti/C4110Z.1-2023-Team-5/dist/bundles/ios-ccfe2a3b3c5f3ffbc7d4818269fd3f8c.js
{
  "name": "c4110z.1-2023-team-5",
  "version": "1.0.0",
  "main": "node_modules/expo/AppEntry.js",
  "scripts": {
    "start": "expo start",
    "android": "expo start --android",
    "ios": "expo start --ios",
    "web": "expo start --web",
    "test": "jest --watchAll",
    "deploy": "cd appwrite && node deploy.js"
  },
  "jest": {
    "preset": "jest-expo"
  },
  "dependencies": {
    "@expo/vector-icons": "^13.0.0",
    "@expo/webpack-config": "^0.17.2",
    "@gorhom/bottom-sheet": "^4.4.5",
    "@miblanchard/react-native-slider": "^2.3.1",
    "@react-native-async-storage/async-storage": "~1.17.3",
    "@react-native-community/datetimepicker": "6.5.2",
    "@react-navigation/bottom-tabs": "^6.0.5",
    "@react-navigation/native": "^6.0.2",
    "@react-navigation/native-stack": "^6.1.0",
    "@reduxjs/toolkit": "^1.9.3",
    "@turf/boolean-point-in-polygon": "^6.5.0",
    "@turf/helpers": "^6.5.0",
    "expo": "~47.0.12",
    "expo-asset": "~8.7.0",
    "expo-barcode-scanner": "~12.1.0",
    "expo-constants": "~14.0.2",
    "expo-font": "~11.0.1",
    "expo-linking": "~3.3.1",
    "expo-location": "~15.0.1",
    "expo-notifications": "~0.17.0",
    "expo-splash-screen": "~0.17.5",
    "expo-status-bar": "~1.4.2",
    "expo-system-ui": "~2.0.1",
    "expo-updates": "~0.15.6",
    "expo-web-browser": "~12.0.0",
    "i18next": "^22.4.13",
    "native-base": "^3.4.25",
    "openfoodfac-ts": "^0.3.1",
    "react": "18.1.0",
    "react-dom": "18.1.0",
    "react-i18next": "^12.2.0",
    "react-native": "0.70.8",
    "react-native-autocomplete-dropdown": "github:filippofinke/react-native-autocomplete-dropdown",
    "react-native-gesture-handler": "~2.8.0",
    "react-native-maps": "1.3.2",
    "react-native-onboarding-swiper": "^1.2.0",
    "react-native-open-maps": "^0.4.0",
    "react-native-reanimated": "~2.12.0",
    "react-native-safe-area-context": "4.4.1",
    "react-native-screens": "~3.18.0",
    "react-native-svg": "13.4.0",
    "react-native-web": "~0.18.9",
    "react-redux": "^8.0.5",
    "redux-persist": "^6.0.0",
    "expo-image-picker": "~14.0.2",
    "@react-native-community/netinfo": "9.3.5"
  },
  "devDependencies": {
    "@babel/core": "^7.12.9",
    "@types/react": "~18.0.24",
    "@types/react-native": "~0.70.6",
    "@types/react-native-onboarding-swiper": "^1.1.4",
    "jest": "^26.6.3",
    "jest-expo": "~47.0.1",
    "react-test-renderer": "18.1.0",
    "typescript": "^4.6.3"
  },
  "private": true
}

ls -lh /Users/filippofinke/Desktop/Progetti/C4110Z.1-2023-Team-5/dist/bundles/ios-fe8149e88fd47d0f5370c581bea091e1.js

-rw-r--r--  1 filippofinke  staff    25M Apr 19 13:14 /Users/filippofinke/Desktop/Progetti/C4110Z.1-2023-Team-5/dist/bundles/ios-fe8149e88fd47d0f5370c581bea091e1.js
gdanov commented 1 year ago

I'm also having this problem since a week

expo-bot commented 1 year ago

Thank you for filing this issue! This comment acknowledges we believe this may be a bug and there’s enough information to investigate it. However, we can’t promise any sort of timeline for resolution. We prioritize issues based on severity, breadth of impact, and alignment with our roadmap. If you’d like to help move it more quickly, you can continue to investigate it more deeply and/or you can open a pull request that fixes the cause.

quinlanj commented 1 year ago

@filippofinke thank you for sharing. We will work on fixing this

quinlanj commented 1 year ago

We've found the problem and deployed a fix on our servers that should allow you to upload large assets now. Could you try running the update command again to see if it runs successfully? I'll keep this issue open a bit longer so folks can report back. @filippofinke @AronBe

filippofinke commented 1 year ago

Can confirm, it is now working!

✔ Exported bundle(s)
✔ Uploaded 2 app bundles
✔ Uploading assets skipped - no new assets found
✔ Channel: master pointed at branch: master
✔ Published!

Thank you 👍

AronBe commented 1 year ago

Published on my side as well, thank you!!

quinlanj commented 1 year ago

Thanks for the speedy replies everyone :) Glad to know it works for you all now, closing this issue.