Gagal yarn run build (kurang memori) #3
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
Terjadi ketika:
yarn run builddari /Viewer dan eror ketika 87% Sealing Codeyarn run builddari /Viewer/platform/app dan muncul error:Penjelasan
Eror tersebut disebabkan kurangnya memori sistem (4 GB) yang dibutuhkan untuk build webpack (karena memory intensive). Minimal RAM adalah 8 GB
Solusi
Membuat tambahan swap memori 8 GB
To make the swap file persistent across reboots, add it to
/etc/fstab: