NEWS
Node-Red - rbe
-
@labamba Also bei mir ist es nicht wiedergekommen und ich habe inzwischen sogar auf Adapterversion 3.3.0 aktualisiert.
-
@mickym
Ich verwende auch die Version 3.3 -
@labamba Wie gesagt bei mir tritt das nicht auf. Das einzige was ich mir vorstellen kann ist, dass Du anfangs ja dei npm remove Befehle nicht in den richtigen Verzeichnissen ausgeführt hast. Das hatte zur Folge, dass in den package.json noch Verweise auf die Module bzw. Verzeichnisse waren. Bei einem sudo apt update bzw. upgrade wurden die Module wieder hergestellt.
Wie gesagt ich habe den Adapter aktualisiert und die Verzeichnisse kamen nicht mehr.
-
pi@raspberrypi:~ $ cd /opt/iobroker/node_modules/iobroker.node-red pi@raspberrypi:/opt/iobroker/node_modules/iobroker.node-red $ npm remove node-red-node-rbe npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/mocha/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) audited 1040 packages in 16.906s 69 packages are looking for funding run `npm fund` for details found 17 vulnerabilities (7 low, 1 moderate, 8 high, 1 critical) run `npm audit fix` to fix them, or `npm audit` for details pi@raspberrypi:/opt/iobroker/node_modules/iobroker.node-red $ npm audit fix npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/mocha/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) updated 1 package in 15.258s 69 packages are looking for funding run `npm fund` for details fixed 1 of 17 vulnerabilities in 1040 scanned packages 16 vulnerabilities required manual review and could not be updated pi@raspberrypi:/opt/iobroker/node_modules/iobroker.node-red $ cd /opt/iobroker pi@raspberrypi:/opt/iobroker $ npm remove node-red-node-rbe npm WARN deprecated fsevents@1.2.13: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@^1.0.7 (node_modules/iobroker.info/node_modules/osx-temperature-sensor): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/@iobroker/js-controller-cli/node_modules/chokidar/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/iobroker.js2fs/node_modules/chokidar/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: node-aead-crypto@^2.2.1 (node_modules/node-dtls-client/node_modules/node-aead-crypto): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported engine for node-aead-crypto@2.2.1: wanted: {"node":">4 <10"} (current: {"node":"14.19.1","npm":"6.14.16"}) npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Not compatible with your version of node/npm: node-aead-crypto@2.2.1 npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/@serialport/bindings-cpp/package.json' npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/node-aead-crypto/package.json' npm WARN bl@0.7.0 requires a peer of stream-browserify@* but none is installed. You must install peer dependencies yourself. updated 1 package in 46.586s 175 packages are looking for funding run `npm fund` for details pi@raspberrypi:/opt/iobroker $ nom fund bash: nom: Kommando nicht gefunden. pi@raspberrypi:/opt/iobroker $ npm fund iobroker.inst@2.0.3 ├─┬ https://github.com/cheeriojs/cheerio?sponsor=1 │ └── cheerio@1.0.0-rc.10 ├─┬ https://locize.com │ └── i18next@21.6.11 ├─┬ https://locize.com/i18next.html │ └── i18next@21.6.11 ├─┬ https://www.i18next.com/how-to/faq#i18next-is-awesome.-how-can-i-support-the-project │ └── i18next@21.6.11 ├─┬ https://github.com/sponsors/jaredhanson │ └── oauth2orize@1.11.1, passport@0.5.2 ├─┬ https://opencollective.com/serialport/donate │ └── @serialport/parser-readline@10.3.0, serialport@10.4.0, @serialport/parser-slip-encoder@10.3.0, @serialport/parser-spacepacket@10.3.0, @serialport/bindings-cpp@10.7.0, @serialport/parser-byte-length@10.3.0, @serialport/parser-cctalk@10.3.0, @serialport/parser-delimiter@10.3.0, @serialport/parser-inter-byte-timeout@10.3.0, @serialport/parser-ready@10.3.0, @serialport/parser-regex@10.3.0, @serialport/stream@10.3.0, serialport@9.2.8, @serialport/parser-inter-byte-timeout@9.2.4, @serialport/binding-mock@9.2.4, @serialport/bindings@9.2.8, @serialport/parser-byte-length@9.2.4, @serialport/parser-cctalk@9.2.4, @serialport/parser-delimiter@9.2.4, @serialport/parser-readline@9.2.4, @serialport/parser-ready@9.2.4, @serialport/parser-regex@9.2.4, @serialport/stream@9.2.4, @serialport/binding-abstract@9.2.3 ├─┬ https://github.com/sponsors/sindresorhus │ └── mimic-response@2.1.0, make-dir@3.1.0, is-plain-obj@3.0.0, decompress-response@6.0.0, mimic-response@3.1.0, get-stream@6.0.1, onetime@5.1.2, escape-string-regexp@4.0.0, log-symbols@4.1.0, find-up@5.0.0, strip-json-comments@3.1.1, is-unicode-supported@0.1.0, locate-path@6.0.0, p-locate@5.0.0, p-limit@3.1.0, yocto-queue@0.1.0, camelcase@6.3.0, decamelize@4.0.0, get-stream@5.2.0, normalize-url@6.1.0, quick-lru@5.1.1, any-observable@0.5.1, del@6.0.0, escape-goat@3.0.0, is-installed-globally@0.3.2, meow@8.1.2, read-pkg-up@7.0.1, npm-name@6.0.1, open@7.4.2, ow@0.21.0, terminal-link@2.1.1, parse-json@5.2.0, import-fresh@3.3.0, p-map@4.0.0, globby@11.0.4, p-limit@2.3.0, ansi-escapes@4.3.2, figures@3.2.0, type-fest@0.21.3, global-dirs@2.1.0, camelcase-keys@6.2.2, type-fest@0.18.1, map-obj@4.2.1, is-url-superb@4.0.0, type-fest@0.10.0, p-event@4.2.0, is-docker@2.2.1, dot-prop@6.0.1, type-fest@0.20.2, boxen@5.0.1, is-npm@5.0.0, is-installed-globally@0.4.0, camelcase@6.2.0, cli-boxes@2.2.1, global-dirs@3.0.0 ├─┬ https://github.com/sponsors/fb55 │ └── cheerio-select@1.6.0, htmlparser2@6.1.0, css-select@4.3.0, css-what@6.1.0, domelementtype@2.3.0, domelementtype@2.2.0 ├─┬ https://github.com/cheeriojs/dom-serializer?sponsor=1 │ └── dom-serializer@1.4.1 ├─┬ https://github.com/fb55/domhandler?sponsor=1 │ └── domhandler@4.3.1, domhandler@4.2.2 ├─┬ https://github.com/fb55/htmlparser2?sponsor=1 │ └── htmlparser2@6.1.0 ├─┬ https://github.com/fb55/domutils?sponsor=1 │ └── domutils@2.8.0 ├─┬ https://github.com/fb55/nth-check?sponsor=1 │ └── nth-check@2.0.1 ├─┬ https://github.com/fb55/entities?sponsor=1 │ └── entities@2.2.0 ├─┬ https://github.com/sponsors/isaacs │ └── glob@7.1.6, rimraf@3.0.2, glob@7.2.0 ├─┬ https://github.com/sponsors/feross │ └── safe-buffer@5.2.1, simple-get@4.0.1, buffer@5.7.1, base64-js@1.5.1, ieee754@1.2.1, buffer@6.0.3, run-parallel@1.2.0, queue-microtask@1.2.3 ├─┬ https://www.patreon.com/feross │ └── safe-buffer@5.2.1, simple-get@4.0.1, buffer@5.7.1, base64-js@1.5.1, ieee754@1.2.1, buffer@6.0.3, run-parallel@1.2.0, queue-microtask@1.2.3 ├─┬ https://feross.org/support │ └── safe-buffer@5.2.1, simple-get@4.0.1, buffer@5.7.1, base64-js@1.5.1, ieee754@1.2.1, buffer@6.0.3, run-parallel@1.2.0, queue-microtask@1.2.3 ├─┬ https://github.com/sponsors/RubenVerborgh │ └── follow-redirects@1.15.0, follow-redirects@1.14.9 ├─┬ https://github.com/sponsors/ljharb │ └── qs@6.10.3, side-channel@1.0.4, call-bind@1.0.1, get-intrinsic@1.0.2, object-inspect@1.11.0, has-symbols@1.0.1, is-nan@1.3.2, qs@6.9.7, object.assign@4.1.2, call-bind@1.0.2, define-properties@1.1.4, has-symbols@1.0.3, get-intrinsic@1.1.1, has-property-descriptors@1.0.0, resolve@1.22.0, is-core-module@2.9.0, supports-preserve-symlinks-flag@1.0.0, qs@6.9.6, es-abstract@1.19.5, object-inspect@1.12.0, es-to-primitive@1.2.1, get-symbol-description@1.0.0, is-callable@1.2.4, is-negative-zero@2.0.2, is-regex@1.1.4, is-shared-array-buffer@1.0.2, is-string@1.0.7, is-weakref@1.0.2, string.prototype.trimend@1.0.4, string.prototype.trimstart@1.0.4, unbox-primitive@1.0.2, is-date-object@1.0.5, is-symbol@1.0.4, has-tostringtag@1.0.0, has-bigints@1.0.2, which-boxed-primitive@1.0.2, is-bigint@1.0.4, is-boolean-object@1.1.2, is-number-object@1.0.7, resolve@1.20.0, is-core-module@2.5.0 ├─┬ https://github.com/sponsors/jonschlinkert │ └── picomatch@2.2.3 ├─┬ https://paypal.me/naturalintelligence │ └── fast-xml-parser@3.21.1 ├─┬ https://opencollective.com/libvips │ └── sharp@0.30.4 ├─┬ https://www.buymeacoffee.com/systeminfo │ └── systeminformation@5.11.14 ├─┬ https://opencollective.com/ioredis │ └── ioredis@4.28.5 ├─┬ https://github.com/sindresorhus/execa?sponsor=1 │ └── execa@5.1.1 ├─┬ https://paulmillr.com/funding/ │ └── chokidar@3.5.3 ├─┬ https://github.com/chalk/wrap-ansi?sponsor=1 │ └── wrap-ansi@7.0.0 ├─┬ https://github.com/chalk/ansi-styles?sponsor=1 │ └── ansi-styles@4.3.0 ├─┬ https://opencollective.com/mochajs │ └── mocha@9.2.2 ├─┬ https://github.com/chalk/supports-color?sponsor=1 │ └── supports-color@8.1.1 ├─┬ https://github.com/chalk/chalk?sponsor=1 │ └── chalk@4.1.2 ├─┬ https://github.com/sponsors/epoberezkin │ └── ajv@8.10.0 ├─┬ https://github.com/sindresorhus/got?sponsor=1 │ └── got@11.8.3, got@10.7.0 ├─┬ https://github.com/sindresorhus/is?sponsor=1 │ └── @sindresorhus/is@4.6.0, @sindresorhus/is@2.1.1, @sindresorhus/is@4.0.1 ├─┬ https://ko-fi.com/killymxi │ └── @selderee/plugin-htmlparser2@0.6.0, selderee@0.6.0, parseley@0.7.0 ├─┬ https://nearley.js.org/#give-to-nearley │ └── nearley@2.20.1 ├─┬ https://github.com/sindresorhus/np?sponsor=1 │ └── np@7.5.0 ├─┬ https://github.com/sindresorhus/p-memoize?sponsor=1 │ └── p-memoize@4.0.1 ├─┬ https://github.com/yeoman/update-notifier?sponsor=1 │ └── update-notifier@5.1.0 └─┬ https://github.com/sindresorhus/mem?sponsor=1 └── mem@6.1.1 pi@raspberrypi:/opt/iobroker $
-
@mickym said in Node-Red - rbe:
@labamba OK - wie gesagt, dann muss das wieder weg - wie Du es schon mal gemacht hast. Wie das wieder dahin gekommen ist, kann ich Dir nicht beantworten. Falls Du nicht was zurückgeladen hast und Du meinst es ist durch die Installation gekommen, dann musst Du Dich an die Adapterentwickler wenden, da kann ich dann nicht helfen.
Also einfach wieder den npm remove node-red-node-rbe in
/opt/iobroker/node_modules/iobroker.node-red
Da war ein Fehler:
Müsste /opt/iobroker/node_modules sein oder -
@labamba Also in /opt/iobroker, also immer in dem Verzeichnis in dem die Datei package.json liegt oder /opt/iobroker/node_modules/iobroker.node-red, wenn das Verzeichnis in /opt/iobroker/node_modules/iobroker.node-red/node_modules lag.
-
@mickym
Könnte es sein, dass dies mit einer Palette in Node-Red verknüpft ist? -
@labamba Wenn du es aus der Pallette löschen kannst ist gut, aber meist geht das nicht. der Pallettenmanager führt auch nur npm Befehle aus.
-
@mickym
Kann es sein, das Alexa Sprachbefehle da mit dran hängen.
Ich habe es jetzt wieder gelöscht. Jetzt funktionieren auch wieder meine Sprachbefehle.
Mit rbe war alles tot. -
@labamba Nun dieses doppelte rbe kann andere Dinge durcheinander bringen. Ob das was mit Alexa zu tun hat - kann ich nicht sagen. Ich denke aber, dass das Deinstallieren des gesamten Adapters nichts bringt, wenn da irgendwelche Informationen drin sind. Aber wie gesagt es kann schon sein, dass durch die doppelte Registrierung Fehlfunktionen auftreten.
-
@mickym
Naja aktuell ist es mal wieder weg und node-red funktioniert wieder!
Großen Danke! -
Blöde Frage ist der node-red-node-rbe 0.5.0 bei dir in der Palette mit drin?
Irgendwie ist der jetzt bei mir installiert.
Und wie auf Knopfdruck geht die Sprachsteuerung nicht mehr von Node-Red -
@labamba Nein - darf kein eigener node-rbe geben. Schau noch mal unter /opt/iobroker/iobroker-data/node-red/node_modules
-
@mickym
Scheint eine leere Hülle zu sein -
@labamba Was Du machen kannst - ist mal in den Verzeichnissen npm list einzugeben.
Ich hab das gerade mal gemacht - aber ich würde es nur mit äußerster Vorsicht machen, d.h. wenn Du ein komplettes Image hast auf das Du wieder zurückladen kannst.
Ich habe in folgenden Verzeichnissen
/opt/iobroker
und
/opt/iobroker/iobroker-data/node-rednach dem ich alles removed hatte,
- npm list laufen lassen
... bei mir kamen da einige missings raus habe dann
- npm install laufen lassen
... damit wurde es großteils behoben
- dann mal den cache gelöscht
npm cache clean --force
- im /opt/iobroker/iobroker-data/node-red sah dann alles gut aus
im /opt/iobroker kommen ein Haufen npm ERR! extraneous - ein Großteil habe ich dann mit
npm prune wegbekommen.
Ein paar habe ich noch:
npm ERR! peer dep missing: typescript@>=2.0.0, required by virtual-tsc@0.6.2 npm ERR! extraneous: @alcalzone/release-script@3.5.9 /opt/iobroker/node_modules/iobroker.node-red/node_modules/@alcalzone/release-script npm ERR! extraneous: @alcalzone/release-script-plugin-iobroker@3.5.9 /opt/iobroker/node_modules/iobroker.node-red/node_modules/@alcalzone/release-script-plugin-iobroker npm ERR! extraneous: @alcalzone/release-script-plugin-license@3.5.9 /opt/iobroker/node_modules/iobroker.node-red/node_modules/@alcalzone/release-script-plugin-license npm ERR! extraneous: bindings@1.5.0 /opt/iobroker/node_modules/iobroker.node-red/node_modules/bindings npm ERR! extraneous: chai@4.3.6 /opt/iobroker/node_modules/iobroker.node-red/node_modules/chai npm ERR! extraneous: gulp@4.0.2 /opt/iobroker/node_modules/iobroker.node-red/node_modules/gulp npm ERR! extraneous: mocha@9.2.2 /opt/iobroker/node_modules/iobroker.node-red/node_modules/mocha npm ERR! extraneous: nan@2.15.0 /opt/iobroker/node_modules/iobroker.node-red/node_modules/nan
die bringe ich nicht weg und die sind auch noch vorhanden - ich schmeisse die aber auch nicht weg, vielleicht sind das ebenfalls Überbleibsel von vorangegangenen Versionen.
Mein Log ist zumindest sauber und kann auch keine Fehlfunktionen feststellen. Ich würde Dir das aber nur raten, wenn Du wirklich ein Image von Deinem System hast. Ich mache mir ja immer welche von den ganzen SD Karten und die sind notfalls schnell wieder hergestellt.