Skip to content
  • 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
Logo
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. Node-Red
  5. node-red 4.0 fehler beim Adapterstart

NEWS

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

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

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

node-red 4.0 fehler beim Adapterstart

node-red 4.0 fehler beim Adapterstart

Scheduled Pinned Locked Moved Node-Red
node-red
5 Posts 2 Posters 729 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.
  • JohGreJ Offline
    JohGreJ Offline
    JohGre
    wrote on last edited by
    #1

    System: ioBroker 4.0.23
    node: 16.16

    nach dem Update des Node-red Adapter auf 4.0 startet dieser immer mit folgendem Fehler:

    TypeError: files.forEach is not a function at /opt/iobroker/node_modules/fs.notify/notify.js:45:11 at /opt/iobroker/node_modules/async/dist/async.js:2955:29 at wrapper (/opt/iobroker/node_modules/async/dist/async.js:271:20) at iteratorCallback (/opt/iobroker/node_modules/async/dist/async.js:499:17) at /opt/iobroker/node_modules/async/dist/async.js:327:20 at /opt/iobroker/node_modules/async/dist/async.js:2952:17 at suppressedCallback (node:fs:263:5) at FSReqCallback.oncomplete (node:fs:188:23)
    

    im node-log steh

    verbose stack Error: ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/argparse' -> '/opt/iobroker/node_modules/.argparse-S5zfMSQi'
    

    iobroker fix und iobroker rebuild bereits durchlaufen lassen.
    Was kann ich noch versuchen? Das Modul argparse manuell installieren, den Ordern argparse löschen, ein Github-Issue eröffnen, ....?
    Danke schon mal.

    nuc i5: RaspberryMatic, ioBroker, pi-hole, SQL-Server, OMV-NAS, Influx-DB & Grafana, OpenHab, tasmoadmin

    Thomas BraunT 1 Reply Last reply
    0
    • JohGreJ JohGre

      System: ioBroker 4.0.23
      node: 16.16

      nach dem Update des Node-red Adapter auf 4.0 startet dieser immer mit folgendem Fehler:

      TypeError: files.forEach is not a function at /opt/iobroker/node_modules/fs.notify/notify.js:45:11 at /opt/iobroker/node_modules/async/dist/async.js:2955:29 at wrapper (/opt/iobroker/node_modules/async/dist/async.js:271:20) at iteratorCallback (/opt/iobroker/node_modules/async/dist/async.js:499:17) at /opt/iobroker/node_modules/async/dist/async.js:327:20 at /opt/iobroker/node_modules/async/dist/async.js:2952:17 at suppressedCallback (node:fs:263:5) at FSReqCallback.oncomplete (node:fs:188:23)
      

      im node-log steh

      verbose stack Error: ENOTEMPTY: directory not empty, rename '/opt/iobroker/node_modules/argparse' -> '/opt/iobroker/node_modules/.argparse-S5zfMSQi'
      

      iobroker fix und iobroker rebuild bereits durchlaufen lassen.
      Was kann ich noch versuchen? Das Modul argparse manuell installieren, den Ordern argparse löschen, ein Github-Issue eröffnen, ....?
      Danke schon mal.

      Thomas BraunT Online
      Thomas BraunT Online
      Thomas Braun
      Most Active
      wrote on last edited by Thomas Braun
      #2

      @johgre sagte in node-red 4.0 fehler beim Adapterstart:

      cd /opt/iobroker/node_modules
      for i in $(ls -d .[^.]*-*/); do rm -rf ${i%%/}; done
      npm ls 
      

      Linux-Werkzeugkasten:
      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
      NodeJS Fixer Skript:
      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

      JohGreJ 1 Reply Last reply
      0
      • Thomas BraunT Thomas Braun

        @johgre sagte in node-red 4.0 fehler beim Adapterstart:

        cd /opt/iobroker/node_modules
        for i in $(ls -d .[^.]*-*/); do rm -rf ${i%%/}; done
        npm ls 
        
        JohGreJ Offline
        JohGreJ Offline
        JohGre
        wrote on last edited by
        #3

        @thomas-braun sagte in node-red 4.0 fehler beim Adapterstart:

        for i in $(ls -d .[^.]-/); do rm -rf ${i%%/}; done npm ls

        bitte schön

        pi@ioBroker-VM-Slave:~$ cd /opt/iobroker/node_modules/
        pi@ioBroker-VM-Slave:/opt/iobroker/node_modules$ for i in $(ls -d .[^.]*-*/); do rm -rf ${i%%/}; done
        pi@ioBroker-VM-Slave:/opt/iobroker/node_modules$ npm ls
        [sudo] password for pi:
        iobroker.inst@3.0.0 /opt/iobroker
        +-- @types/caseless@0.12.2 extraneous
        +-- @types/request@2.48.8 extraneous
        +-- @types/tough-cookie@4.0.2 extraneous
        +-- coffeescript@1.12.7 extraneous
        +-- iobroker.awattar@1.0.6
        +-- iobroker.botvac@1.0.0
        +-- iobroker.daswetter@3.1.3
        +-- iobroker.email@1.1.3
        +-- iobroker.fahrplan@1.2.2
        +-- iobroker.fakeroku@0.2.1
        +-- iobroker.feiertage@1.1.0
        +-- iobroker.govee@0.0.5 (git+ssh://git@github.com/nbuenger/ioBroker.govee.git#0d983c49135b87ac2f88f9d832a6d632c4889606)
        +-- iobroker.heizoel@1.0.3
        +-- iobroker.javascript@6.0.0
        +-- iobroker.js-controller@4.0.23
        +-- iobroker.netatmo@1.7.1
        +-- iobroker.node-red@4.0.0 invalid: "3.3.1" from the root project
        +-- iobroker.octoprint@4.0.0
        +-- iobroker.openuv@0.0.5 (git+ssh://git@github.com/x3l4c0d3/ioBroker.openuv.git#810f8d7ec1fb30af3cc77f8ee0aee709ae68dbc3)
        +-- iobroker.ping@1.5.3
        +-- iobroker.pvforecast@2.3.0
        +-- iobroker.traccar@0.0.12
        +-- iobroker.trashschedule@2.0.3
        +-- iobroker.uv-protect@0.3.6
        +-- iobroker.wifilight@1.1.4
        +-- node-inspect@2.0.0 extraneous
        +-- picocolors@1.0.0 extraneous
        +-- setimmediate@1.0.5 extraneous
        +-- suncalc2@1.8.1 extraneous
        +-- typescript@4.7.4 extraneous
        +-- virtual-tsc@0.6.2 extraneous
        `-- wake_on_lan@1.0.0 extraneous
        
        npm ERR! code ELSPROBLEMS
        npm ERR! extraneous: @types/caseless@0.12.2 /opt/iobroker/node_modules/@types/caseless
        npm ERR! extraneous: @types/request@2.48.8 /opt/iobroker/node_modules/@types/request
        npm ERR! extraneous: @types/tough-cookie@4.0.2 /opt/iobroker/node_modules/@types/tough-cookie
        npm ERR! extraneous: coffeescript@1.12.7 /opt/iobroker/node_modules/coffeescript
        npm ERR! invalid: iobroker.node-red@4.0.0 /opt/iobroker/node_modules/iobroker.node-red
        npm ERR! extraneous: node-inspect@2.0.0 /opt/iobroker/node_modules/node-inspect
        npm ERR! extraneous: picocolors@1.0.0 /opt/iobroker/node_modules/picocolors
        npm ERR! extraneous: setimmediate@1.0.5 /opt/iobroker/node_modules/setimmediate
        npm ERR! extraneous: suncalc2@1.8.1 /opt/iobroker/node_modules/suncalc2
        npm ERR! extraneous: typescript@4.7.4 /opt/iobroker/node_modules/typescript
        npm ERR! extraneous: virtual-tsc@0.6.2 /opt/iobroker/node_modules/virtual-tsc
        npm ERR! extraneous: wake_on_lan@1.0.0 /opt/iobroker/node_modules/wake_on_lan
        
        npm ERR! A complete log of this run can be found in:
        npm ERR!     /home/iobroker/.npm/_logs/2022-08-16T10_37_58_740Z-debug-0.log
        pi@ioBroker-VM-Slave:/opt/iobroker/node_modules$
        
        

        nuc i5: RaspberryMatic, ioBroker, pi-hole, SQL-Server, OMV-NAS, Influx-DB & Grafana, OpenHab, tasmoadmin

        Thomas BraunT 1 Reply Last reply
        0
        • JohGreJ JohGre

          @thomas-braun sagte in node-red 4.0 fehler beim Adapterstart:

          for i in $(ls -d .[^.]-/); do rm -rf ${i%%/}; done npm ls

          bitte schön

          pi@ioBroker-VM-Slave:~$ cd /opt/iobroker/node_modules/
          pi@ioBroker-VM-Slave:/opt/iobroker/node_modules$ for i in $(ls -d .[^.]*-*/); do rm -rf ${i%%/}; done
          pi@ioBroker-VM-Slave:/opt/iobroker/node_modules$ npm ls
          [sudo] password for pi:
          iobroker.inst@3.0.0 /opt/iobroker
          +-- @types/caseless@0.12.2 extraneous
          +-- @types/request@2.48.8 extraneous
          +-- @types/tough-cookie@4.0.2 extraneous
          +-- coffeescript@1.12.7 extraneous
          +-- iobroker.awattar@1.0.6
          +-- iobroker.botvac@1.0.0
          +-- iobroker.daswetter@3.1.3
          +-- iobroker.email@1.1.3
          +-- iobroker.fahrplan@1.2.2
          +-- iobroker.fakeroku@0.2.1
          +-- iobroker.feiertage@1.1.0
          +-- iobroker.govee@0.0.5 (git+ssh://git@github.com/nbuenger/ioBroker.govee.git#0d983c49135b87ac2f88f9d832a6d632c4889606)
          +-- iobroker.heizoel@1.0.3
          +-- iobroker.javascript@6.0.0
          +-- iobroker.js-controller@4.0.23
          +-- iobroker.netatmo@1.7.1
          +-- iobroker.node-red@4.0.0 invalid: "3.3.1" from the root project
          +-- iobroker.octoprint@4.0.0
          +-- iobroker.openuv@0.0.5 (git+ssh://git@github.com/x3l4c0d3/ioBroker.openuv.git#810f8d7ec1fb30af3cc77f8ee0aee709ae68dbc3)
          +-- iobroker.ping@1.5.3
          +-- iobroker.pvforecast@2.3.0
          +-- iobroker.traccar@0.0.12
          +-- iobroker.trashschedule@2.0.3
          +-- iobroker.uv-protect@0.3.6
          +-- iobroker.wifilight@1.1.4
          +-- node-inspect@2.0.0 extraneous
          +-- picocolors@1.0.0 extraneous
          +-- setimmediate@1.0.5 extraneous
          +-- suncalc2@1.8.1 extraneous
          +-- typescript@4.7.4 extraneous
          +-- virtual-tsc@0.6.2 extraneous
          `-- wake_on_lan@1.0.0 extraneous
          
          npm ERR! code ELSPROBLEMS
          npm ERR! extraneous: @types/caseless@0.12.2 /opt/iobroker/node_modules/@types/caseless
          npm ERR! extraneous: @types/request@2.48.8 /opt/iobroker/node_modules/@types/request
          npm ERR! extraneous: @types/tough-cookie@4.0.2 /opt/iobroker/node_modules/@types/tough-cookie
          npm ERR! extraneous: coffeescript@1.12.7 /opt/iobroker/node_modules/coffeescript
          npm ERR! invalid: iobroker.node-red@4.0.0 /opt/iobroker/node_modules/iobroker.node-red
          npm ERR! extraneous: node-inspect@2.0.0 /opt/iobroker/node_modules/node-inspect
          npm ERR! extraneous: picocolors@1.0.0 /opt/iobroker/node_modules/picocolors
          npm ERR! extraneous: setimmediate@1.0.5 /opt/iobroker/node_modules/setimmediate
          npm ERR! extraneous: suncalc2@1.8.1 /opt/iobroker/node_modules/suncalc2
          npm ERR! extraneous: typescript@4.7.4 /opt/iobroker/node_modules/typescript
          npm ERR! extraneous: virtual-tsc@0.6.2 /opt/iobroker/node_modules/virtual-tsc
          npm ERR! extraneous: wake_on_lan@1.0.0 /opt/iobroker/node_modules/wake_on_lan
          
          npm ERR! A complete log of this run can be found in:
          npm ERR!     /home/iobroker/.npm/_logs/2022-08-16T10_37_58_740Z-debug-0.log
          pi@ioBroker-VM-Slave:/opt/iobroker/node_modules$
          
          
          Thomas BraunT Online
          Thomas BraunT Online
          Thomas Braun
          Most Active
          wrote on last edited by
          #4

          @johgre sagte in node-red 4.0 fehler beim Adapterstart:

          iobroker.node-red@4.0.0 invalid: "3.3.1" from the root project

          Multihost? Und im anderen Host ist das Beta-Repo nicht aktiv?

          iobroker upgrade node-red@3.3.1 --debug
          

          Linux-Werkzeugkasten:
          https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
          NodeJS Fixer Skript:
          https://forum.iobroker.net/topic/68035/iob-node-fix-skript
          iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

          JohGreJ 1 Reply Last reply
          0
          • Thomas BraunT Thomas Braun

            @johgre sagte in node-red 4.0 fehler beim Adapterstart:

            iobroker.node-red@4.0.0 invalid: "3.3.1" from the root project

            Multihost? Und im anderen Host ist das Beta-Repo nicht aktiv?

            iobroker upgrade node-red@3.3.1 --debug
            
            JohGreJ Offline
            JohGreJ Offline
            JohGre
            wrote on last edited by JohGre
            #5

            @thomas-braun sagte in node-red 4.0 fehler beim Adapterstart:

            @johgre sagte in node-red 4.0 fehler beim Adapterstart:

            iobroker.node-red@4.0.0 invalid: "3.3.1" from the root project

            Multihost? Und im anderen Host ist das Beta-Repo nicht aktiv?

            ja, Multihost und beide am Beta-Repro

            nuc i5: RaspberryMatic, ioBroker, pi-hole, SQL-Server, OMV-NAS, Influx-DB & Grafana, OpenHab, tasmoadmin

            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

            472

            Online

            32.4k

            Users

            81.3k

            Topics

            1.3m

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

            • Don't have an account? Register

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