NPM cannot be found
rionshin opened this issue · 2 comments
Raspberry Pi Model
Raspberry Pi 4 B
Describe The Bug
i am using the latest image of the Homebridge , i install it and configure it with no issues.
however when i connect to the SSH and want to install Zigbee2MQQT , i found out that npm is not installed and i cannot use it at all.
How to install packages that require npm if not node is not in the global path and cannot be used.
i have no such issues on my MacOS, but on raspbian i see nodeJS is part of homebridge and i don't know how to use it.
This is the command i am running and fail because NPM is not found
Clone Zigbee2MQTT repository
git clone --depth 1 https://github.com/Koenkk/zigbee2mqtt.git /opt/zigbee2mqtt
Install dependencies (as user "pi")
cd /opt/zigbee2mqtt
npm ci
Logs
No response
The node installation is for Homebridge only. If you want to run other apps that use Node.js, you'll have to install it as per that softwares' instructions.
Thank you so much! i supposed is something like that but not sure.