NEWS
[gelöst] Canvas - compiled against a different Node.js vers,
-
iobroker.core@1.0.0 /opt/iobroker ├─┬ @mapbox/node-pre-gyp@1.0.10 │ └─┬ npmlog@5.0.1 │ └─┬ gauge@3.0.1 │ └── object-assign@4.1.1 deduped ├─┬ iobroker.echarts@1.0.12 │ └─┬ canvas@2.9.3 │ ├─┬ @mapbox/node-pre-gyp@1.0.10 │ │ └─┬ npmlog@5.0.1 │ │ └─┬ gauge@3.0.2 │ │ └── object-assign@4.1.1 deduped │ ├─┬ @qiwi/npm-registry-client@8.9.1 extraneous │ │ └─┬ gauge@2.7.4 extraneous │ │ └── object-assign@4.1.1 deduped │ ├─┬ file-entry-cache@2.0.0 extraneous │ │ └── object-assign@4.1.1 │ └─┬ prop-types@15.8.1 extraneous │ └── object-assign@4.1.1 deduped ├─┬ iobroker.zigbee@1.7.5 (git+ssh://git@github.com/ioBroker/ioBroker.zigbee.git#ec2014313ef023590b911c7d8ee8843eeab3fcbf) │ └─┬ zigbee-herdsman@0.14.43 │ └─┬ mz@2.7.0 │ └── object-assign@4.1.1 deduped └── object-assign@4.1.1
-
iobroker.core@1.0.0 /opt/iobroker ├─┬ @mapbox/node-pre-gyp@1.0.10 │ └─┬ npmlog@5.0.1 │ └─┬ gauge@3.0.1 │ └── object-assign@4.1.1 deduped
Das ist falsch. Da hast du beim compilieren nicht im richtigen Verzeichnis gestanden und ganze Soße ist daneben gelaufen.
So (ähnlich) sollte das eigentlich aussehen:echad@chet:/opt/iobroker $ npm ls object-assign iobroker.inst@3.0.0 /opt/iobroker ├─┬ iobroker.echarts@1.0.12 │ └─┬ canvas@2.10.2 │ └─┬ @mapbox/node-pre-gyp@1.0.9 │ └─┬ npmlog@5.0.1 │ └─┬ gauge@3.0.2 │ └── object-assign@4.1.1 deduped └─┬ iobroker.zigbee@1.7.6 (git+ssh://git@github.com/ioBroker/ioBroker.zigbee.git#84c9eb7accca10de87143e20c4494413a5a16873) └─┬ zigbee-herdsman@0.14.73 └─┬ mz@2.7.0 └── object-assign@4.1.1
-
@thomas-braun
Das ist mir letztens auch schon Mal aufgefallen, dass da bei mir was anders war, als ich es hier im.forum zu sehen war.Kann man da was retten ohne das System komplett neu machen zu müssen?
-
-
iobroker.core@1.0.0 /opt/iobroker ├── @gar/promisify@1.1.3 extraneous ├── @mapbox/node-pre-gyp@1.0.10 ├── @npmcli/fs@1.1.1 extraneous ├── @npmcli/move-file@1.1.2 extraneous ├── @tootallnate/once@1.1.2 extraneous ├── @types/caseless@0.12.2 extraneous ├── @types/request@2.48.8 extraneous ├── @types/tough-cookie@4.0.2 extraneous ├── agentkeepalive@4.2.1 extraneous ├── aggregate-error@3.1.0 extraneous ├── cacache@15.3.0 extraneous ├── clean-stack@2.2.0 extraneous ├── coffeescript@1.12.7 extraneous ├── decompress-response@4.2.1 extraneous ├── env-paths@2.2.1 extraneous ├── err-code@2.0.3 extraneous ├── http-cache-semantics@4.1.0 extraneous ├── http-proxy-agent@4.0.1 extraneous ├── humanize-ms@1.2.1 extraneous ├── imurmurhash@0.1.4 extraneous ├── indent-string@4.0.0 extraneous ├── infer-owner@1.0.4 extraneous ├── iobroker.admin@6.2.23 ├── iobroker.alexa2@3.21.0 ├── iobroker.backitup@2.4.12 ├── iobroker.daswetter@3.1.3 ├── iobroker.device-reminder@1.2.9 (git+ssh://git@github.com/xenon-s/ioBroker.device-reminder.git#4162ebc0a96605f103df23e277abcf1b673065dd) ├── iobroker.devices@1.0.12 ├── iobroker.echarts@1.0.12 ├── iobroker.fb-checkpresence@1.1.19 ├── iobroker.feiertage@1.1.0 ├── iobroker.flot@1.11.0 ├── iobroker.heatingcontrol@2.8.7 ├── iobroker.ical@1.13.1 ├── iobroker.info@1.9.19 ├── iobroker.iot@1.11.9 ├── iobroker.javascript@6.0.3 ├── iobroker.js-controller@4.0.23 ├── iobroker.lgtv@1.1.10 ├── iobroker.lupusec@1.3.6 ├── iobroker.mihome-vacuum@3.4.2 ├── iobroker.mqtt@4.0.7 ├── iobroker.octoprint@4.0.0 ├── iobroker.simple-api@2.7.0 ├── iobroker.socketio@4.2.0 ├── iobroker.sourceanalytix@0.4.12 (git+ssh://git@github.com/DrozmotiX/ioBroker.sourceanalytix.git#583e582d5567addd67816fcf552ec11c50f43809) ├── iobroker.sql@2.1.8 ├── iobroker.tankerkoenig@2.1.1 ├── iobroker.telegram@1.14.1 ├── iobroker.vis-colorpicker@1.2.0 ├── iobroker.vis-jqui-mfd@1.0.12 ├── iobroker.vis@1.4.15 ├── iobroker.web@4.3.0 ├── iobroker.yamaha@0.5.3 ├── iobroker.zigbee@1.7.5 (git+ssh://git@github.com/ioBroker/ioBroker.zigbee.git#ec2014313ef023590b911c7d8ee8843eeab3fcbf) ├── ip@2.0.0 extraneous ├── is-lambda@1.0.1 extraneous ├── jsonata@1.8.6 extraneous ├── make-fetch-happen@9.1.0 extraneous ├── mimic-response@2.1.0 extraneous ├── minipass-collect@1.0.2 extraneous ├── minipass-fetch@1.4.1 extraneous ├── minipass-flush@1.0.5 extraneous ├── minipass-pipeline@1.2.4 extraneous ├── minipass-sized@1.0.3 extraneous ├── node-gyp@8.4.1 extraneous ├── node-inspect@2.0.0 extraneous ├── object-assign@4.1.1 ├── picocolors@1.0.0 extraneous ├── promise-inflight@1.0.1 extraneous ├── promise-retry@2.0.1 extraneous ├── simple-get@3.1.0 extraneous ├── smart-buffer@4.2.0 extraneous ├── socks-proxy-agent@6.2.1 extraneous ├── socks@2.7.0 extraneous ├── ssri@8.0.1 extraneous ├── suncalc2@1.8.1 extraneous ├── unique-filename@1.1.1 extraneous ├── unique-slug@2.0.2 extraneous ├── virtual-tsc@0.6.2 extraneous └── wake_on_lan@1.0.0 extraneous
Ohne dass ich weiß was es bedeutet: es ist wieder im iobroker.core
-
cd /opt/iobroker npm prune npm ls
-
removed 564 packages, and changed 1 package in 14s 79 packages are looking for funding run `npm fund` for details iobroker.core@1.0.0 /opt/iobroker ├── @gar/promisify@1.1.3 extraneous ├── @mapbox/node-pre-gyp@1.0.10 ├── @npmcli/fs@1.1.1 extraneous ├── @npmcli/move-file@1.1.2 extraneous ├── @tootallnate/once@1.1.2 extraneous ├── agentkeepalive@4.2.1 extraneous ├── aggregate-error@3.1.0 extraneous ├── cacache@15.3.0 extraneous ├── clean-stack@2.2.0 extraneous ├── env-paths@2.2.1 extraneous ├── err-code@2.0.3 extraneous ├── http-cache-semantics@4.1.0 extraneous ├── http-proxy-agent@4.0.1 extraneous ├── humanize-ms@1.2.1 extraneous ├── imurmurhash@0.1.4 extraneous ├── indent-string@4.0.0 extraneous ├── infer-owner@1.0.4 extraneous ├── iobroker.admin@6.2.23 ├── iobroker.alexa2@3.21.0 ├── iobroker.backitup@2.4.12 ├── iobroker.daswetter@3.1.3 ├── iobroker.device-reminder@1.2.9 (git+ssh://git@github.com/xenon-s/ioBroker.device-reminder.git#4162ebc0a96605f103df23e277abcf1b673065dd) ├── iobroker.devices@1.0.12 ├── iobroker.echarts@1.0.12 ├── iobroker.fb-checkpresence@1.1.19 ├── iobroker.feiertage@1.1.0 ├── iobroker.flot@1.11.0 ├── iobroker.heatingcontrol@2.8.7 ├── iobroker.ical@1.13.1 ├── iobroker.info@1.9.19 ├── iobroker.iot@1.11.9 ├── iobroker.javascript@6.0.3 ├── iobroker.js-controller@4.0.23 ├── iobroker.lgtv@1.1.10 ├── iobroker.lupusec@1.3.6 ├── iobroker.mihome-vacuum@3.4.2 ├── iobroker.mqtt@4.0.7 ├── iobroker.octoprint@4.0.0 ├── iobroker.simple-api@2.7.0 ├── iobroker.socketio@4.2.0 ├── iobroker.sourceanalytix@0.4.12 (git+ssh://git@github.com/DrozmotiX/ioBroker.sourceanalytix.git#583e582d5567addd67816fcf552ec11c50f43809) ├── iobroker.sql@2.1.8 ├── iobroker.tankerkoenig@2.1.1 ├── iobroker.telegram@1.14.1 ├── iobroker.vis-colorpicker@1.2.0 ├── iobroker.vis-jqui-mfd@1.0.12 ├── iobroker.vis@1.4.15 ├── iobroker.web@4.3.0 ├── iobroker.yamaha@0.5.3 ├── iobroker.zigbee@1.7.5 (git+ssh://git@github.com/ioBroker/ioBroker.zigbee.git#ec2014313ef023590b911c7d8ee8843eeab3fcbf) ├── ip@2.0.0 extraneous ├── is-lambda@1.0.1 extraneous ├── make-fetch-happen@9.1.0 extraneous ├── minipass-collect@1.0.2 extraneous ├── minipass-fetch@1.4.1 extraneous ├── minipass-flush@1.0.5 extraneous ├── minipass-pipeline@1.2.4 extraneous ├── minipass-sized@1.0.3 extraneous ├── node-gyp@8.4.1 extraneous ├── object-assign@4.1.1 ├── promise-inflight@1.0.1 extraneous ├── promise-retry@2.0.1 extraneous ├── smart-buffer@4.2.0 extraneous ├── socks-proxy-agent@6.2.1 extraneous ├── socks@2.7.0 extraneous ├── ssri@8.0.1 extraneous ├── unique-filename@1.1.1 extraneous └── unique-slug@2.0.2 extraneous
BTW: ich bin nicht mehr am PC, mache das alles übers Handy per telegram,aber scheint soweit zu gehen.
-
Das sollte eigentlich alles weg sein. Sauber sähe das jedenfalls dann so aus:
echad@chet:/opt/iobroker $ npm ls iobroker.inst@3.0.0 /opt/iobroker ├── iobroker.admin@6.2.23 ├── iobroker.alexa2@3.21.0 ├── iobroker.alias-manager@1.2.6 ├── iobroker.backitup@2.5.6 ├── iobroker.ble@0.13.0 ├── iobroker.echarts@1.0.12 ├── iobroker.firetv@1.0.0 (git+ssh://git@github.com/iobroker-community-adapters/ioBroker.firetv.git#2398432b548676dfa90ba9acf3aecf10a66c4f52) ├── iobroker.followthesun@0.4.0 ├── iobroker.govee@0.0.5 (git+ssh://git@github.com/nbuenger/ioBroker.govee.git#0d983c49135b87ac2f88f9d832a6d632c4889606) ├── iobroker.history@2.2.4 ├── iobroker.ical@1.13.2 ├── iobroker.iceroad@0.1.1 (git+ssh://git@github.com/iobroker-community-adapters/ioBroker.iceroad.git#99c619ea3f1ebd3544a22fe33518a2d98b97a3f0) ├── iobroker.info@1.9.21 ├── iobroker.iot@1.12.5 ├── iobroker.javascript@6.1.4 ├── iobroker.js-controller@4.0.23 ├── iobroker.midea@0.1.0 (git+ssh://git@github.com/TA2k/ioBroker.midea.git#0d037c0c9a025b193546f881f747c8f998bfc724) ├── iobroker.mihome-cloud@0.0.1 (git+ssh://git@github.com/TA2k/ioBroker.mihome-cloud.git#41c5f2ff3774f2c9afca4e15eebbbec26ea20ddf) ├── iobroker.mihome-vacuum@3.8.6 ├── iobroker.mihome@1.4.0 ├── iobroker.miio@0.0.13 ├── iobroker.nina@0.0.25 ├── iobroker.nuki-extended@2.6.5 ├── iobroker.parcel@0.0.23 ├── iobroker.pi-hole@1.3.4 ├── iobroker.rpi2@1.3.2 ├── iobroker.sainlogic@0.9.0 ├── iobroker.samsung@0.5.11 (git+ssh://git@github.com/iobroker-community-adapters/ioBroker.samsung.git#70366ba038c0f5092731db63f09d16db8eb56e65) ├── iobroker.simple-api@2.7.2 ├── iobroker.socketio@6.2.0 ├── iobroker.switchbot-ble@0.4.5 (git+ssh://git@github.com/mrbungle64/ioBroker.switchbot-ble.git#b90263d9a8b0824c22ea124c88f1492368d3795a) ├── iobroker.switchbot-hub@0.1.2 (git+ssh://git@github.com/DrozmotiX/ioBroker.switchbot-hub.git#de8c1ad97edafedb16cbbb2c6dc14b032848df8e) ├── iobroker.tado@0.4.1-alpha.0 ├── iobroker.tankerkoenig@3.0.3 ├── iobroker.tr-064@4.2.17 ├── iobroker.tradfri@3.1.3 ├── iobroker.trashschedule@2.0.3 ├── iobroker.tuya@3.9.4 ├── iobroker.web@5.2.12 ├── iobroker.whatsapp-cmb@0.2.3 ├── iobroker.ws@2.2.1 └── iobroker.zigbee@1.7.6 (git+ssh://git@github.com/ioBroker/ioBroker.zigbee.git#84c9eb7accca10de87143e20c4494413a5a16873)
-
@thomas-braun Mist
Vielleicht fällt dir ja noch was ein, was meine Installation retten kann, bzw wie ich meine ganzen Daten/Einstellungen ohne Verluste auf eine neue Installation bekomme.
Ich verabschiede mich für heute. Vielen Dank für deine Hilfe bisher
-
@anno171986 Wenn Du Deine NodeJS und NPM Installation sauber hast, kannst ja noch bevor Du neu installierst meine Radikalmethode verwenden.
-
@mickym was heißt denn sauber? Und wie bekomme ich das hin?
-
@anno171986 sagte in Canvas -> compiled against a different Node.js version:
@mickym was heißt denn sauber? Und wie bekomme ich das hin?
Steht doch unter 2..
Sichere Dir halt Deine package.json weg und editiere die dependencies, dass nur noch die Module, die mit iobroker beginnen vorhanden sind.Eigentlich sollte man 2. vor 1. machen und dann das node-modules Verzeichnis komplett neu aufbauen.
Mach halt eine Sicherung vorher, aber wenn du eh neu aufbaust, ist das halt noch eine Lösung. Deine Konfigurationen sind eh im iobroker-Data Verzeichnis oder in den Objekten und die werden dabei ja nicht angefasst.
-
@mickym ok, dann versuche ich das demnächst Mal, wird vor morgen Abend aber wahrscheinlich nichts.
-
@mickym habe jetzt doch schon Zeit zum testen. Bin leider nicht so der linus Typ, daher weiß ich nicht, ob ich es richtig mache. Habe mal folgendes eingegeben:
pi@raspberrypi:/opt/iobroker$ cat package.json { "name": "iobroker.core", "version": "1.0.0", "private": true, "dependencies": { "@mapbox/node-pre-gyp": "^1.0.10", "iobroker.admin": "6.2.23", "iobroker.alexa2": "3.21.0", "iobroker.backitup": "2.5.4", "iobroker.daswetter": "3.1.4", "iobroker.device-reminder": "github:xenon-s/ioBroker.device-reminder", "iobroker.devices": "1.0.12", "iobroker.echarts": "1.0.12", "iobroker.fb-checkpresence": "1.1.20", "iobroker.feiertage": "^1.1.0", "iobroker.flot": "1.11.0", "iobroker.heatingcontrol": "2.9.3", "iobroker.ical": "1.13.1", "iobroker.info": "1.9.19", "iobroker.iot": "1.11.9", "iobroker.javascript": "6.0.3", "iobroker.js-controller": "4.0.23", "iobroker.lgtv": "^1.1.10", "iobroker.lupusec": "^1.3.6", "iobroker.mihome-vacuum": "3.8.6", "iobroker.mqtt": "4.0.7", "iobroker.octoprint": "4.0.0", "iobroker.simple-api": "2.7.0", "iobroker.socketio": "4.2.0", "iobroker.sourceanalytix": "github:DrozmotiX/ioBroker.sourceanalytix#583e582d5567addd67816fcf552ec11c50f43809", "iobroker.sql": "2.1.8", "iobroker.tankerkoenig": "^2.1.1", "iobroker.telegram": "1.14.1", "iobroker.vis": "1.4.15", "iobroker.vis-colorpicker": "^1.2.0", "iobroker.vis-jqui-mfd": "^1.0.12", "iobroker.web": "4.3.0", "iobroker.yamaha": "0.5.3", "iobroker.zigbee": "github:ioBroker/ioBroker.zigbee#ec2014313ef023590b911c7d8ee8843eeab3fcbf" }, "devDependencies": { "object-assign": "^4.1.1" } }
Was ja falsch ist, ist das "name": "iobroker.core". So wie du geschrieben hast, soll ich da ja alles rausschmeißen, was nicht iobroker ist, das wäre dann ja
"@mapbox/node-pre-gyp": "^1.0.10",
Jetzt meine noob Frage: wie geht das? Edit:
pi@raspberrypi:/opt/iobroker$ npm uninstall @mapbox/node-pre-gyp
Jetzt wird es auch nicht mehr angezeigt.
und zweitens: Was ist mit
"devDependencies": { "object-assign": "^4.1.1" }
?
Edit: Das habe ich mit
pi@raspberrypi:/opt/iobroker$ npm uninstall -D object-assign
entfernt bekommen
-
@mickym Die package.json scheint jetzt soweit ok, nur dass es halt noch die iobroker.core ist.
pi@raspberrypi:/opt/iobroker$ cat package.json { "name": "iobroker.core", "version": "1.0.0", "private": true, "dependencies": { "iobroker.admin": "6.2.23", "iobroker.alexa2": "3.21.0", "iobroker.backitup": "2.5.4", "iobroker.daswetter": "3.1.4", "iobroker.device-reminder": "github:xenon-s/ioBroker.device-reminder", "iobroker.devices": "1.0.12", "iobroker.echarts": "1.0.12", "iobroker.fb-checkpresence": "1.1.20", "iobroker.feiertage": "^1.1.0", "iobroker.flot": "1.11.0", "iobroker.heatingcontrol": "2.9.3", "iobroker.ical": "1.13.1", "iobroker.info": "1.9.19", "iobroker.iot": "1.11.9", "iobroker.javascript": "6.0.3", "iobroker.js-controller": "4.0.23", "iobroker.lgtv": "^1.1.10", "iobroker.lupusec": "^1.3.6", "iobroker.mihome-vacuum": "3.8.6", "iobroker.mqtt": "4.0.7", "iobroker.octoprint": "4.0.0", "iobroker.simple-api": "2.7.0", "iobroker.socketio": "4.2.0", "iobroker.sourceanalytix": "github:DrozmotiX/ioBroker.sourceanalytix#583e582d5567addd67816fcf552ec11c50f43809", "iobroker.sql": "2.1.8", "iobroker.tankerkoenig": "^2.1.1", "iobroker.telegram": "1.14.1", "iobroker.vis": "1.4.15", "iobroker.vis-colorpicker": "^1.2.0", "iobroker.vis-jqui-mfd": "^1.0.12", "iobroker.web": "4.3.0", "iobroker.yamaha": "0.5.3", "iobroker.zigbee": "github:ioBroker/ioBroker.zigbee#ec2014313ef023590b911c7d8ee8843eeab3fcbf" } }
Leider hat das dann mit dem NPM Prune nicht funktioniert:
pi@raspberrypi:/opt/iobroker$ iobroker rebuild self Rebuilding native module "self" ... rebuilt dependencies successfully Rebuilding native modules done pi@raspberrypi:/opt/iobroker$ npm list iobroker.core@1.0.0 /opt/iobroker ├── @gar/promisify@1.1.3 extraneous ├── @mapbox/node-pre-gyp@1.0.10 extraneous ├── @npmcli/fs@1.1.1 extraneous ├── @npmcli/move-file@1.1.2 extraneous ├── @tootallnate/once@1.1.2 extraneous ├── abbrev@1.1.1 extraneous ├── agentkeepalive@4.2.1 extraneous ├── aggregate-error@3.1.0 extraneous ├── aproba@1.2.0 extraneous ├── cacache@15.3.0 extraneous ├── clean-stack@2.2.0 extraneous ├── color-support@1.1.3 extraneous ├── console-control-strings@1.1.0 extraneous ├── delegates@1.0.0 extraneous ├── env-paths@2.2.1 extraneous ├── err-code@2.0.3 extraneous ├── has-unicode@2.0.1 extraneous ├── http-cache-semantics@4.1.0 extraneous ├── http-proxy-agent@4.0.1 extraneous ├── humanize-ms@1.2.1 extraneous ├── imurmurhash@0.1.4 extraneous ├── indent-string@4.0.0 extraneous ├── infer-owner@1.0.4 extraneous ├── iobroker.admin@6.2.23 ├── iobroker.alexa2@3.21.0 ├── iobroker.backitup@2.5.4 ├── iobroker.daswetter@3.1.4 ├── iobroker.device-reminder@1.2.9 (git+ssh://git@github.com/xenon-s/ioBroker.device-reminder.git#4162ebc0a96605f103df23e277abcf1b673065dd) ├── iobroker.devices@1.0.12 ├── iobroker.echarts@1.0.12 ├── iobroker.fb-checkpresence@1.1.20 ├── iobroker.feiertage@1.1.0 ├── iobroker.flot@1.11.0 ├── iobroker.heatingcontrol@2.9.3 ├── iobroker.ical@1.13.1 ├── iobroker.info@1.9.19 ├── iobroker.iot@1.11.9 ├── iobroker.javascript@6.0.3 ├── iobroker.js-controller@4.0.23 ├── iobroker.lgtv@1.1.10 ├── iobroker.lupusec@1.3.6 ├── iobroker.mihome-vacuum@3.8.6 ├── iobroker.mqtt@4.0.7 ├── iobroker.octoprint@4.0.0 ├── iobroker.simple-api@2.7.0 ├── iobroker.socketio@4.2.0 ├── iobroker.sourceanalytix@0.4.12 (git+ssh://git@github.com/DrozmotiX/ioBroker.sourceanalytix.git#583e582d5567addd67816fcf552ec11c50f43809) ├── iobroker.sql@2.1.8 ├── iobroker.tankerkoenig@2.1.1 ├── iobroker.telegram@1.14.1 ├── iobroker.vis-colorpicker@1.2.0 ├── iobroker.vis-jqui-mfd@1.0.12 ├── iobroker.vis@1.4.15 ├── iobroker.web@4.3.0 ├── iobroker.yamaha@0.5.3 ├── iobroker.zigbee@1.7.5 (git+ssh://git@github.com/ioBroker/ioBroker.zigbee.git#ec2014313ef023590b911c7d8ee8843eeab3fcbf) ├── ip@2.0.0 extraneous ├── is-lambda@1.0.1 extraneous ├── make-dir@3.1.0 extraneous ├── make-fetch-happen@9.1.0 extraneous ├── minipass-collect@1.0.2 extraneous ├── minipass-fetch@1.4.1 extraneous ├── minipass-flush@1.0.5 extraneous ├── minipass-pipeline@1.2.4 extraneous ├── minipass-sized@1.0.3 extraneous ├── node-gyp@8.4.1 extraneous ├── nopt@5.0.0 extraneous ├── promise-inflight@1.0.1 extraneous ├── promise-retry@2.0.1 extraneous ├── rimraf@3.0.2 extraneous ├── set-blocking@2.0.0 extraneous ├── smart-buffer@4.2.0 extraneous ├── socks-proxy-agent@6.2.1 extraneous ├── socks@2.7.0 extraneous ├── ssri@8.0.1 extraneous ├── unique-filename@1.1.1 extraneous ├── unique-slug@2.0.2 extraneous └── wide-align@1.1.5 extraneous pi@raspberrypi:/opt/iobroker$ npm prune up to date in 8s 76 packages are looking for funding run `npm fund` for details pi@raspberrypi:/opt/iobroker$ npm list iobroker.core@1.0.0 /opt/iobroker ├── @gar/promisify@1.1.3 extraneous ├── @mapbox/node-pre-gyp@1.0.10 extraneous ├── @npmcli/fs@1.1.1 extraneous ├── @npmcli/move-file@1.1.2 extraneous ├── @tootallnate/once@1.1.2 extraneous ├── abbrev@1.1.1 extraneous ├── agentkeepalive@4.2.1 extraneous ├── aggregate-error@3.1.0 extraneous ├── aproba@1.2.0 extraneous ├── cacache@15.3.0 extraneous ├── clean-stack@2.2.0 extraneous ├── color-support@1.1.3 extraneous ├── console-control-strings@1.1.0 extraneous ├── delegates@1.0.0 extraneous ├── env-paths@2.2.1 extraneous ├── err-code@2.0.3 extraneous ├── has-unicode@2.0.1 extraneous ├── http-cache-semantics@4.1.0 extraneous ├── http-proxy-agent@4.0.1 extraneous ├── humanize-ms@1.2.1 extraneous ├── imurmurhash@0.1.4 extraneous ├── indent-string@4.0.0 extraneous ├── infer-owner@1.0.4 extraneous ├── iobroker.admin@6.2.23 ├── iobroker.alexa2@3.21.0 ├── iobroker.backitup@2.5.4 ├── iobroker.daswetter@3.1.4 ├── iobroker.device-reminder@1.2.9 (git+ssh://git@github.com/xenon-s/ioBroker.device-reminder.git#4162ebc0a96605f103df23e277abcf1b673065dd) ├── iobroker.devices@1.0.12 ├── iobroker.echarts@1.0.12 ├── iobroker.fb-checkpresence@1.1.20 ├── iobroker.feiertage@1.1.0 ├── iobroker.flot@1.11.0 ├── iobroker.heatingcontrol@2.9.3 ├── iobroker.ical@1.13.1 ├── iobroker.info@1.9.19 ├── iobroker.iot@1.11.9 ├── iobroker.javascript@6.0.3 ├── iobroker.js-controller@4.0.23 ├── iobroker.lgtv@1.1.10 ├── iobroker.lupusec@1.3.6 ├── iobroker.mihome-vacuum@3.8.6 ├── iobroker.mqtt@4.0.7 ├── iobroker.octoprint@4.0.0 ├── iobroker.simple-api@2.7.0 ├── iobroker.socketio@4.2.0 ├── iobroker.sourceanalytix@0.4.12 (git+ssh://git@github.com/DrozmotiX/ioBroker.sourceanalytix.git#583e582d5567addd67816fcf552ec11c50f43809) ├── iobroker.sql@2.1.8 ├── iobroker.tankerkoenig@2.1.1 ├── iobroker.telegram@1.14.1 ├── iobroker.vis-colorpicker@1.2.0 ├── iobroker.vis-jqui-mfd@1.0.12 ├── iobroker.vis@1.4.15 ├── iobroker.web@4.3.0 ├── iobroker.yamaha@0.5.3 ├── iobroker.zigbee@1.7.5 (git+ssh://git@github.com/ioBroker/ioBroker.zigbee.git#ec2014313ef023590b911c7d8ee8843eeab3fcbf) ├── ip@2.0.0 extraneous ├── is-lambda@1.0.1 extraneous ├── make-dir@3.1.0 extraneous ├── make-fetch-happen@9.1.0 extraneous ├── minipass-collect@1.0.2 extraneous ├── minipass-fetch@1.4.1 extraneous ├── minipass-flush@1.0.5 extraneous ├── minipass-pipeline@1.2.4 extraneous ├── minipass-sized@1.0.3 extraneous ├── node-gyp@8.4.1 extraneous ├── nopt@5.0.0 extraneous ├── promise-inflight@1.0.1 extraneous ├── promise-retry@2.0.1 extraneous ├── rimraf@3.0.2 extraneous ├── set-blocking@2.0.0 extraneous ├── smart-buffer@4.2.0 extraneous ├── socks-proxy-agent@6.2.1 extraneous ├── socks@2.7.0 extraneous ├── ssri@8.0.1 extraneous ├── unique-filename@1.1.1 extraneous ├── unique-slug@2.0.2 extraneous └── wide-align@1.1.5 extraneous
-
@anno171986 Wenn die package.json so sauber ist, das passt schon - dann mach das was unter 1. steht. Benenne oder lösche Dein komplettes node_modules Verzeichnis und lasse es mit npm install (cache, package-json.lock löschen) neu aufbauen.
Anschliessend alles updaten. Diese extraneous Dinger kommen auch, wenn da veraltete Bibliotheken geladen werden.
Mal nur zum Vergleich mein package.json schaut so aus.
{ "name": "iobroker.inst", "version": "3.0.0", "private": true, "description": "Automate your Life", "engines": { "node": ">=10.0.0" }, "dependencies": { "iobroker.admin": "6.2.23", "iobroker.backitup": "2.5.4", "iobroker.dwd": "2.8.3", "iobroker.flot": "1.11.0", "iobroker.info": "^1.9.19", "iobroker.javascript": "6.0.3", "iobroker.js-controller": "stable", "iobroker.linux-control": "1.1.3", "iobroker.mercedesme": "0.0.59", "iobroker.mqtt": "4.0.7", "iobroker.node-red": "github:ioBroker/ioBroker.node-red", "iobroker.pi-hole": "1.3.4", "iobroker.ping": "1.5.3", "iobroker.simple-api": "2.7.0", "iobroker.socketio": "4.2.0", "iobroker.sourceanalytix": "0.4.14", "iobroker.sql": "2.1.8", "iobroker.tr-064": "4.2.16", "iobroker.vis": "1.4.15", "iobroker.vis-hqwidgets": "1.3.0", "iobroker.web": "4.3.0", "iobroker.yahka": "0.13.1" } }
Theoretisch kannst ja auch die mal probieren und nur die dependencies section mit der Deinen austauschen.
-
@mickym DAnke, irgendwie hat sich aber leider nichts getan:
pi@raspberrypi:/opt/iobroker/node_modules$ cp -ar /opt/iobroker/node_modules /opt/iobroker/Backup_node_modules pi@raspberrypi:/opt/iobroker/Backup_node_modules$ cd /opt/iobroker pi@raspberrypi:/opt/iobroker$ sudo rm -rf node_modules pi@raspberrypi:/opt/iobroker$ cd node_modules -bash: cd: node_modules: Datei oder Verzeichnis nicht gefunden pi@raspberrypi:/opt/iobroker$ sudo rm package-lock.json pi@raspberrypi:/opt/iobroker$ ls Backup_node_modules INSTALLER_INFO.txt node_modules_ backups iob package.json CHANGELOG_FIXER_LINUX.md iobroker packagejson_backup CHANGELOG_INSTALLER_LINUX.md iobroker-data package-lockjson_backup fix_installation.sh lib README.md --force LICENSE reinstall.js install log pi@raspberrypi:/opt/iobroker$ npm cache clean --force npm WARN using --force Recommended protections disabled. pi@raspberrypi:/opt/iobroker$ cat package.json { "name": "iobroker.core", "version": "1.0.0", "private": true, "dependencies": { "iobroker.admin": "6.2.23", "iobroker.alexa2": "3.21.0", "iobroker.backitup": "2.5.4", "iobroker.daswetter": "3.1.4", "iobroker.device-reminder": "github:xenon-s/ioBroker.device-reminder", "iobroker.devices": "1.0.12", "iobroker.echarts": "1.0.12", "iobroker.fb-checkpresence": "1.1.20", "iobroker.feiertage": "^1.1.0", "iobroker.flot": "1.11.0", "iobroker.heatingcontrol": "2.9.3", "iobroker.ical": "1.13.1", "iobroker.info": "1.9.19", "iobroker.iot": "1.11.9", "iobroker.javascript": "6.0.3", "iobroker.js-controller": "4.0.23", "iobroker.lgtv": "^1.1.10", "iobroker.lupusec": "^1.3.6", "iobroker.mihome-vacuum": "3.8.6", "iobroker.mqtt": "4.0.7", "iobroker.octoprint": "4.0.0", "iobroker.simple-api": "2.7.0", "iobroker.socketio": "4.2.0", "iobroker.sourceanalytix": "github:DrozmotiX/ioBroker.sourceanalytix#583e582d5567addd67816fcf552ec11c50f43809", "iobroker.sql": "2.1.8", "iobroker.tankerkoenig": "^2.1.1", "iobroker.telegram": "1.14.1", "iobroker.vis": "1.4.15", "iobroker.vis-colorpicker": "^1.2.0", "iobroker.vis-jqui-mfd": "^1.0.12", "iobroker.web": "4.3.0", "iobroker.yamaha": "0.5.3", "iobroker.zigbee": "github:ioBroker/ioBroker.zigbee#ec2014313ef023590b911c7d8ee8843eeab3fcbf" } } pi@raspberrypi:/opt/iobroker$ npm install npm WARN skipping integrity check for git dependency ssh://git@github.com/ioBroker/ioBroker.zigbee.git npm WARN skipping integrity check for git dependency ssh://git@github.com/DrozmotiX/ioBroker.sourceanalytix.git npm WARN deprecated @npmcli/move-file@1.1.2: This functionality has been moved to @npmcli/fs npm WARN deprecated har-validator@5.1.5: this library is no longer supported npm WARN deprecated w3c-hr-time@1.0.2: Use your platform's native performance.now() and performance.timeOrigin. npm WARN deprecated request-promise@4.2.6: request-promise has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142 npm WARN deprecated node-inspect@2.0.0: This module is part of Node.js core and does not need to be installed separately. It is now unmaintained. npm WARN deprecated querystring@0.2.1: The querystring API is considered Legacy. new code should use the URLSearchParams API instead. npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797) npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797) npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797) npm WARN deprecated querystring@0.2.0: The querystring API is considered Legacy. new code should use the URLSearchParams API instead. npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN deprecated loadsh@0.0.4: This is a typosquat on the popular Lodash package. This is not maintained nor is the original Lodash package. added 992 packages in 5m 77 packages are looking for funding run `npm fund` for details pi@raspberrypi:/opt/iobroker$ npm list iobroker.core@1.0.0 /opt/iobroker ├── @gar/promisify@1.1.3 extraneous ├── @mapbox/node-pre-gyp@1.0.10 extraneous ├── @npmcli/fs@1.1.1 extraneous ├── @npmcli/move-file@1.1.2 extraneous ├── @types/caseless@0.12.2 extraneous ├── @types/request@2.48.8 extraneous ├── @types/tough-cookie@4.0.2 extraneous ├── abbrev@1.1.1 extraneous ├── agentkeepalive@4.2.1 extraneous ├── aggregate-error@3.1.0 extraneous ├── aproba@2.0.0 extraneous ├── are-we-there-yet@2.0.0 extraneous ├── cacache@15.3.0 extraneous ├── clean-stack@2.2.0 extraneous ├── coffeescript@1.12.7 extraneous ├── color-support@1.1.3 extraneous ├── console-control-strings@1.1.0 extraneous ├── delegates@1.0.0 extraneous ├── env-paths@2.2.1 extraneous ├── err-code@2.0.3 extraneous ├── gauge@3.0.2 extraneous ├── has-unicode@2.0.1 extraneous ├── http-cache-semantics@4.1.0 extraneous ├── humanize-ms@1.2.1 extraneous ├── imurmurhash@0.1.4 extraneous ├── indent-string@4.0.0 extraneous ├── infer-owner@1.0.4 extraneous ├── iobroker.admin@6.2.23 ├── iobroker.alexa2@3.21.0 ├── iobroker.backitup@2.5.4 ├── iobroker.daswetter@3.1.4 ├── iobroker.device-reminder@1.2.9 (git+ssh://git@github.com/xenon-s/ioBroker.device-reminder.git#fb44c4390139208538fa6af354ebdb2deb315300) ├── iobroker.devices@1.0.12 ├── iobroker.echarts@1.0.12 ├── iobroker.fb-checkpresence@1.1.20 ├── iobroker.feiertage@1.1.0 ├── iobroker.flot@1.11.0 ├── iobroker.heatingcontrol@2.9.3 ├── iobroker.ical@1.13.1 ├── iobroker.info@1.9.19 ├── iobroker.iot@1.11.9 ├── iobroker.javascript@6.0.3 ├── iobroker.js-controller@4.0.23 ├── iobroker.lgtv@1.1.10 ├── iobroker.lupusec@1.3.6 ├── iobroker.mihome-vacuum@3.8.6 ├── iobroker.mqtt@4.0.7 ├── iobroker.octoprint@4.0.0 ├── iobroker.simple-api@2.7.0 ├── iobroker.socketio@4.2.0 ├── iobroker.sourceanalytix@0.4.12 (git+ssh://git@github.com/DrozmotiX/ioBroker.sourceanalytix.git#583e582d5567addd67816fcf552ec11c50f43809) ├── iobroker.sql@2.1.8 ├── iobroker.tankerkoenig@2.1.1 ├── iobroker.telegram@1.14.1 ├── iobroker.vis-colorpicker@1.2.0 ├── iobroker.vis-jqui-mfd@1.0.12 ├── iobroker.vis@1.4.15 ├── iobroker.web@4.3.0 ├── iobroker.yamaha@0.5.3 ├── iobroker.zigbee@1.7.5 (git+ssh://git@github.com/ioBroker/ioBroker.zigbee.git#ec2014313ef023590b911c7d8ee8843eeab3fcbf) ├── ip@2.0.0 extraneous ├── is-lambda@1.0.1 extraneous ├── jsonata@1.8.6 extraneous ├── make-dir@3.1.0 extraneous ├── make-fetch-happen@9.1.0 extraneous ├── minipass-collect@1.0.2 extraneous ├── minipass-fetch@1.4.1 extraneous ├── minipass-flush@1.0.5 extraneous ├── minipass-pipeline@1.2.4 extraneous ├── minipass-sized@1.0.3 extraneous ├── node-gyp@8.4.1 extraneous ├── node-inspect@2.0.0 extraneous ├── nopt@5.0.0 extraneous ├── npmlog@5.0.1 extraneous ├── picocolors@1.0.0 extraneous ├── promise-inflight@1.0.1 extraneous ├── promise-retry@2.0.1 extraneous ├── rimraf@3.0.2 extraneous ├── set-blocking@2.0.0 extraneous ├── smart-buffer@4.2.0 extraneous ├── socks-proxy-agent@6.2.1 extraneous ├── socks@2.7.1 extraneous ├── ssri@8.0.1 extraneous ├── suncalc2@1.8.1 extraneous ├── unique-filename@1.1.1 extraneous ├── unique-slug@2.0.2 extraneous ├── virtual-tsc@0.6.2 extraneous ├── wake_on_lan@1.0.0 extraneous └── wide-align@1.1.5 extraneous pi@raspberrypi:/opt/iobroker$ cat package.json { "name": "iobroker.core", "version": "1.0.0", "private": true, "dependencies": { "iobroker.admin": "6.2.23", "iobroker.alexa2": "3.21.0", "iobroker.backitup": "2.5.4", "iobroker.daswetter": "3.1.4", "iobroker.device-reminder": "github:xenon-s/ioBroker.device-reminder", "iobroker.devices": "1.0.12", "iobroker.echarts": "1.0.12", "iobroker.fb-checkpresence": "1.1.20", "iobroker.feiertage": "^1.1.0", "iobroker.flot": "1.11.0", "iobroker.heatingcontrol": "2.9.3", "iobroker.ical": "1.13.1", "iobroker.info": "1.9.19", "iobroker.iot": "1.11.9", "iobroker.javascript": "6.0.3", "iobroker.js-controller": "4.0.23", "iobroker.lgtv": "^1.1.10", "iobroker.lupusec": "^1.3.6", "iobroker.mihome-vacuum": "3.8.6", "iobroker.mqtt": "4.0.7", "iobroker.octoprint": "4.0.0", "iobroker.simple-api": "2.7.0", "iobroker.socketio": "4.2.0", "iobroker.sourceanalytix": "github:DrozmotiX/ioBroker.sourceanalytix#583e582d5567addd67816fcf552ec11c50f43809", "iobroker.sql": "2.1.8", "iobroker.tankerkoenig": "^2.1.1", "iobroker.telegram": "1.14.1", "iobroker.vis": "1.4.15", "iobroker.vis-colorpicker": "^1.2.0", "iobroker.vis-jqui-mfd": "^1.0.12", "iobroker.web": "4.3.0", "iobroker.yamaha": "0.5.3", "iobroker.zigbee": "github:ioBroker/ioBroker.zigbee#ec2014313ef023590b911c7d8ee8843eeab3fcbf" } }
-
-
Nein
pi@raspberrypi:/opt/iobroker$ iob upgrade All adapters are up to date
Aber das Problem war ja kein Adapter sondern canvas. Das scheint jetzt ganz weg zu sein:
pi@raspberrypi:/opt/iobroker$ cd /opt/iobroker/node_modules pi@raspberrypi:/opt/iobroker/node_modules$ npm ls canvas iobroker.core@1.0.0 /opt/iobroker └── (empty)
Ich werde den den Rpi neustarten und gucken was der iobroker so sagt und was dann beim ausführen vom Skript passiert.
-
@anno171986 Also was ich bisschen eigenartig finde, ist
- das Dein header so komplett anders ist, als bei mir.
- das heißt, dass Du einfach keinen sauberen Baum hast. Letzter kann aber auch daher kommen, dass entweder ein Adapter oder Du selbst über den JS-Adapter alte nodejs Module installierst, die Dir dann so einen unsauberen Baum generieren. Ich habe das festgestellt, wenn man beispielsweise die moments Bibliothek im JS Adapter nachinstalliert.
Dieses canvas wird ja meines Erachtens nur zum Zeichnen von irgendwelchen Karten benötigt?
EDIT:
Ich würde halt auch mal die beiden github Versionen, vom zigbee und vom sourceanlytics Adapter gegen richtige Versionen tauschen.