PatchworkBoy / homebridge-edomoticz

Domoticz Homebridge-Plugin
Other
118 stars 44 forks source link

cannot uninstall or update old version #140

Closed TerrorSource closed 6 years ago

TerrorSource commented 6 years ago

Hello,

I'm trying to update to then newest version but it doesn't work.

Update: pi@raspberrypi:~ $ sudo npm install --unsafe-perm homebridge-edomoticz@latest /home/pi └─┬ homebridge-edomoticz@2.1.10 ├── inherits@2.0.3 ├─┬ mqtt@2.15.3 │ ├─┬ commist@1.0.0 │ │ └── leven@1.0.2 │ ├─┬ concat-stream@1.6.0 │ │ └── typedarray@0.0.6 │ ├─┬ end-of-stream@1.4.1 │ │ └─┬ once@1.4.0 │ │ └── wrappy@1.0.2 │ ├─┬ help-me@1.1.0 │ │ ├── callback-stream@1.1.0 │ │ ├─┬ glob-stream@6.1.0 │ │ │ ├─┬ glob@7.1.2 │ │ │ │ ├── fs.realpath@1.0.0 │ │ │ │ ├── inflight@1.0.6 │ │ │ │ ├─┬ minimatch@3.0.4 │ │ │ │ │ └─┬ brace-expansion@1.1.11 │ │ │ │ │ ├── balanced-match@1.0.0 │ │ │ │ │ └── concat-map@0.0.1 │ │ │ │ └── path-is-absolute@1.0.1 │ │ │ ├─┬ glob-parent@3.1.0 │ │ │ │ ├─┬ is-glob@3.1.0 │ │ │ │ │ └── is-extglob@2.1.1 │ │ │ │ └── path-dirname@1.0.2 │ │ │ ├── is-negated-glob@1.0.0 │ │ │ ├── ordered-read-streams@1.0.1 │ │ │ ├── pumpify@1.4.0 │ │ │ ├── remove-trailing-separator@1.1.0 │ │ │ ├─┬ to-absolute-glob@2.0.2 │ │ │ │ └─┬ is-absolute@1.0.0 │ │ │ │ ├─┬ is-relative@1.0.0 │ │ │ │ │ └─┬ is-unc-path@1.0.0 │ │ │ │ │ └── unc-path-regex@0.1.2 │ │ │ │ └── is-windows@1.0.2 │ │ │ └─┬ unique-stream@2.2.1 │ │ │ ├─┬ json-stable-stringify@1.0.1 │ │ │ │ └── jsonify@0.0.0 │ │ │ └── through2-filter@2.0.0 │ │ └── through2@2.0.3 │ ├── minimist@1.2.0 │ ├─┬ mqtt-packet@5.5.0 │ │ ├── bl@1.2.1 │ │ └── process-nextick-args@2.0.0 │ ├── pump@2.0.1 │ ├─┬ readable-stream@2.3.4 │ │ ├── core-util-is@1.0.2 │ │ ├── isarray@1.0.0 │ │ ├── string_decoder@1.0.3 │ │ └── util-deprecate@1.0.2 │ ├── reinterval@1.1.0 │ ├── split2@2.2.0 │ ├─┬ websocket-stream@5.1.1 │ │ ├─┬ duplexify@3.5.3 │ │ │ └── stream-shift@1.0.0 │ │ └─┬ ws@3.3.3 │ │ ├── async-limiter@1.0.0 │ │ └── ultron@1.1.1 │ └── xtend@4.0.1 └─┬ request@2.83.0 ├── aws-sign2@0.7.0 ├── aws4@1.6.0 ├── caseless@0.12.0 ├─┬ combined-stream@1.0.6 │ └── delayed-stream@1.0.0 ├── extend@3.0.1 ├── forever-agent@0.6.1 ├─┬ form-data@2.3.2 │ └── asynckit@0.4.0 ├─┬ har-validator@5.0.3 │ ├─┬ ajv@5.5.2 │ │ ├── co@4.6.0 │ │ ├── fast-deep-equal@1.0.0 │ │ ├── fast-json-stable-stringify@2.0.0 │ │ └── json-schema-traverse@0.3.1 │ └── har-schema@2.0.0 ├─┬ hawk@6.0.2 │ ├── boom@4.3.1 │ ├─┬ cryptiles@3.1.2 │ │ └── boom@5.2.0 │ ├── hoek@4.2.1 │ └── sntp@2.1.0 ├─┬ http-signature@1.2.0 │ ├── assert-plus@1.0.0 │ ├─┬ jsprim@1.4.1 │ │ ├── extsprintf@1.3.0 │ │ ├── json-schema@0.2.3 │ │ └── verror@1.10.0 │ └─┬ sshpk@1.13.1 │ ├── asn1@0.2.3 │ ├── bcrypt-pbkdf@1.0.1 │ ├── dashdash@1.14.1 │ ├── ecc-jsbn@0.1.1 │ ├── getpass@0.1.7 │ ├── jsbn@0.1.1 │ └── tweetnacl@0.14.5 ├── is-typedarray@1.0.0 ├── isstream@0.1.2 ├── json-stringify-safe@5.0.1 ├─┬ mime-types@2.1.18 │ └── mime-db@1.33.0 ├── oauth-sign@0.8.2 ├── performance-now@2.1.0 ├── qs@6.5.1 ├── safe-buffer@5.1.1 ├── stringstream@0.0.5 ├─┬ tough-cookie@2.3.3 │ └── punycode@1.4.1 ├── tunnel-agent@0.6.0 └── uuid@3.2.1 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: xpc-connection@~0.1.4 (node_modules/noble/node_modules/xpc-connection): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for xpc-connection@0.1.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) npm WARN enoent ENOENT: no such file or directory, open '/home/pi/package.json' npm WARN pi No description npm WARN pi No repository field. npm WARN pi No README data npm WARN pi No license field. pi@raspberrypi:~ $ npm list -g --depth=0 /usr/local/lib ├── airsonos@0.2.6 ├── forever@0.15.3 ├── homebridge@0.4.38 ├── homebridge-config-ui-x@2.7.0 ├── homebridge-edomoticz@1.0.12 ├── homebridge-server@1.0.25 ├── npm@3.10.10 └── pm2@2.4.6

Uninstall:

pi@raspberrypi:~ $ sudo npm uninstall homebridge-edomoticz

TerrorSource commented 6 years ago

Solution: update alle other npm packages, reboot, uninstall homebridge-edomoticz from local and global reboot and install once again.