Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Entwicklung
  4. Fehler bei Test und Release Workflows

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.9k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.3k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    16
    1
    3.6k

Fehler bei Test und Release Workflows

Scheduled Pinned Locked Moved Entwicklung
3 Posts 2 Posters 359 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Z Offline
    Z Offline
    zap
    Developer
    wrote on last edited by
    #1

    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.

    ? 1 Reply Last reply
    0
    • Z zap

      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.

      ? Offline
      ? Offline
      A Former User
      wrote on last edited by
      #2

      @zap hi,

      Die node version 14x wird bei Test & release nicht mehr unterstützt. Dies musst du händisch selbst änder in der datei .github/workflows/test-and-release.yml

      Dort kannst du die node versionen wo nur eine version bei dir drin steht (bei der ersten ist es bei dir node v16.x und bei der ganz unten node v14.x) kannst auf node v16.x oder auf v18.x ändern und bei der wo drei versionen drin steht (das in der mitte ca.) nimmst du das v14.x raus und machst daraus

      node-version: [16.x, 18.x, 20.x]
      
      Z 1 Reply Last reply
      0
      • ? A Former User

        @zap hi,

        Die node version 14x wird bei Test & release nicht mehr unterstützt. Dies musst du händisch selbst änder in der datei .github/workflows/test-and-release.yml

        Dort kannst du die node versionen wo nur eine version bei dir drin steht (bei der ersten ist es bei dir node v16.x und bei der ganz unten node v14.x) kannst auf node v16.x oder auf v18.x ändern und bei der wo drei versionen drin steht (das in der mitte ca.) nimmst du das v14.x raus und machst daraus

        node-version: [16.x, 18.x, 20.x]
        
        Z Offline
        Z Offline
        zap
        Developer
        wrote on last edited by
        #3

        @ciddi89 Das wars. Tests laufen nun fehlerfrei durch. Vielen Dank!

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        Support us

        ioBroker
        Community Adapters
        Donate

        787

        Online

        32.5k

        Users

        81.6k

        Topics

        1.3m

        Posts
        Community
        Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
        ioBroker Community 2014-2025
        logo
        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Home
        • Recent
        • Tags
        • Unread 0
        • Categories
        • Unreplied
        • Popular
        • GitHub
        • Docu
        • Hilfe