Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • 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

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Error/Bug
  4. Issue Admin/WebAdapter - iobroker/webserver/build/index.js

NEWS

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    22
    1
    1.2k

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

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    14
    1
    2.5k

Issue Admin/WebAdapter - iobroker/webserver/build/index.js

Geplant Angeheftet Gesperrt Verschoben Error/Bug
15 Beiträge 3 Kommentatoren 801 Aufrufe 3 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • Thomas BraunT Thomas Braun

    @cooper19888

    cd /opt/iobroker 
    npm ls
    

    schaut wie aus?

    C Offline
    C Offline
    cooper19888
    schrieb am zuletzt editiert von
    #5

    @thomas-braun said in Issue Admin/WebAdapter - iobroker/webserver/build/index.js:

    @cooper19888

    cd /opt/iobroker 
    npm ls
    

    schaut wie aus?

    iobroker.inst@3.0.0 /opt/iobroker
    ├── @iobroker/socket-classes@1.1.5 extraneous
    ├── @iobroker/ws-server@2.1.0 extraneous
    ├── body-parser@1.20.2 extraneous
    ├── busboy@1.6.0 extraneous
    ├── compressible@2.0.18 extraneous
    ├── compression@1.7.4 extraneous
    ├── connect-flash@0.1.1 extraneous
    ├── cookie-parser@1.4.6 extraneous
    ├── express-fileupload@1.4.0 extraneous
    ├── express-session@1.17.3 extraneous
    ├── iobroker.acme@0.1.0 (git+ssh://git@github.com/iobroker-community-adapters/ioBroker.acme.git#07333a0c32ead5f656aebdd33e205f74aaa7f923)
    ├── iobroker.admin@6.4.3
    ├── iobroker.alexa2@3.23.2
    ├── iobroker.asuswrt@1.0.1
    ├── iobroker.backitup@2.6.16
    ├── iobroker.bring@1.8.1
    ├── iobroker.daswetter@3.1.8
    ├── iobroker.device-reminder@1.2.9 (git+ssh://git@github.com/Xenon-s/ioBroker.device-reminder.git#ba8fd2a79a5b06ff7d48233b52bc8167e171d05c)
    ├── iobroker.discovery@3.1.0
    ├── iobroker.energiefluss@3.6.0 (git+ssh://git@github.com/SKB-CGN/ioBroker.energiefluss.git#4065c9c98279dd5f1bc55a8c0eb0485e4a55089e)
    ├── iobroker.feiertage@1.1.0
    ├── iobroker.heatingcontrol@2.10.6
    ├── iobroker.hm-rega@3.0.46
    ├── iobroker.hm-rpc@1.15.16
    ├── iobroker.ical@1.13.2
    ├── iobroker.influxdb@3.2.0
    ├── iobroker.info@1.9.26
    ├── iobroker.iot@1.14.5
    ├── iobroker.jarvis@3.1.3 (git+ssh://git@github.com/Zefau/ioBroker.jarvis.git#cc70089e4fdb1b89ead2c37cec22f277f2c32e9b)
    ├── iobroker.javascript@7.0.3
    ├── iobroker.js-controller@4.0.24
    ├── iobroker.libre@0.0.4
    ├── iobroker.life360@0.2.19 (git+ssh://git@github.com/MiGoller/ioBroker.life360.git#7577116196472ac8b4507e691f15c448f092118b)
    ├── iobroker.linux-control@1.1.5
    ├── iobroker.mqtt@4.1.1
    ├── iobroker.netatmo-crawler@0.8.1
    ├── iobroker.nightscout@0.0.8 (git+ssh://git@github.com/Apollon77/ioBroker.nightscout.git#1b88b23fe0d5eec7209ce5527031c6ece8204d61)
    ├── iobroker.nina@0.0.25
    ├── iobroker.openligadb@1.2.4
    ├── iobroker.parcel@0.0.27
    ├── iobroker.ping@1.5.3
    ├── iobroker.pvoutputorg@1.8.8
    ├── iobroker.schoolfree@1.1.1
    ├── iobroker.shelly@6.4.0
    ├── iobroker.shuttercontrol@1.4.24
    ├── iobroker.simple-api@2.7.2 extraneous
    ├── iobroker.smartcontrol@1.3.2
    ├── iobroker.socketio@6.3.5 extraneous
    ├── iobroker.sprinklecontrol@0.2.13
    ├── iobroker.tankerkoenig@3.3.7
    ├── iobroker.telegram@1.15.6
    ├── iobroker.trashschedule@2.2.0
    ├── iobroker.vaillant@0.1.2
    ├── iobroker.vis@1.4.16
    ├── iobroker.vofo-speedtest@0.0.13 (git+ssh://git@github.com/peterbaumert/ioBroker.vofo-speedtest.git#f20bee5eca63eaa957d282e609a68e79ee5f94de)
    ├── iobroker.web@6.0.1 (git+ssh://git@github.com/ioBroker/ioBroker.web.git#b7aaab94b9ea7f039fece2a8c0c1f574c4efc3da)
    ├── iobroker.whatsapp-cmb@0.2.3
    ├── iobroker.worx@2.1.0
    ├── iobroker.ws@2.3.6 extraneous
    ├── on-headers@1.0.2 extraneous
    ├── passport-local@1.0.0 extraneous
    ├── passport-strategy@1.0.0 extraneous
    ├── passport@0.6.0 extraneous
    ├── pause@0.0.1 extraneous
    ├── random-bytes@1.0.0 extraneous
    ├── raw-body@2.5.2 extraneous
    ├── streamsearch@1.1.0 extraneous
    └── uid-safe@2.1.5 extraneous
    
    Thomas BraunT 1 Antwort Letzte Antwort
    0
    • C cooper19888

      @thomas-braun said in Issue Admin/WebAdapter - iobroker/webserver/build/index.js:

      @cooper19888

      cd /opt/iobroker 
      npm ls
      

      schaut wie aus?

      iobroker.inst@3.0.0 /opt/iobroker
      ├── @iobroker/socket-classes@1.1.5 extraneous
      ├── @iobroker/ws-server@2.1.0 extraneous
      ├── body-parser@1.20.2 extraneous
      ├── busboy@1.6.0 extraneous
      ├── compressible@2.0.18 extraneous
      ├── compression@1.7.4 extraneous
      ├── connect-flash@0.1.1 extraneous
      ├── cookie-parser@1.4.6 extraneous
      ├── express-fileupload@1.4.0 extraneous
      ├── express-session@1.17.3 extraneous
      ├── iobroker.acme@0.1.0 (git+ssh://git@github.com/iobroker-community-adapters/ioBroker.acme.git#07333a0c32ead5f656aebdd33e205f74aaa7f923)
      ├── iobroker.admin@6.4.3
      ├── iobroker.alexa2@3.23.2
      ├── iobroker.asuswrt@1.0.1
      ├── iobroker.backitup@2.6.16
      ├── iobroker.bring@1.8.1
      ├── iobroker.daswetter@3.1.8
      ├── iobroker.device-reminder@1.2.9 (git+ssh://git@github.com/Xenon-s/ioBroker.device-reminder.git#ba8fd2a79a5b06ff7d48233b52bc8167e171d05c)
      ├── iobroker.discovery@3.1.0
      ├── iobroker.energiefluss@3.6.0 (git+ssh://git@github.com/SKB-CGN/ioBroker.energiefluss.git#4065c9c98279dd5f1bc55a8c0eb0485e4a55089e)
      ├── iobroker.feiertage@1.1.0
      ├── iobroker.heatingcontrol@2.10.6
      ├── iobroker.hm-rega@3.0.46
      ├── iobroker.hm-rpc@1.15.16
      ├── iobroker.ical@1.13.2
      ├── iobroker.influxdb@3.2.0
      ├── iobroker.info@1.9.26
      ├── iobroker.iot@1.14.5
      ├── iobroker.jarvis@3.1.3 (git+ssh://git@github.com/Zefau/ioBroker.jarvis.git#cc70089e4fdb1b89ead2c37cec22f277f2c32e9b)
      ├── iobroker.javascript@7.0.3
      ├── iobroker.js-controller@4.0.24
      ├── iobroker.libre@0.0.4
      ├── iobroker.life360@0.2.19 (git+ssh://git@github.com/MiGoller/ioBroker.life360.git#7577116196472ac8b4507e691f15c448f092118b)
      ├── iobroker.linux-control@1.1.5
      ├── iobroker.mqtt@4.1.1
      ├── iobroker.netatmo-crawler@0.8.1
      ├── iobroker.nightscout@0.0.8 (git+ssh://git@github.com/Apollon77/ioBroker.nightscout.git#1b88b23fe0d5eec7209ce5527031c6ece8204d61)
      ├── iobroker.nina@0.0.25
      ├── iobroker.openligadb@1.2.4
      ├── iobroker.parcel@0.0.27
      ├── iobroker.ping@1.5.3
      ├── iobroker.pvoutputorg@1.8.8
      ├── iobroker.schoolfree@1.1.1
      ├── iobroker.shelly@6.4.0
      ├── iobroker.shuttercontrol@1.4.24
      ├── iobroker.simple-api@2.7.2 extraneous
      ├── iobroker.smartcontrol@1.3.2
      ├── iobroker.socketio@6.3.5 extraneous
      ├── iobroker.sprinklecontrol@0.2.13
      ├── iobroker.tankerkoenig@3.3.7
      ├── iobroker.telegram@1.15.6
      ├── iobroker.trashschedule@2.2.0
      ├── iobroker.vaillant@0.1.2
      ├── iobroker.vis@1.4.16
      ├── iobroker.vofo-speedtest@0.0.13 (git+ssh://git@github.com/peterbaumert/ioBroker.vofo-speedtest.git#f20bee5eca63eaa957d282e609a68e79ee5f94de)
      ├── iobroker.web@6.0.1 (git+ssh://git@github.com/ioBroker/ioBroker.web.git#b7aaab94b9ea7f039fece2a8c0c1f574c4efc3da)
      ├── iobroker.whatsapp-cmb@0.2.3
      ├── iobroker.worx@2.1.0
      ├── iobroker.ws@2.3.6 extraneous
      ├── on-headers@1.0.2 extraneous
      ├── passport-local@1.0.0 extraneous
      ├── passport-strategy@1.0.0 extraneous
      ├── passport@0.6.0 extraneous
      ├── pause@0.0.1 extraneous
      ├── random-bytes@1.0.0 extraneous
      ├── raw-body@2.5.2 extraneous
      ├── streamsearch@1.1.0 extraneous
      └── uid-safe@2.1.5 extraneous
      
      Thomas BraunT Online
      Thomas BraunT Online
      Thomas Braun
      Most Active
      schrieb am zuletzt editiert von
      #6

      @cooper19888
      Prune da mal durch.

      npm prune
      npm ls 
      npm ls @iobroker/webserver
      

      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

      C 1 Antwort Letzte Antwort
      0
      • Thomas BraunT Thomas Braun

        @cooper19888
        Prune da mal durch.

        npm prune
        npm ls 
        npm ls @iobroker/webserver
        
        C Offline
        C Offline
        cooper19888
        schrieb am zuletzt editiert von
        #7

        @thomas-braun said in Issue Admin/WebAdapter - iobroker/webserver/build/index.js:

        @cooper19888
        Prune da mal durch.

        npm prune
        npm ls 
        npm ls @iobroker/webserver
        

        gemacht und getan.

        Zum Schluss:

        cooper1988@intelnuc:/opt/iobroker$ npm prune
        removed 250 packages in 2s
        
        cooper1988@intelnuc:/opt/iobroker/node_modules$ npm ls @iobroker/webserver/
        iobroker.inst@3.0.0 /opt/iobroker
        └── (empty)
        

        Errors nach restart Admin Adapter:

        2023-04-11 16:15:38.401  - error: host.intelnuc Caught by controller[0]: Error: Cannot find module '/opt/iobroker/node_modules/@iobroker/webserver/build/index.js'. Please verify that the package.json has a valid "main" entry
        2023-04-11 16:15:38.401  - error: host.intelnuc Caught by controller[0]:     at tryPackage (node:internal/modules/cjs/loader:436:19)
        2023-04-11 16:15:38.401  - error: host.intelnuc Caught by controller[0]:     at Module._findPath (node:internal/modules/cjs/loader:678:18)
        2023-04-11 16:15:38.401  - error: host.intelnuc Caught by controller[0]:     at Module._resolveFilename (node:internal/modules/cjs/loader:1061:27)
        2023-04-11 16:15:38.401  - error: host.intelnuc Caught by controller[0]:     at Module._load (node:internal/modules/cjs/loader:920:27)
        2023-04-11 16:15:38.401  - error: host.intelnuc Caught by controller[0]:     at Module.require (node:internal/modules/cjs/loader:1141:19)
        2023-04-11 16:15:38.401  - error: host.intelnuc Caught by controller[0]:     at require (node:internal/modules/cjs/helpers:110:18)
        2023-04-11 16:15:38.401  - error: host.intelnuc Caught by controller[0]:     at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.admin/lib/web.js:7:22)
        2023-04-11 16:15:38.401  - error: host.intelnuc Caught by controller[0]:     at Module._compile (node:internal/modules/cjs/loader:1254:14)
        2023-04-11 16:15:38.401  - error: host.intelnuc Caught by controller[0]:     at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
        2023-04-11 16:15:38.401  - error: host.intelnuc Caught by controller[0]:     at Module.load (node:internal/modules/cjs/loader:1117:32) {
        2023-04-11 16:15:38.401  - error: host.intelnuc Caught by controller[0]:   code: 'MODULE_NOT_FOUND',
        2023-04-11 16:15:38.401  - error: host.intelnuc Caught by controller[0]:   path: '/opt/iobroker/node_modules/@iobroker/webserver/package.json',
        2023-04-11 16:15:38.401  - error: host.intelnuc Caught by controller[0]:   requestPath: '@iobroker/webserver'
        2023-04-11 16:15:38.401  - error: host.intelnuc Caught by controller[0]: }
        
        Thomas BraunT 2 Antworten Letzte Antwort
        0
        • C cooper19888

          @thomas-braun said in Issue Admin/WebAdapter - iobroker/webserver/build/index.js:

          @cooper19888
          Prune da mal durch.

          npm prune
          npm ls 
          npm ls @iobroker/webserver
          

          gemacht und getan.

          Zum Schluss:

          cooper1988@intelnuc:/opt/iobroker$ npm prune
          removed 250 packages in 2s
          
          cooper1988@intelnuc:/opt/iobroker/node_modules$ npm ls @iobroker/webserver/
          iobroker.inst@3.0.0 /opt/iobroker
          └── (empty)
          

          Errors nach restart Admin Adapter:

          2023-04-11 16:15:38.401  - error: host.intelnuc Caught by controller[0]: Error: Cannot find module '/opt/iobroker/node_modules/@iobroker/webserver/build/index.js'. Please verify that the package.json has a valid "main" entry
          2023-04-11 16:15:38.401  - error: host.intelnuc Caught by controller[0]:     at tryPackage (node:internal/modules/cjs/loader:436:19)
          2023-04-11 16:15:38.401  - error: host.intelnuc Caught by controller[0]:     at Module._findPath (node:internal/modules/cjs/loader:678:18)
          2023-04-11 16:15:38.401  - error: host.intelnuc Caught by controller[0]:     at Module._resolveFilename (node:internal/modules/cjs/loader:1061:27)
          2023-04-11 16:15:38.401  - error: host.intelnuc Caught by controller[0]:     at Module._load (node:internal/modules/cjs/loader:920:27)
          2023-04-11 16:15:38.401  - error: host.intelnuc Caught by controller[0]:     at Module.require (node:internal/modules/cjs/loader:1141:19)
          2023-04-11 16:15:38.401  - error: host.intelnuc Caught by controller[0]:     at require (node:internal/modules/cjs/helpers:110:18)
          2023-04-11 16:15:38.401  - error: host.intelnuc Caught by controller[0]:     at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.admin/lib/web.js:7:22)
          2023-04-11 16:15:38.401  - error: host.intelnuc Caught by controller[0]:     at Module._compile (node:internal/modules/cjs/loader:1254:14)
          2023-04-11 16:15:38.401  - error: host.intelnuc Caught by controller[0]:     at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
          2023-04-11 16:15:38.401  - error: host.intelnuc Caught by controller[0]:     at Module.load (node:internal/modules/cjs/loader:1117:32) {
          2023-04-11 16:15:38.401  - error: host.intelnuc Caught by controller[0]:   code: 'MODULE_NOT_FOUND',
          2023-04-11 16:15:38.401  - error: host.intelnuc Caught by controller[0]:   path: '/opt/iobroker/node_modules/@iobroker/webserver/package.json',
          2023-04-11 16:15:38.401  - error: host.intelnuc Caught by controller[0]:   requestPath: '@iobroker/webserver'
          2023-04-11 16:15:38.401  - error: host.intelnuc Caught by controller[0]: }
          
          Thomas BraunT Online
          Thomas BraunT Online
          Thomas Braun
          Most Active
          schrieb am zuletzt editiert von
          #8

          @cooper19888
          Bügel den admin@6.4.3 noch mal rein.

          iobroker upgrade admin@6.4.3
          

          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

          1 Antwort Letzte Antwort
          0
          • C cooper19888

            @thomas-braun said in Issue Admin/WebAdapter - iobroker/webserver/build/index.js:

            @cooper19888
            Prune da mal durch.

            npm prune
            npm ls 
            npm ls @iobroker/webserver
            

            gemacht und getan.

            Zum Schluss:

            cooper1988@intelnuc:/opt/iobroker$ npm prune
            removed 250 packages in 2s
            
            cooper1988@intelnuc:/opt/iobroker/node_modules$ npm ls @iobroker/webserver/
            iobroker.inst@3.0.0 /opt/iobroker
            └── (empty)
            

            Errors nach restart Admin Adapter:

            2023-04-11 16:15:38.401  - error: host.intelnuc Caught by controller[0]: Error: Cannot find module '/opt/iobroker/node_modules/@iobroker/webserver/build/index.js'. Please verify that the package.json has a valid "main" entry
            2023-04-11 16:15:38.401  - error: host.intelnuc Caught by controller[0]:     at tryPackage (node:internal/modules/cjs/loader:436:19)
            2023-04-11 16:15:38.401  - error: host.intelnuc Caught by controller[0]:     at Module._findPath (node:internal/modules/cjs/loader:678:18)
            2023-04-11 16:15:38.401  - error: host.intelnuc Caught by controller[0]:     at Module._resolveFilename (node:internal/modules/cjs/loader:1061:27)
            2023-04-11 16:15:38.401  - error: host.intelnuc Caught by controller[0]:     at Module._load (node:internal/modules/cjs/loader:920:27)
            2023-04-11 16:15:38.401  - error: host.intelnuc Caught by controller[0]:     at Module.require (node:internal/modules/cjs/loader:1141:19)
            2023-04-11 16:15:38.401  - error: host.intelnuc Caught by controller[0]:     at require (node:internal/modules/cjs/helpers:110:18)
            2023-04-11 16:15:38.401  - error: host.intelnuc Caught by controller[0]:     at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.admin/lib/web.js:7:22)
            2023-04-11 16:15:38.401  - error: host.intelnuc Caught by controller[0]:     at Module._compile (node:internal/modules/cjs/loader:1254:14)
            2023-04-11 16:15:38.401  - error: host.intelnuc Caught by controller[0]:     at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
            2023-04-11 16:15:38.401  - error: host.intelnuc Caught by controller[0]:     at Module.load (node:internal/modules/cjs/loader:1117:32) {
            2023-04-11 16:15:38.401  - error: host.intelnuc Caught by controller[0]:   code: 'MODULE_NOT_FOUND',
            2023-04-11 16:15:38.401  - error: host.intelnuc Caught by controller[0]:   path: '/opt/iobroker/node_modules/@iobroker/webserver/package.json',
            2023-04-11 16:15:38.401  - error: host.intelnuc Caught by controller[0]:   requestPath: '@iobroker/webserver'
            2023-04-11 16:15:38.401  - error: host.intelnuc Caught by controller[0]: }
            
            Thomas BraunT Online
            Thomas BraunT Online
            Thomas Braun
            Most Active
            schrieb am zuletzt editiert von
            #9

            @cooper19888 sagte in Issue Admin/WebAdapter - iobroker/webserver/build/index.js:

            npm ls @iobroker/webserver

            Übrigens

            npm ls @iobroker/webserver
            

            NICHT

            npm ls @iobroker/webserver/
            

            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

            C 1 Antwort Letzte Antwort
            0
            • Thomas BraunT Thomas Braun

              @cooper19888 sagte in Issue Admin/WebAdapter - iobroker/webserver/build/index.js:

              npm ls @iobroker/webserver

              Übrigens

              npm ls @iobroker/webserver
              

              NICHT

              npm ls @iobroker/webserver/
              
              C Offline
              C Offline
              cooper19888
              schrieb am zuletzt editiert von
              #10

              @thomas-braun
              Mein Fehler

              cooper1988@intelnuc:/opt/iobroker$ npm ls @iobroker/webserver
              iobroker.inst@3.0.0 /opt/iobroker
              ├─┬ iobroker.acme@0.1.0 (git+ssh://git@github.com/iobroker-community-adapters/ioBroker.acme.git#07333a0c32ead5f656aebdd33e205f74aaa7f923)
              │ └── @iobroker/webserver@0.3.4 (git+ssh://git@github.com/ioBroker/webserver.git#f99d86254380e9cbe6698815e9ea3b444d2624b0)
              ├─┬ iobroker.admin@6.4.3
              │ └── @iobroker/webserver@0.3.4 deduped
              └─┬ iobroker.web@6.0.1 (git+ssh://git@github.com/ioBroker/ioBroker.web.git#b7aaab94b9ea7f039fece2a8c0c1f574c4efc3da)
                └── @iobroker/webserver@0.3.4 deduped
              

              Drüberbügeln mittels iob upgrade bringt nichts, nur wenn ich direkt in das node modul reinspringe und npm i --production mache.

              Thomas BraunT 2 Antworten Letzte Antwort
              0
              • C cooper19888

                @thomas-braun
                Mein Fehler

                cooper1988@intelnuc:/opt/iobroker$ npm ls @iobroker/webserver
                iobroker.inst@3.0.0 /opt/iobroker
                ├─┬ iobroker.acme@0.1.0 (git+ssh://git@github.com/iobroker-community-adapters/ioBroker.acme.git#07333a0c32ead5f656aebdd33e205f74aaa7f923)
                │ └── @iobroker/webserver@0.3.4 (git+ssh://git@github.com/ioBroker/webserver.git#f99d86254380e9cbe6698815e9ea3b444d2624b0)
                ├─┬ iobroker.admin@6.4.3
                │ └── @iobroker/webserver@0.3.4 deduped
                └─┬ iobroker.web@6.0.1 (git+ssh://git@github.com/ioBroker/ioBroker.web.git#b7aaab94b9ea7f039fece2a8c0c1f574c4efc3da)
                  └── @iobroker/webserver@0.3.4 deduped
                

                Drüberbügeln mittels iob upgrade bringt nichts, nur wenn ich direkt in das node modul reinspringe und npm i --production mache.

                Thomas BraunT Online
                Thomas BraunT Online
                Thomas Braun
                Most Active
                schrieb am zuletzt editiert von Thomas Braun
                #11

                @cooper19888

                --production ist mit npm>7 durch --omit=dev ersetzt worden, wenn ich mich recht entsinne.

                Ich würde iobroker.acme und iobroker.web auch auf die Version aus einem Repo zwingen.

                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

                1 Antwort Letzte Antwort
                0
                • C cooper19888

                  @thomas-braun
                  Mein Fehler

                  cooper1988@intelnuc:/opt/iobroker$ npm ls @iobroker/webserver
                  iobroker.inst@3.0.0 /opt/iobroker
                  ├─┬ iobroker.acme@0.1.0 (git+ssh://git@github.com/iobroker-community-adapters/ioBroker.acme.git#07333a0c32ead5f656aebdd33e205f74aaa7f923)
                  │ └── @iobroker/webserver@0.3.4 (git+ssh://git@github.com/ioBroker/webserver.git#f99d86254380e9cbe6698815e9ea3b444d2624b0)
                  ├─┬ iobroker.admin@6.4.3
                  │ └── @iobroker/webserver@0.3.4 deduped
                  └─┬ iobroker.web@6.0.1 (git+ssh://git@github.com/ioBroker/ioBroker.web.git#b7aaab94b9ea7f039fece2a8c0c1f574c4efc3da)
                    └── @iobroker/webserver@0.3.4 deduped
                  

                  Drüberbügeln mittels iob upgrade bringt nichts, nur wenn ich direkt in das node modul reinspringe und npm i --production mache.

                  Thomas BraunT Online
                  Thomas BraunT Online
                  Thomas Braun
                  Most Active
                  schrieb am zuletzt editiert von
                  #12

                  @cooper19888

                  iob stop
                  find "/opt/iobroker/" -iname "*package-lock*" -exec rm -rf "{}" \;
                  iob fix 
                  iob start
                  

                  bringt auch nix?

                  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

                  C 1 Antwort Letzte Antwort
                  0
                  • Thomas BraunT Thomas Braun

                    @cooper19888

                    iob stop
                    find "/opt/iobroker/" -iname "*package-lock*" -exec rm -rf "{}" \;
                    iob fix 
                    iob start
                    

                    bringt auch nix?

                    C Offline
                    C Offline
                    cooper19888
                    schrieb am zuletzt editiert von
                    #13

                    @thomas-braun

                    Danke für die Hilfe bisher.
                    Auch das hatte ich bereits durchgejagt ohne erfolg.

                    Nun habe ich mal admin, web und acm sowie @iobroker/webserver entfernt und dann mal alles neu installiert. Dann nochmal npm i @iobroker/webserver und nun hat der Server einen reboot überlebt.

                    Nicht das ich Idiot sowas wie npm i @iobroker/webserver/ gemacht habe^^

                    Thomas BraunT 1 Antwort Letzte Antwort
                    0
                    • C cooper19888

                      @thomas-braun

                      Danke für die Hilfe bisher.
                      Auch das hatte ich bereits durchgejagt ohne erfolg.

                      Nun habe ich mal admin, web und acm sowie @iobroker/webserver entfernt und dann mal alles neu installiert. Dann nochmal npm i @iobroker/webserver und nun hat der Server einen reboot überlebt.

                      Nicht das ich Idiot sowas wie npm i @iobroker/webserver/ gemacht habe^^

                      Thomas BraunT Online
                      Thomas BraunT Online
                      Thomas Braun
                      Most Active
                      schrieb am zuletzt editiert von
                      #14

                      @cooper19888
                      Eigentich sollte direktes hantieren per npm auch nicht notwendig sein. Viel zu leicht zerlegt man sich da den npm tree.

                      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

                      C 1 Antwort Letzte Antwort
                      0
                      • Thomas BraunT Thomas Braun

                        @cooper19888
                        Eigentich sollte direktes hantieren per npm auch nicht notwendig sein. Viel zu leicht zerlegt man sich da den npm tree.

                        C Offline
                        C Offline
                        cooper19888
                        schrieb am zuletzt editiert von
                        #15

                        @thomas-braun
                        Ja normalerweise nicht, wer weiß was mich geritten hat.
                        Aber jetzt scheint es vorerst zu laufen, hoffentlich passt das jetzt :)

                        1 Antwort Letzte Antwort
                        0
                        Antworten
                        • In einem neuen Thema antworten
                        Anmelden zum Antworten
                        • Älteste zuerst
                        • Neuste zuerst
                        • Meiste Stimmen


                        Support us

                        ioBroker
                        Community Adapters
                        Donate

                        758

                        Online

                        32.5k

                        Benutzer

                        81.7k

                        Themen

                        1.3m

                        Beiträge
                        Community
                        Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                        ioBroker Community 2014-2025
                        logo
                        • Anmelden

                        • Du hast noch kein Konto? Registrieren

                        • Anmelden oder registrieren, um zu suchen
                        • Erster Beitrag
                          Letzter Beitrag
                        0
                        • Home
                        • Aktuell
                        • Tags
                        • Ungelesen 0
                        • Kategorien
                        • Unreplied
                        • Beliebt
                        • GitHub
                        • Docu
                        • Hilfe