-
I'm following the directions to build zwave-js-ui since the download package is not compatible with a raspberrypi. This is a fresh install of OS and zwave-js-ui. I'm getting the following error: Full build log:
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
I had this same problem on my pi3 1GB. Check your /var/log/messages, it will probably show that the reason for the 129 error is that the system killed your build process due to an oom (out of memory) condition. snap-id: bKAUrYAOTfQjguWrb9V3CrABqC01QIhC |
Beta Was this translation helpful? Give feedback.
-
You could suggest disabling source maps in webpack build, otherwise consider using docker or snap |
Beta Was this translation helpful? Give feedback.
-
I wanted to update this in case someone else runs across the same issue. There is an alternate fix. By default raspbian/raspberry pi OS sets the swap file to 100mb by default. By changing it to 1024M I was able to get this compiled and running. Watching the output of top, I believe setting swap to 512M would be sufficient as I never saw swap go over 400MB. Thank you @b-cole for sending me down the right path. |
Beta Was this translation helpful? Give feedback.
-
Thanks, guess I should have tried upping the swap too. I'd like to note that on my 2GB pi, the 100MB swap remained sufficient, it was just my 1GB pi that always hits the OOM condition with the default 100MB swap. |
Beta Was this translation helpful? Give feedback.
I wanted to update this in case someone else runs across the same issue. There is an alternate fix. By default raspbian/raspberry pi OS sets the swap file to 100mb by default. By changing it to 1024M I was able to get this compiled and running. Watching the output of top, I believe setting swap to 512M would be sufficient as I never saw swap go over 400MB.
Thank you @b-cole for sending me down the right path.