-
Notifications
You must be signed in to change notification settings - Fork 85
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
Local EAS Android build gets stuck on Task :app:createBundleReleaseJsAndAssets #1804
Comments
Hi there! It looks like your issue requires a minimal reproducible example, but it is invalid or absent. Please prepare such an example and share it in a new issue. The best way to get attention to your issue is to provide a clean and easy way for a developer to reproduce the issue on their own machine. Please do not provide your entire project, or a project with more code than is necessary to reproduce the issue. A side benefit of going through the process of narrowing down the minimal amount of code needed to reproduce the issue is that you may get lucky and discover that the bug is due to a mistake in your application code that you can quickly fix on your own. ResourcesCommon concerns"I've only been able to reproduce it in private, proprietary code"You may not have spent enough time narrowing down the root cause of the issue. Try out the techniques discussed in this manual debugging guide to learn how to isolate the problem from the rest of your codebase. "I didn't have time to create one"That's understandable, it can take some time to prepare. We ask that you hold off on filing an issue until you are able to fully complete the required fields in the issue template. "You can reproduce it by yourself by creating a project and following these steps"This is useful knowledge, but it's still valuable to have the resulting project that is produced from running the steps, where you have verified you can reproduce the issue. |
@modelorona , were you able to get the issue fixed? |
Affecting me too since I switched the build host from OSX to Ubuntu. |
TL;DR: you've been bitten by this: expo/expo#24952 |
hey @bala2excel sorry I saw this quite late, I moved away from the expo project altogether so I don't have a resolution. |
anyone else figured the issue? |
We have a similar issue but mine was because of stripAnsi
Package Versions"expo": "49.0.22", I solved this by adding this in package.json. If you are using a monorepo(NX console), add it also in the package.json
|
Build/Submit details page URL
No response
Summary
When I run the command
eas build --platform android --local --profile staging --non-interactive
, the build gets stuck on Task :app:createBundleReleaseJsAndAssets, specifically on[RUN_GRADLEW] info Done copying assets
.When I cancel it, an error message is printed that states
Error: package.json does not exist in /tmp/ubuntu/eas-build-local-nodejs/cbdd028b-bc78-4a31-ba86-fe6e97ae1b88/build/ui
.This happens on my computer as well as my teammate. We've tried a mix of EAS cli versions but the issue remains. Local builds used to work but suddenly stopped.
The eas.json config for the staging profile is:
One thing we noted was that if the configuration had the below code, it would not hang and would create the apk file:
"developmentClient": true
Managed or bare?
Bare
Environment
Error output
Reproducible demo or steps to reproduce from a blank project
Using a basic eas.json config for staging with just two environment variables:
run:
eas build --platform android --local --profile staging --non-interactive
and it gets stuck on:
[RUN_GRADLEW] info Done copying assets
The text was updated successfully, but these errors were encountered: