Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
3 tasks done
Feuer-sturm opened this issue May 24, 2024 · 3 comments
Closed
3 tasks done

Comments

@Feuer-sturm
Copy link
Contributor

I'm sure that

  • This issue is still present in the current beta version of this adapter
  • There is no other (open) issue with the same topic (use the search!)
  • This issue is not described in the adapter documentation / FAQ (read the docs!)

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

@klein0r klein0r added the bug label May 24, 2024
@tt-tom17
Copy link

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
Copy link
Collaborator

klein0r commented May 25, 2024

Fixed in 8.4.0

@Feuer-sturm
Copy link
Contributor Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants