-
Notifications
You must be signed in to change notification settings - Fork 900
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
Desktop app fails to build on arm macbook air M1 #5894
Comments
Indeed on the CI we had to force Node to use more memory: Line 68 in 7229406
Try something like:
and let us know if it works better? If yes, we might want to put this in the README (or hopefully one day migrate from create-react-app to Vite or a tooling that uses less memory) |
Thanks for the prompt response. Yes, that helped. But it now fails further along. Looks like it's trying to build or run x86 binaries on my arm64 device?
|
Is there an existing issue for this?
Describe the bug
Related to #5893 - I thought I'd try building the desktop app from source. So I cloned the repo and followed the instructions at https://github.com/4ian/GDevelop/blob/master/newIDE/README.md
The build fails with a memory error. The laptop has 16GB of RAM, and 16GB swap, which doesn't run out, nor even close.
Steps to reproduce
On a Mac with an Apple Silicon CPU running Ubuntu Asahi Linux.
npm run build
FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
GDevelop platform
Desktop
GDevelop version
Git master
Platform info
OS (e.g. Windows, Linux, macOS, Android, iOS)
OS Version (e.g. Windows 10, macOS 10.15)
Browser(For Web) (e.g. Chrome, Firefox, Safari)
Device(For Mobile) (e.g. iPhone 12, Samsung Galaxy S21)
Additional context
No response
The text was updated successfully, but these errors were encountered: