zigbee2mqtt
zigbee2mqtt copied to clipboard
Installation guide instructs to run `npm install -g pnpm` without sudo
What happened?
On a pristine Raspbian installation, I have been following the installation instructions at https://www.zigbee2mqtt.io/guide/installation/01_linux.html#installing and found it surprising that I should run npm install -g pnpm without sudo. When doing so, I get the expected error from npm that the target is not writeable for the current user.
What did you expect to happen?
Since the surrounding commands are run through sudo, I think the guide should just be adapted. Running sudo npm install -g pnpm installed pnpm properly, as expected.
PS: Maybe there should be an issue template for documentation as well; many of the below fields do not really apply in my case.
How to reproduce it (minimal and precise)
No response
Zigbee2MQTT version
2.1.1 commit: 1accb8b6
Adapter firmware version
7.4.4 [GA]
Adapter
EmberZNet
Setup
Manual installation on Raspbian (Pi version B)
Debug log
No response