Jey-Cee / ioBroker.net-tools

ioBroker network tools for ping, wake-on-lan and port scan.
Other
3 stars 3 forks source link

[Bug]: Adapter lässt sich nicht starten #29

Closed mdumbsky closed 10 months ago

mdumbsky commented 10 months ago

Contact Details

info@mdumbsky.de

What happened?

Nach Update auf Adapter-Version 1.0.1, dem Erwerb einer Lizenz und Eingabe des Lizenzschlüssels lässt sich der Adapter nicht starten. Angeblich fehlt ein Modul (siehe Auszug aus dem ioBroker-Log unten).

Adapter Version

1.0.1

JS-Controller Version

5.0.17

Node JS Version

18.19.0

NPM Version

10.2.3

Operating System

Debian

Relevant log output

host.raspberry
2024-01-20 15:11:30.179 error   instance system.adapter.net-tools.0 terminated with code 1 (JS_CONTROLLER_STOPPED)
host.raspberry
2024-01-20 15:11:30.179 error   Caught by controller[0]: Node.js v18.19.0
host.raspberry
2024-01-20 15:11:30.179 error   Caught by controller[0]: }
host.raspberry
2024-01-20 15:11:30.179 error   Caught by controller[0]: ]
host.raspberry
2024-01-20 15:11:30.179 error   Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.net-tools/main.js'
host.raspberry
2024-01-20 15:11:30.179 error   Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.net-tools/lib/devicemgmt.js',
host.raspberry
2024-01-20 15:11:30.179 error   Caught by controller[0]: requireStack: [
host.raspberry
2024-01-20 15:11:30.179 error   Caught by controller[0]: code: 'MODULE_NOT_FOUND',
host.raspberry
2024-01-20 15:11:30.179 error   Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1225:19) {
host.raspberry
2024-01-20 15:11:30.179 error   Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:1013:12)
host.raspberry
2024-01-20 15:11:30.179 error   Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1197:32)
host.raspberry
2024-01-20 15:11:30.179 error   Caught by controller[0]: at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
host.raspberry
2024-01-20 15:11:30.179 error   Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1356:14)
host.raspberry
2024-01-20 15:11:30.179 error   Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.net-tools/lib/devicemgmt.js:1:17)
host.raspberry
2024-01-20 15:11:30.179 error   Caught by controller[0]: at require (node:internal/modules/helpers:177:18)
host.raspberry
2024-01-20 15:11:30.179 error   Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1225:19)
host.raspberry
2024-01-20 15:11:30.179 error   Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:975:27)
host.raspberry
2024-01-20 15:11:30.179 error   Caught by controller[0]: at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
host.raspberry
2024-01-20 15:11:30.179 error   Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.net-tools/main.js
host.raspberry
2024-01-20 15:11:30.179 error   Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.net-tools/lib/devicemgmt.js
host.raspberry
2024-01-20 15:11:30.179 error   Caught by controller[0]: Require stack:
host.raspberry
2024-01-20 15:11:30.179 error   Caught by controller[0]: Error: Cannot find module '@jey-cee/dm-utils'
host.raspberry
2024-01-20 15:11:30.179 error   Caught by controller[0]: ^
host.raspberry
2024-01-20 15:11:30.179 error   Caught by controller[0]: throw err;
host.raspberry
2024-01-20 15:11:30.179 error   Caught by controller[0]: node:internal/modules/cjs/loader:1137

Anything else?

No response

Jey-Cee commented 10 months ago

Fix is already provided with version 1.0.2 please check it out.

mdumbsky commented 10 months ago

Der Adapter bricht immer noch mit Fehlermeldung ab, allerdings fehlt jetzt ein anderes Modul:

host.raspberry | 2024-01-20 20:46:40.374 | error | Caught by controller[0]: Error: Cannot find module '@all-smart/dm-utils'

Jey-Cee commented 10 months ago

Fixed with v1.0.3