Hallo,
die Test und Release Workflows in Github schlagen für meinen Adapter regelmäßig fehl (https://github.com/zapccu/ioBroker.sma-ev-charger).
Die Fehlermeldungen beim Adapter Test (Ubuntu) lauten:
npm ERR! code ENOTSUP
264
npm ERR! notsup Unsupported engine for iobroker.js-controller@5.0.1-alpha.0-20230525-c580eb7e: wanted: {"node":">=16.4.0"} (current: {"node":"14.21.3","npm":"6.14.18"})
265
npm ERR! notsup Not compatible with your version of node/npm: iobroker.js-controller@5.0.1-alpha.0-20230525-c580eb7e
266
npm ERR! notsup Not compatible with your version of node/npm: iobroker.js-controller@5.0.1-alpha.0-20230525-c580eb7e
267
npm ERR! notsup Required: {"node":">=16.4.0"}
268
npm ERR! notsup Actual: {"npm":"6.14.18","node":"14.21.3"}
Das kommt mehrfach. Dann noch dieser Fehler hier (vielleicht ein Folgefehler):
1) Adapter integration tests
299
"before all" hook: prepareTests in "Adapter integration tests":
300
Error: /tmp/test-iobroker.sma-ev-charger/iobroker-data/iobroker.json: ENOENT: no such file or directory, open '/tmp/test-iobroker.sma-ev-charger/iobroker-data/iobroker.json'
301
at Object.openSync (fs.js:498:3)
302
at Object.readFileSync (fs.js:394:35)
303
at readFileSync (node_modules/jsonfile/index.js:50:22)
304
at DBConnection.getSystemConfig (node_modules/@iobroker/testing/build/tests/integration/lib/dbConnection.js:115:44)
305
at DBConnection.get objectsType [as objectsType] (node_modules/@iobroker/testing/build/tests/integration/lib/dbConnection.js:102:21)
306
at DBConnection.createObjectsDB (node_modules/@iobroker/testing/build/tests/integration/lib/dbConnection.js:175:34)
307
at DBConnection.start (node_modules/@iobroker/testing/build/tests/integration/lib/dbConnection.js:149:20)
308
at Context.prepareTests (node_modules/@iobroker/testing/build/tests/integration/index.js:66:28)
309
at processTicksAndRejections (internal/process/task_queues.js:95:5)
Leider habe ich keine Erfahrung mit ioBroker Entwicklung. Ist mein erster Adapter. Also sorry schonmal, wenn das eine blöde Frage ist.