Raspberry Pi specifications? #1066
-
|
What RaspberryPi is recommended? Specs? I've been running nodejs-poolController on Windows for a while now (really need to add my notes to the Wiki!), but I'm looking to move to a new house and figured I'd leave a RaspberryPi based environment behind in case they don't leave a PC on all the time. I purchased a RaspberryPi Zero 2W and everything installed easily. The Dashboard went off without a hitch, but when I do a poolController build I get a "JavaScript heap out of memory". I'm running the 32 bit headless Raspian 12. (also tried 11) When I look at my windows processes, poolController is only using 56M (when running). Any tips on getting it to build on a Pi Zero 2W? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
|
If you have PM2 installed it will try to load all apps at the same time and build them. Run 'npm run build' for each app (only once and/or only when you pull new code). Then you can start each one with 'Npm run start:cached' to avoid the build each time. |
Beta Was this translation helpful? Give feedback.
I copied my nodejs-poolController and nodejs-poolController-Desktop from my windows machine to the Pi Zero 2W and it's running (with start:cached)!!!!
So I guess you can use a Raspberry Pi 2 W, just do the build on other host... even on Windows!
(BTW.. I did add the Windows setup to the WIki)