homebridge-knx
homebridge-knx copied to clipboard
Updating sometimes fails
This hasn't a direct connection to homebridge-knx, but I observed that npm update <package> seems to be somewhat reluctant to, well update packages...
pi@knxd2-raspberry:~ $ npm update [email protected]
pi@knxd2-raspberry:~ $ npm list
/home/pi
├─┬ [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├─┬ [email protected]
│ │ │ └── [email protected]
│ │ ├── [email protected]
│ │ └── [email protected]
│ ├─┬ [email protected]
│ │ └── [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ ├─┬ [email protected]
│ │ │ ├── [email protected]
│ │ │ └── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ ├── [email protected]
│ │ └─┬ [email protected]
│ │ └── [email protected]
│ ├─┬ [email protected]
│ │ ├── [email protected]
│ │ └── [email protected]
│ └── [email protected]
└─┬ [email protected]
├─┬ [email protected]
│ └── [email protected]
└── [email protected]
pi@knxd2-raspberry:~ $ npm install homebridge-knx
/home/pi
└── [email protected]
So if it does not update your packages, do an install instead of update.
Depending on the type of your installation (global or local)
sudo npm install -g homebridge-knx (Globally installed with root rights)
npm install homebridge-knx (locally installed with current user)