ioBroker.javascript icon indicating copy to clipboard operation
ioBroker.javascript copied to clipboard

Use js-controller v6 methods to manage node modules

Open foxriver76 opened this issue 2 months ago • 7 comments

Is your feature request related to a problem? Please describe. Currently when installing user defined node modules, npm will clean them at every operation, leading to the module not being available until a restart of javascript adapter.

Describe the solution you'd like js-controller v6 introduces new methods with https://github.com/ioBroker/ioBroker.js-controller/pull/2650 to install and require node modules without running into this issue

Describe alternatives you've considered None

Additional context Code needs to check if methods available if yes use this method else stick to old behavior

Only for implementing developer: To test the feature locally with the js-controller v6, simply install iobroker.js-controller@dev

foxriver76 avatar Apr 23 '24 06:04 foxriver76