Issues compiling GDevelop for ARM64

Did all the steps indicated on #-faq on the Discord GDevelop server, but it seems my device can’t build the GDevelop because of “Lack of memory” Idk if it meant RAM or ROM.

The build failed because the process exited too early. This probably means the system ran out of memory or someone called kill -9 on the process.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! gdevelop-ide@0.1.0 build: npm run import-resources && npm run make-version-metadata && react-scripts build && npm run make-service-worker
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the gdevelop-ide@0.1.0 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/carata/.npm/_logs/2021-10-04T17_23_23_387Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! gdevelop@1.0.0 app-build: node scripts/app-build.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the gdevelop@1.0.0 app-build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/carata/.npm/_logs/2021-10-04T17_23_23_808Z-debug.log
:x: App build failed with code 1.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! gdevelop@1.0.0 build: node scripts/build.js "-l" "AppImage" "--arm64"
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the gdevelop@1.0.0 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/carata/.npm/_logs/2021-10-04T17_23_24_560Z-debug.log

It also seems I have an too up-to-date Node.JS version.

npm WARN npm npm does not support Node.js v10.24.0
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can’t make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9.
npm WARN npm You can find the latest version at https://nodejs.org/

EDIT: Also I can’t seem able to access the logs, they don’t appear on my file system.

EDIT 2: Forgot to say what device I have. Chromebook tablet on Chrome Os 93 Stable Channel. Using Crostini ofc.

You need at least 4GB RAM to build

I do have 4 GB RAM, but im not surprised it not enough

Alright then, I will have to use another PC to compile, thanks.

Btw I saw something about an Android build :eyes: It did say it not happening any time soon tho

Doesn’t really mean anything rn but for the future? Maybe. Just maybe

An Android build probably won’t be made soon, do since we need to optimize the ide for mobile first (which is already the case for some parts but not all of it yet), else it just wouldn’t be usable and defeat the main purpose.

1 Like

Yea it what I expected, and it fine =P