ioBroker / ioBroker.javascript

Script engine for JavaScript and Blockly
MIT License
325 stars 120 forks source link

[Bug]: npm modules in javascript instance are broker after update to newer version #1576

Closed Feuer-sturm closed 4 months ago

Feuer-sturm commented 4 months ago

I'm sure that

Script type

dont care

The problem

In the Javascript instance v8.0.3 on my production system, the npm modules are correctly displayed individually. On my test system, Javascript is on 8.3.1 and there it now also looks like everything is in one item

grafik

Native-Objekt of Instanz-Object: grafik

Problem: libraries is not an array "libraries": "xml2js moment moment-timezone moment-duration-format mathjs",

iobroker.current.log (in debug mode!)

No response

Version of nodejs

18.20.3

Version of ioBroker js-controller

5.0.19

Version of adapter

8.3.1

tt-tom17 commented 4 months ago

Mir sind noch zwei Sachen aufgefallen. Wenn die Syntaxhilfe der npm-Module leer ist, sehe ich nicht die Auswahl für die Instanz Spiegelung.

Bildschirmfoto 2024-05-25 um 11 07 36

Erst wenn ich ein Buchstabe ins Feld Syntaxhilfe setze, erscheint das Auswahlfeld

Bildschirmfoto 2024-05-25 um 11 08 05

Ich kann auch keine Module in die Syntaxhilfe eintragen, heißt mit Enter wurde der Name übernommen und man konnte das nächste Modul eintragen. Sah dann so aus.

image
klein0r commented 4 months ago

Fixed in 8.4.0

Feuer-sturm commented 4 months ago

Nach Update auf 8.4.0 werden die Module in der Instanz richtig dargestellt grafik