Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Install dependencies" phase takes longer then expected error eas build android #2625

Open
HasithaJayatilake opened this issue Oct 16, 2024 · 3 comments

Comments

@HasithaJayatilake
Copy link

HasithaJayatilake commented Oct 16, 2024

Build/Submit details page URL

https://expo.dev/accounts/fill-up-today/projects/fill-up-today/builds/d2959d7b-0893-44dd-bc8f-30ea7e00dda3

Summary

Same as a previously reported (issue)[https://github.com//issues/2493]

The build seems to fail sporadically - and we have not been able to identify a root cause. The build seems to succeed randomly with no config or dependency changes (no changes to eas.json, app.json or package.json). We have tried using a large worker as well, to no avail.

Managed or bare?

Managed

Environment

env info

expo-env-info 1.2.0 environment info:
System:
OS: Windows 11 10.0.22631
Binaries:
Node: 18.20.4 - ~.nvm\versions\node\v18.20.4\bin\node.EXE
Yarn: 1.22.22 - ~.yarn\bin\yarn.CMD
npm: 10.7.0 - ~.nvm\versions\node\v18.20.4\bin\npm.CMD
IDEs:
Android Studio: AI-222.4459.24.2221.9971841
npmPackages:
react: 18.2.0 => 18.2.0
react-dom: 18.2.0 => 18.2.0
react-native: 0.74.5 => 0.74.5
react-native-web: ~0.19.10 => 0.19.12
Expo Workflow: managed

Error output

"Install dependencies" phase takes a very long time and it did not produce any logs in the past 30 minutes. Most likely an unexpected error happened with your dependencies which caused the process to hang and it will be terminated
"Install dependencies" phase was inactive for over 30 minutes. Please evaluate your package.json file

Reproducible demo or steps to reproduce from a blank project

package.json

@HasithaJayatilake HasithaJayatilake added the needs review Issue is ready to be reviewed by a maintainer label Oct 16, 2024
@szdziedzic
Copy link
Member

szdziedzic commented Oct 16, 2024

@HasithaJayatilake it seems to fail on building packages. Maybe some packages don't build properly on the new Android builders' architecture? Can you try to go to https://expo.dev/accounts/fill-up-today/projects/fill-up-today/settings and uncheck the Use the New Android Builds Infrastructure setting? I believe it can help in your case.

@szdziedzic szdziedzic added eas build and removed needs review Issue is ready to be reviewed by a maintainer labels Oct 16, 2024
@HasithaJayatilake
Copy link
Author

HasithaJayatilake commented Oct 16, 2024

Thank you, that did the trick!

@HasithaJayatilake
Copy link
Author

Sorry, spoke too soon - it worked for one build, but failed again (even on the old infrastructure).
https://expo.dev/accounts/fill-up-today/projects/fill-up-today/builds/f8940914-ee2f-471f-805c-c2b8de2f0c59

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants