NEWS
SONOFF NSPanel mit Lovelace UI
-
hast du den JS-Controller auch aktualisiert?
-
@lesiflo die Error Meldung ist von Instanz 0. Du zeigst aber die Instanz 1
Ist bei Instanz 0 auch dayjs eingetragen? -
@gargano gutes Auge
-
Ich kann bestätigen, dass auf meinem Testsystem alle Beta-Adapter inkl. JS-Controller laufen und es keine Probleme mit dem Panel gibt.
-
@gargano Ja, ist überall eingetragen
-
@tt-tom sagte in SONOFF NSPanel mit Lovelace UI:
hast du den JS-Controller auch aktualisiert?
Ja. Der Fehler kommt auch nur beim Start vom Script. Danach wenn's erstmal läuft nicht mehr. Die Panel's lassen ich auch fehlerfrei bedienen.
-
Deine npm Einträge sehen komisch aus, wo kommt da das Komma her??
Eventuell Einträge löschen Instanz neu starten und wieder eintragen. Ohne Komma.
Vielleicht liegt es daran.
-
@tt-tom sagte in SONOFF NSPanel mit Lovelace UI:
Deine npm Einträge sehen komisch aus, wo kommt da das Komma her??
es gab mal eine fehlerhafte javascript-adapter Beta Version, die das machte...
Eventuell Einträge löschen Instanz neu starten und wieder eintragen. Ohne Komma.
Vielleicht liegt es daran.
nicht nur vielleicht.. genau daran..
-
Hi,
ich habe hier das gleiche Problem glaube ich:
javascript.0 2024-08-02 20:04:35.315 error at Module._compile (node:internal/modules/cjs/loader:1358:14) javascript.0 2024-08-02 20:04:35.315 error at Object.<anonymous> (/opt/iobroker/node_modules/@iobroker-javascript.0/dayjs/locale/da.js:1:243) javascript.0 2024-08-02 20:04:35.314 error at /opt/iobroker/node_modules/@iobroker-javascript.0/dayjs/locale/da.js:1:86 javascript.0 2024-08-02 20:04:35.314 error at require (node:internal/modules/helpers:179:18) javascript.0 2024-08-02 20:04:35.313 error at Module.require (node:internal/modules/cjs/loader:1233:19) javascript.0 2024-08-02 20:04:35.313 error at Function.Module._load (node:internal/modules/cjs/loader:986:27) javascript.0 2024-08-02 20:04:35.312 error script.js.common.NsPanelWz: Error: Cannot find module 'dayjs' javascript.0 2024-08-02 20:04:35.307 error at Function.Module._load (node:internal/modules/cjs/loader:1024:12) javascript.0 2024-08-02 20:04:35.307 error at Module.load (node:internal/modules/cjs/loader:1208:32) javascript.0 2024-08-02 20:04:35.307 error at Object.Module._extensions..js (node:internal/modules/cjs/loader:1416:10) javascript.0 2024-08-02 20:04:35.307 error at Module._compile (node:internal/modules/cjs/loader:1358:14) javascript.0 2024-08-02 20:04:35.307 error at Object.<anonymous> (/opt/iobroker/node_modules/@iobroker-javascript.0/dayjs/locale/nl.js:1:243) javascript.0 2024-08-02 20:04:35.306 error at /opt/iobroker/node_modules/@iobroker-javascript.0/dayjs/locale/nl.js:1:86 javascript.0 2024-08-02 20:04:35.306 error at require (node:internal/modules/helpers:179:18) javascript.0 2024-08-02 20:04:35.305 error at Module.require (node:internal/modules/cjs/loader:1233:19) javascript.0 2024-08-02 20:04:35.305 error at Function.Module._load (node:internal/modules/cjs/loader:986:27) javascript.0 2024-08-02 20:04:35.305 error script.js.common.NsPanelWz: Error: Cannot find module 'dayjs' javascript.0 2024-08-02 20:04:35.299 error at Function.Module._load (node:internal/modules/cjs/loader:1024:12) javascript.0 2024-08-02 20:04:35.298 error at Module.load (node:internal/modules/cjs/loader:1208:32) javascript.0 2024-08-02 20:04:35.298 error at Object.Module._extensions..js (node:internal/modules/cjs/loader:1416:10) javascript.0 2024-08-02 20:04:35.298 error at Module._compile (node:internal/modules/cjs/loader:1358:14) javascript.0 2024-08-02 20:04:35.297 error at Object.<anonymous> (/opt/iobroker/node_modules/@iobroker-javascript.0/dayjs/locale/de.js:1:243) javascript.0 2024-08-02 20:04:35.297 error at /opt/iobroker/node_modules/@iobroker-javascript.0/dayjs/locale/de.js:1:86 javascript.0 2024-08-02 20:04:35.297 error at require (node:internal/modules/helpers:179:18) javascript.0 2024-08-02 20:04:35.296 error at Module.require (node:internal/modules/cjs/loader:1233:19) javascript.0 2024-08-02 20:04:35.296 error at Function.Module._load (node:internal/modules/cjs/loader:986:27) javascript.0 2024-08-02 20:04:35.295 error script.js.common.NsPanelWz: Error: Cannot find module 'dayjs'``` code_text
/*----------------------------------------------------------------------- TypeScript v4.3.3.43 zur Steuerung des SONOFF NSPanel mit dem ioBroker by @Armilar / @TT-Tom / @ticaki / @Britzelpuf / @Sternmiere / @ravenS0ne - abgestimmt auf TFT 53 / v4.3.3 / BerryDriver 9 / Tasmota 13.3.0 @joBr99 Projekt: https://github.com/joBr99/nspanel-lovelace-ui/tree/main/ioBroker NsPanelTs.ts (dieses TypeScript in ioBroker) Stable: https://github.com/joBr99/nspanel-lovelace-ui/blob/main/ioBroker/NsPanelTs.ts icon_mapping.ts: https://github.com/joBr99/nspanel-lovelace-ui/blob/main/ioBroker/icon_mapping.ts (TypeScript muss in global liegen) ioBroker-Unterstützung: https://forum.iobroker.net/topic/50888/sonoff-nspanel @Kuckuckmann: WIKI zu diesem Projekt unter: https://github.com/joBr99/nspanel-lovelace-ui/wiki (siehe Sidebar)
Gelöscht und neu angelegt habe ich das dayjs bereits.
Oder muss ich Iobroker Komplete neu starten nach dem Löschen, bisher nur die Instanz.
Hier auch noch mal, löschen tut er es auf alle fälle.
2024-08-02 20:28:27.735 - info: javascript.0 (9549) starting. Version 8.7.6 in /opt/iobroker/node_modules/iobroker.javascript, node: v20.16.0, js-controller: 6.0.9 2024-08-02 20:29:31.710 - info: javascript.0 (9549) Removed custom npm package: "dayjs" 2024-08-02 20:29:45.410 - info: javascript.0 (9549) Removed custom npm package: "moment" 2024-08-02 20:29:50.188 - info: javascript.0 (9549) requesting all states 2024-08-02 20:29:50.191 - info: javascript.0 (9549) requesting all objects 2024-08-02 20:29:57.141 - info: javascript.0 (9549) received all objects 2024-08-02 20:29:59.283 - info: javascript.0 (9549) received all states 2024-08-02 20:30:00.066 - info: javascript.0 (9549) script.js.global.IconsSelector: compiling TypeScript source... 2024-08-02 20:30:00.741 - info: javascript.0 (9549) script.js.global.IconsSelector: source code did not change, using cached compilation result... 2024-08-02 20:30:01.551 - info: host.iobroker instance system.adapter.ical.0 in version "1.15.0" started with pid 9701
Grüße
-
So wie es aussieht findet er ein paar Sprachmodule nicht. Sollte bei der Bedienung nicht auffallen. Die Meldungen kommen nur beim Start des Script oder auch bei der Bedienung??
-
@tt-tom Ja auch nur beim Start des Scrips, Bedienung ist ok
Hier der komplette Start des Scrips:
javascript.0 20:52:34.728 info Stopping script script.js.common.NsPanelWz javascript.0 20:52:41.538 info Compiling TypeScript source script.js.common.NsPanelWz javascript.0 20:52:43.288 info script.js.common.NsPanelWz: source code did not change, using cached compilation result... javascript.0 20:52:43.578 error script.js.common.NsPanelWz: Error: Cannot find module 'dayjs' javascript.0 20:52:43.584 error script.js.common.NsPanelWz: Error: Cannot find module 'dayjs' javascript.0 20:52:43.591 error script.js.common.NsPanelWz: Error: Cannot find module 'dayjs' javascript.0 20:52:43.595 error script.js.common.NsPanelWz: Error: Cannot find module 'dayjs' javascript.0 20:52:43.603 error script.js.common.NsPanelWz: Error: Cannot find module 'dayjs' javascript.0 20:52:43.609 error script.js.common.NsPanelWz: Error: Cannot find module 'dayjs' javascript.0 20:52:43.616 error script.js.common.NsPanelWz: Error: Cannot find module 'dayjs' javascript.0 20:52:43.622 error script.js.common.NsPanelWz: Error: Cannot find module 'dayjs' javascript.0 20:52:43.634 error script.js.common.NsPanelWz: Error: Cannot find module 'dayjs' javascript.0 20:52:43.641 error script.js.common.NsPanelWz: Error: Cannot find module 'dayjs' javascript.0 20:52:43.646 error script.js.common.NsPanelWz: Error: Cannot find module 'dayjs' javascript.0 20:52:43.655 error script.js.common.NsPanelWz: Error: Cannot find module 'dayjs' javascript.0 20:52:43.661 error script.js.common.NsPanelWz: Error: Cannot find module 'dayjs' javascript.0 20:52:43.667 error script.js.common.NsPanelWz: Error: Cannot find module 'dayjs' javascript.0 20:52:43.674 error script.js.common.NsPanelWz: Error: Cannot find module 'dayjs' javascript.0 20:52:43.680 error script.js.common.NsPanelWz: Error: Cannot find module 'dayjs' javascript.0 20:52:43.687 error script.js.common.NsPanelWz: Error: Cannot find module 'dayjs' javascript.0 20:52:43.691 error script.js.common.NsPanelWz: Error: Cannot find module 'dayjs' javascript.0 20:52:43.696 error script.js.common.NsPanelWz: Error: Cannot find module 'dayjs' javascript.0 20:52:43.702 error script.js.common.NsPanelWz: Error: Cannot find module 'dayjs' javascript.0 20:52:43.709 error script.js.common.NsPanelWz: Error: Cannot find module 'dayjs' javascript.0 20:52:43.715 error script.js.common.NsPanelWz: Error: Cannot find module 'dayjs' javascript.0 20:52:43.721 error script.js.common.NsPanelWz: Error: Cannot find module 'dayjs' javascript.0 20:52:43.727 error script.js.common.NsPanelWz: Error: Cannot find module 'dayjs' javascript.0 20:52:43.733 error script.js.common.NsPanelWz: Error: Cannot find module 'dayjs' javascript.0 20:52:43.742 error script.js.common.NsPanelWz: Error: Cannot find module 'dayjs' javascript.0 20:52:43.751 error script.js.common.NsPanelWz: Error: Cannot find module 'dayjs' javascript.0 20:52:43.756 error script.js.common.NsPanelWz: Error: Cannot find module 'dayjs' javascript.0 20:52:43.762 error script.js.common.NsPanelWz: Error: Cannot find module 'dayjs' javascript.0 20:52:43.776 error script.js.common.NsPanelWz: Error: Cannot find module 'dayjs' javascript.0 20:52:43.780 error script.js.common.NsPanelWz: Error: Cannot find module 'dayjs' javascript.0 20:52:43.784 error script.js.common.NsPanelWz: Error: Cannot find module 'dayjs' javascript.0 20:52:43.788 error script.js.common.NsPanelWz: Error: Cannot find module 'dayjs' javascript.0 20:52:43.792 error script.js.common.NsPanelWz: Error: Cannot find module 'dayjs' javascript.0 20:52:43.796 error script.js.common.NsPanelWz: Error: Cannot find module 'dayjs' javascript.0 20:52:43.800 error script.js.common.NsPanelWz: Error: Cannot find module 'dayjs' javascript.0 20:52:43.808 error script.js.common.NsPanelWz: Error: Cannot find module 'dayjs' javascript.0 20:52:43.813 error script.js.common.NsPanelWz: Error: Cannot find module 'dayjs' javascript.0 20:52:43.866 info script.js.common.NsPanelWz: setObjects enabled - create Alias Channels possible javascript.0 20:52:43.887 info script.js.common.NsPanelWz: weather alias for accuweather.0. already exists javascript.0 20:52:43.937 info script.js.common.NsPanelWz: No Updates for NSPanel available javascript.0 20:52:43.937 info script.js.common.NsPanelWz: registered 32 subscriptions, 0 schedules, 0 messages, 0 logs and 0 file subscriptions javascript.0 20:52:43.953 info script.js.common.NsPanelWz: No Updates for NSPanel available javascript.0 20:52:46.753 info script.js.common.NsPanelWz: Desired TFT Firmware: 53 / v4.4.0 javascript.0 20:52:46.753 info script.js.common.NsPanelWz: Installed TFT Firmware: 53 / v4.4.0 javascript.0 20:52:48.005 info script.js.common.NsPanelWz: Debug mode disabled javascript.0 20:52:49.892 info script.js.common.NsPanelWz: Desired TFT Firmware: 53 / v4.4.0 javascript.0 20:52:49.893 info script.js.common.NsPanelWz: Installed TFT Firmware: 53 / v4.4.0 javascript.0 20:52:50.219 info script.js.common.NsPanelWz: Desired TFT Firmware: 53 / v4.4.0 javascript.0 20:52:50.219 info script.js.common.NsPanelWz: Installed TFT Firmware: 53 / v4.4.0
-
@tt-tom Bei mir auch nur beim Start des Scripts.
-
Hallo zusammen,
bei mir kommt script.js.NsPanel_EG.NS_Panel: Error: Cannot find module 'dayjs' obwohl es eingetragen ist.
was kann ich machen? -
Welche Adapterversion von javascript?
Einfach mal den Eintrag geloescht, und wieder neu angelegt, und dann Adapter neu gestartet?Zeig doch mal n Screenshot von den Einstellungen des Adapters, bitte..
-
@ilovegym
JS Controller hat 20.16.0
NPM hat 10.8.1
Javascript hat 8.7.6```
javascript.0
2024-08-05 12:07:37.113 error at Function.Module._load (node:internal/modules/cjs/loader:1024:12)
javascript.0
2024-08-05 12:07:37.112 error at Module.load (node:internal/modules/cjs/loader:1208:32)
javascript.0
2024-08-05 12:07:37.112 error at Module._compile (node:internal/modules/cjs/loader:1358:14)
javascript.0
2024-08-05 12:07:37.112 error at /opt/iobroker/node_modules/@iobroker-javascript.0/dayjs/locale/zh-tw.js:1:86
javascript.0
2024-08-05 12:07:37.112 error at require (node:internal/modules/helpers:179:18)
javascript.0
2024-08-05 12:07:37.112 error at Object.<anonymous> (/opt/iobroker/node_modules/@iobroker-javascript.0/dayjs/locale/zh-tw.js:1:246)
javascript.0
2024-08-05 12:07:37.112 error at Object.Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
javascript.0
2024-08-05 12:07:37.112 error at Module.require (node:internal/modules/cjs/loader:1233:19)
javascript.0
2024-08-05 12:07:37.112 error at Function.Module._load (node:internal/modules/cjs/loader:986:27)
javascript.0
2024-08-05 12:07:37.111 error script.js.NsPanel_EG.NS_Panel: Error: Cannot find module 'dayjs'
javascript.0
2024-08-05 12:07:37.108 error at Module.load (node:internal/modules/cjs/loader:1208:32)
javascript.0
2024-08-05 12:07:37.108 error at Module._compile (node:internal/modules/cjs/loader:1358:14)
javascript.0
2024-08-05 12:07:37.108 error at /opt/iobroker/node_modules/@iobroker-javascript.0/dayjs/locale/zh-cn.js:1:86
javascript.0
2024-08-05 12:07:37.108 error at require (node:internal/modules/helpers:179:18)
javascript.0
2024-08-05 12:07:37.108 error at Object.<anonymous> (/opt/iobroker/node_modules/@iobroker-javascript.0/dayjs/locale/zh-cn.js:1:246)
javascript.0
2024-08-05 12:07:37.108 error at Object.Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
javascript.0
2024-08-05 12:07:37.108 error at Function.Module._load (node:internal/modules/cjs/loader:1024:12)
javascript.0
2024-08-05 12:07:37.107 error at Module.require (node:internal/modules/cjs/loader:1233:19)
javascript.0
2024-08-05 12:07:37.107 error at Function.Module._load (node:internal/modules/cjs/loader:986:27)
javascript.0
2024-08-05 12:07:37.107 error script.js.NsPanel_EG.NS_Panel: Error: Cannot find module 'dayjs'
javascript.0
2024-08-05 12:07:37.103 error at Function.Module._load (node:internal/modules/cjs/loader:1024:12)
javascript.0
2024-08-05 12:07:37.103 error at Object.Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
javascript.0
2024-08-05 12:07:37.103 error at Object.<anonymous> (/opt/iobroker/node_modules/@iobroker-javascript.0/dayjs/locale/vi.js:1:243)
javascript.0
2024-08-05 12:07:37.103 error at /opt/iobroker/node_modules/@iobroker-javascript.0/dayjs/locale/vi.js:1:86
javascript.0
2024-08-05 12:07:37.103 error at Module._compile (node:internal/modules/cjs/loader:1358:14)
javascript.0
2024-08-05 12:07:37.103 error at Module.load (node:internal/modules/cjs/loader:1208:32)
javascript.0
2024-08-05 12:07:37.102 error at require (node:internal/modules/helpers:179:18)
javascript.0
2024-08-05 12:07:37.102 error at Module.require (node:internal/modules/cjs/loader:1233:19)
javascript.0
2024-08-05 12:07:37.102 error at Function.Module._load (node:internal/modules/cjs/loader:986:27)
javascript.0
2024-08-05 12:07:37.102 error script.js.NsPanel_EG.NS_Panel: Error: Cannot find module 'dayjs'
javascript.0
2024-08-05 12:07:37.098 error at Module.load (node:internal/modules/cjs/loader:1208:32)
javascript.0
2024-08-05 12:07:37.098 error at Module._compile (node:internal/modules/cjs/loader:1358:14)
javascript.0
2024-08-05 12:07:37.098 error at /opt/iobroker/node_modules/@iobroker-javascript.0/dayjs/locale/uk.js:1:86
javascript.0
2024-08-05 12:07:37.098 error at Object.<anonymous> (/opt/iobroker/node_modules/@iobroker-javascript.0/dayjs/locale/uk.js:1:243)
javascript.0
2024-08-05 12:07:37.098 error at Object.Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
javascript.0
2024-08-05 12:07:37.098 error at Function.Module._load (node:internal/modules/cjs/loader:1024:12)
javascript.0
2024-08-05 12:07:37.097 error at require (node:internal/modules/helpers:179:18)
javascript.0
2024-08-05 12:07:37.097 error at Module.require (node:internal/modules/cjs/loader:1233:19)
javascript.0
2024-08-05 12:07:37.097 error at Function.Module._load (node:internal/modules/cjs/loader:986:27)
javascript.0
2024-08-05 12:07:37.097 error script.js.NsPanel_EG.NS_Panel: Error: Cannot find module 'dayjs'
javascript.0
2024-08-05 12:07:37.093 error at Function.Module._load (node:internal/modules/cjs/loader:1024:12)
javascript.0
2024-08-05 12:07:37.093 error at Object.Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
javascript.0
2024-08-05 12:07:37.093 error at Module._compile (node:internal/modules/cjs/loader:1358:14)
javascript.0
2024-08-05 12:07:37.093 error at Module.load (node:internal/modules/cjs/loader:1208:32)
javascript.0
2024-08-05 12:07:37.092 error at /opt/iobroker/node_modules/@iobroker-javascript.0/dayjs/locale/tr.js:1:86
javascript.0
2024-08-05 12:07:37.092 error at Module.require (node:internal/modules/cjs/loader:1233:19)
javascript.0
2024-08-05 12:07:37.092 error at Function.Module._load (node:internal/modules/cjs/loader:986:27)
javascript.0
2024-08-05 12:07:37.092 error at require (node:internal/modules/helpers:179:18)
javascript.0
2024-08-05 12:07:37.092 error at Object.<anonymous> (/opt/iobroker/node_modules/@iobroker-javascript.0/dayjs/locale/tr.js:1:243)
javascript.0
2024-08-05 12:07:37.092 error script.js.NsPanel_EG.NS_Panel: Error: Cannot find module 'dayjs'
javascript.0
2024-08-05 12:07:37.089 error at Function.Module._load (node:internal/modules/cjs/loader:1024:12)
javascript.0
2024-08-05 12:07:37.089 error at Module.load (node:internal/modules/cjs/loader:1208:32)
javascript.0
2024-08-05 12:07:37.088 error at Module._compile (node:internal/modules/cjs/loader:1358:14)
javascript.0
2024-08-05 12:07:37.088 error at Object.<anonymous> (/opt/iobroker/node_modules/@iobroker-javascript.0/dayjs/locale/th.js:1:243)
javascript.0
2024-08-05 12:07:37.088 error at Object.Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
javascript.0
2024-08-05 12:07:37.088 error at /opt/iobroker/node_modules/@iobroker-javascript.0/dayjs/locale/th.js:1:86
javascript.0
2024-08-05 12:07:37.088 error at require (node:internal/modules/helpers:179:18)
javascript.0
2024-08-05 12:07:37.088 error at Module.require (node:internal/modules/cjs/loader:1233:19)
javascript.0
2024-08-05 12:07:37.088 error at Function.Module._load (node:internal/modules/cjs/loader:986:27)
javascript.0
2024-08-05 12:07:37.087 error script.js.NsPanel_EG.NS_Panel: Error: Cannot find module 'dayjs'
javascript.0
2024-08-05 12:07:37.082 error at Module.load (node:internal/modules/cjs/loader:1208:32)
javascript.0
2024-08-05 12:07:37.082 error at Module._compile (node:internal/modules/cjs/loader:1358:14)
javascript.0
2024-08-05 12:07:37.082 error at Object.Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
javascript.0
2024-08-05 12:07:37.082 error at Function.Module._load (node:internal/modules/cjs/loader:1024:12)
javascript.0
2024-08-05 12:07:37.081 error at Object.<anonymous> (/opt/iobroker/node_modules/@iobroker-javascript.0/dayjs/locale/sv.js:1:243)
javascript.0
2024-08-05 12:07:37.081 error at /opt/iobroker/node_modules/@iobroker-javascript.0/dayjs/locale/sv.js:1:86
javascript.0
2024-08-05 12:07:37.081 error at require (node:internal/modules/helpers:179:18)
javascript.0
2024-08-05 12:07:37.081 error at Module.require (node:internal/modules/cjs/loader:1233:19)
javascript.0
2024-08-05 12:07:37.081 error at Function.Module._load (node:internal/modules/cjs/loader:986:27)
javascript.0
2024-08-05 12:07:37.080 error script.js.NsPanel_EG.NS_Panel: Error: Cannot find module 'dayjs'
javascript.0
2024-08-05 12:07:37.076 error at Module.load (node:internal/modules/cjs/loader:1208:32)
javascript.0
2024-08-05 12:07:37.076 error at Module._compile (node:internal/modules/cjs/loader:1358:14)
javascript.0
2024-08-05 12:07:37.076 error at Object.Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
javascript.0
2024-08-05 12:07:37.076 error at Function.Module._load (node:internal/modules/cjs/loader:1024:12)
javascript.0
2024-08-05 12:07:37.075 error at Object.<anonymous> (/opt/iobroker/node_modules/@iobroker-javascript.0/dayjs/locale/sl.js:1:243)
javascript.0
2024-08-05 12:07:37.075 error at require (node:internal/modules/helpers:179:18)
javascript.0
2024-08-05 12:07:37.075 error at Module.require (node:internal/modules/cjs/loader:1233:19)
javascript.0
2024-08-05 12:07:37.075 error at /opt/iobroker/node_modules/@iobroker-javascript.0/dayjs/locale/sl.js:1:86
javascript.0
2024-08-05 12:07:37.075 error at Function.Module._load (node:internal/modules/cjs/loader:986:27)
javascript.0
2024-08-05 12:07:37.074 error script.js.NsPanel_EG.NS_Panel: Error: Cannot find module 'dayjs'
javascript.0
2024-08-05 12:07:37.071 error at Function.Module._load (node:internal/modules/cjs/loader:1024:12)
javascript.0
2024-08-05 12:07:37.071 error at Module.load (node:internal/modules/cjs/loader:1208:32)
javascript.0
2024-08-05 12:07:37.070 error at Module._compile (node:internal/modules/cjs/loader:1358:14)
javascript.0
2024-08-05 12:07:37.070 error at /opt/iobroker/node_modules/@iobroker-javascript.0/dayjs/locale/sk.js:1:86
javascript.0
2024-08-05 12:07:37.070 error at require (node:internal/modules/helpers:179:18)
javascript.0
2024-08-05 12:07:37.070 error at Object.<anonymous> (/opt/iobroker/node_modules/@iobroker-javascript.0/dayjs/locale/sk.js:1:243)
javascript.0
2024-08-05 12:07:37.070 error at Object.Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
javascript.0
2024-08-05 12:07:37.070 error at Module.require (node:internal/modules/cjs/loader:1233:19)
javascript.0
2024-08-05 12:07:37.069 error at Function.Module._load (node:internal/modules/cjs/loader:986:27)
javascript.0
2024-08-05 12:07:37.069 error script.js.NsPanel_EG.NS_Panel: Error: Cannot find module 'dayjs'
javascript.0
2024-08-05 12:07:37.065 error at Function.Module._load (node:internal/modules/cjs/loader:1024:12)
javascript.0
2024-08-05 12:07:37.065 error at Object.Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
javascript.0
2024-08-05 12:07:37.065 error at Object.<anonymous> (/opt/iobroker/node_modules/@iobroker-javascript.0/dayjs/locale/ro.js:1:243)
javascript.0
2024-08-05 12:07:37.065 error at /opt/iobroker/node_modules/@iobroker-javascript.0/dayjs/locale/ro.js:1:86
javascript.0
2024-08-05 12:07:37.065 error at Module._compile (node:internal/modules/cjs/loader:1358:14)
javascript.0
2024-08-05 12:07:37.065 error at Module.load (node:internal/modules/cjs/loader:1208:32)
javascript.0
2024-08-05 12:07:37.064 error at Module.require (node:internal/modules/cjs/loader:1233:19)
javascript.0
2024-08-05 12:07:37.064 error at Function.Module._load (node:internal/modules/cjs/loader:986:27)
javascript.0
2024-08-05 12:07:37.064 error at require (node:internal/modules/helpers:179:18)
javascript.0
2024-08-05 12:07:37.064 error script.js.NsPanel_EG.NS_Panel: Error: Cannot find module 'dayjs'
javascript.0
2024-08-05 12:07:37.061 error at Function.Module._load (node:internal/modules/cjs/loader:1024:12)
javascript.0
2024-08-05 12:07:37.061 error at Object.Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
javascript.0
2024-08-05 12:07:37.061 error at Module.load (node:internal/modules/cjs/loader:1208:32)
javascript.0
2024-08-05 12:07:37.060 error at Module._compile (node:internal/modules/cjs/loader:1358:14)
javascript.0
2024-08-05 12:07:37.060 error at Object.<anonymous> (/opt/iobroker/node_modules/@iobroker-javascript.0/dayjs/locale/lt.js:1:243) -
Codetags immer in der neuen Zeile beginnen.
Du hast das selbe Problem, wie die User vor dir auch.
Kann es noch nicht nachvollziehen, da bei mir der Fehler nicht auftritt. -
@tt-tom
kommt mir auch so vor zumindest sieht alles identisch aus -
@tobiasp
Hast du mal dayjs aus allen Instanzen gelöscht und die Instanzen neu gestartet?? -
@tt-tom said in SONOFF NSPanel mit Lovelace UI:
dayjs
Wie aus alle Instanzen gelöscht?
Du meinst nur aus der "Skript" Instanz gelöscht. -> JA -
@tobiasp wenn sie in anderen auch drin steht, dann da auch.
Alles neu starten und dann wieder eintragen.