Open snowdd1 opened 7 years ago
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...
npm update <package>
pi@knxd2-raspberry:~ $ npm update homebridge-knx@0.3.7-a pi@knxd2-raspberry:~ $ npm list /home/pi ├─┬ homebridge@0.4.16 │ ├─┬ chalk@1.1.3 │ │ ├── ansi-styles@2.2.1 │ │ ├── escape-string-regexp@1.0.5 │ │ ├─┬ has-ansi@2.0.0 │ │ │ └── ansi-regex@2.1.1 │ │ ├── strip-ansi@3.0.1 │ │ └── supports-color@2.0.0 │ ├─┬ commander@2.8.1 │ │ └── graceful-readlink@1.0.1 │ ├─┬ hap-nodejs@0.4.20 │ │ ├── buffer-shims@1.0.0 │ │ ├─┬ curve25519-n@1.1.0 │ │ │ ├── bindings@1.2.1 │ │ │ └── nan@2.5.1 │ │ ├── ed25519@0.0.4 │ │ ├── fast-srp-hap@1.0.0 │ │ ├── ip@1.1.4 │ │ └─┬ mdns@2.3.3 │ │ └── nan@2.3.5 │ ├─┬ node-persist@0.0.8 │ │ ├── mkdirp@0.3.5 │ │ └── q@1.1.2 │ └── semver@5.0.3 └─┬ homebridge-knx@0.3.7 ├─┬ debug@2.6.1 │ └── ms@0.7.2 └── eibd@0.3.7 pi@knxd2-raspberry:~ $ npm install homebridge-knx /home/pi └── homebridge-knx@0.3.7-a
So if it does not update your packages, do an install instead of update.
install
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)
sudo npm install -g homebridge-knx
npm install homebridge-knx
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...So if it does not update your packages, do an
install
instead ofupdate
.