Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Entwicklung
    4. Travis CI: Problem mit Node.Js 6

    NEWS

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    • Save The Date: ioBroker@Smart Living Forum Solingen, 14.06.

    Travis CI: Problem mit Node.Js 6

    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      seb Developer last edited by

      Moin,

      mein Adapter schlägt im Travis CI unter Node.JS 6 fehl - die anderen Versionen laufen. Mir ist nur nicht ganz klar warum. Ich habe den Adapter neu aufgebaut aus dem aktuellen Template. Zuerst hatte er Probleme mit dem Spread Operator (...) gemeldet:

      1) Test the adapter (in a mocked environment)
             The adapter starts in normal mode:
           C:\...\ioBroker.nibeuplink\main.js:108
                  ...options,
                  ^^^
      

      Dann habe ich den umschifft und dann kam plötzlich ein neuer Fehler:

      1) Test the adapter (in a mocked environment)
             The adapter starts in normal mode:
           /home/travis/build/sebilm/ioBroker.nibeuplink/main.js:119
          async onReady() {
                ^^^^^^^
      

      Und da denk ich mir jetzt, da stimmt doch was generell nicht. Ich habe es nochmal mit dem Template verglichen, eigentlich ist da nichts anders. Hat jemand eine Idee?

      Meine main.js:

      https://github.com/sebilm/ioBroker.nibeuplink/blob/master/main.js

      Grüße,
      seb

      1 Reply Last reply Reply Quote 0
      • Dutchman
        Dutchman Developer Most Active Administrators last edited by

        @seb sagte in Travis CI: Problem mit Node.Js 6:

        https://github.com/sebilm/ioBroker.nibeuplink/blob/master/main.js

        ich kann mich irren aber dein adapter benutzt ASYNC Funktionen, die gehen erst ab node 8.

        S 1 Reply Last reply Reply Quote 0
        • S
          seb Developer @Dutchman last edited by

          Mhm, dann wäre aber das aktuelle Adapter-Template ungünstig - das stammt ja vom Template - sowohl das nodejs 6, als auch das async.

          T 1 Reply Last reply Reply Quote 0
          • T
            tombox @seb last edited by

            @seb node 6 wurde aus dem travis rausgenommen
            https://github.com/ioBroker/create-adapter/issues/127

            TA2k created this issue in ioBroker/create-adapter

            closed options constructor faild in travis node 6 test #127

            1 Reply Last reply Reply Quote 0
            • First post
              Last post

            Support us

            ioBroker
            Community Adapters
            Donate

            843
            Online

            31.6k
            Users

            79.4k
            Topics

            1.3m
            Posts

            3
            4
            239
            Loading More Posts
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes
            Reply
            • Reply as topic
            Log in to reply
            Community
            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
            The ioBroker Community 2014-2023
            logo