You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try to update my current Zigbee2MQTT installation to 2.0. Currently I am running Zigbee2MQTT 1.35.3 on a "Raspberry Pi Zero W Rev 1.1".
Based on the installation manual I tried update.sh and manually install pnpm but both tell me pnpm is not found :/
Here are my manual steps to install pnpm, no errors get reported, but it is not available:
/home/user# npm install -g pnpm
added 1 package in 30s
1 package is looking for funding
run `npm fund` for details
/home/user# node --version
v20.18.1
/home/user# pnpm --version
bash: pnpm: command not found
I tried various commandline options to install pnpm globally that I found on slashdot but none made it available. Can anyone help? :/
UPDATE2:
The ./update.sh aborted because it ran out of memory during the build process, the Raspberry Pi Zero only has 512MB of RAM.
"FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory"
I could fix this by setting max-old-space-size to 400MB for node.js:
cd /opt/zigbee2mqtt/
export NODE_OPTIONS=--max-old-space-size=400
./update.sh
Zigbee2MQTT is now successfully running on my Raspberry Pi Zero W 1.1 :)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
I try to update my current Zigbee2MQTT installation to 2.0. Currently I am running Zigbee2MQTT 1.35.3 on a "Raspberry Pi Zero W Rev 1.1".
Based on the installation manual I tried update.sh and manually install pnpm but both tell me pnpm is not found :/
Here are my manual steps to install pnpm, no errors get reported, but it is not available:
I tried various commandline options to install pnpm globally that I found on slashdot but none made it available. Can anyone help? :/
I installed node.js with this script as it is not officially supported on a Rasperry Pi Zero W:
https://github.com/audstanley/NodeJs-Raspberry-Pi
UPDATE:
Ah I think I figured something out, I had to create some symlinks, it's doing something now.
Will report back if it runs now.
UPDATE2:
The ./update.sh aborted because it ran out of memory during the build process, the Raspberry Pi Zero only has 512MB of RAM.
"FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory"
I could fix this by setting max-old-space-size to 400MB for node.js:
Zigbee2MQTT is now successfully running on my Raspberry Pi Zero W 1.1 :)
Beta Was this translation helpful? Give feedback.
All reactions