homebridge-knx icon indicating copy to clipboard operation
homebridge-knx copied to clipboard

Updating sometimes fails

Open snowdd1 opened this issue 8 years ago • 1 comments

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.

snowdd1 avatar Feb 14 '17 14:02 snowdd1

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)

snowdd1 avatar Feb 26 '17 20:02 snowdd1