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. [HILFE] - iobroker startet nicht js-controller zickt

NEWS

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    22
    1
    1.1k

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

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

[HILFE] - iobroker startet nicht js-controller zickt

Geplant Angeheftet Gesperrt Verschoben Error/Bug
16 Beiträge 4 Kommentatoren 2.7k Aufrufe
  • Ä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.
  • C Offline
    C Offline
    chaser
    schrieb am zuletzt editiert von
    #4

    danke für eure Antworten.

    Ist ein Raspberry. Log Datein für das Upgrade sehe ich leider nicht.

    Habe eure Tipps versucht, leider kein Erfolg:

    pi@raspberrypi:~ $
    pi@raspberrypi:~ $ sudo chown -R $(whoami) /opt/iobroker
    pi@raspberrypi:~ $ sudo npm install iobroker.js-controller --production --unsafe           -perm
    
    > iobroker.js-controller@1.4.2 preinstall /home/pi/node_modules/iobroker.js-cont           roller
    > node lib/preinstall_check.js
    
    NPM version: 6.1.0
    npm version >= 5: disabling package-lock
    
    > unix-dgram@0.2.3 install /home/pi/node_modules/unix-dgram
    > node-gyp rebuild
    
    gyp ERR! configure error
    gyp ERR! stack Error: Command failed: /usr/bin/python2 -c import platform; print           (platform.python_version());
    gyp ERR! stack Traceback (most recent call last):
    gyp ERR! stack   File "/usr/lib/python2.7/site.py", line 68, in <module>gyp ERR! stack     import os
    gyp ERR! stack ValueError: bad marshal data (unknown type code)
    gyp ERR! stack
    gyp ERR! stack     at ChildProcess.exithandler (child_process.js:199:12)
    gyp ERR! stack     at emitTwo (events.js:106:13)
    gyp ERR! stack     at ChildProcess.emit (events.js:191:7)
    gyp ERR! stack     at maybeClose (internal/child_process.js:920:16)
    gyp ERR! stack     at Socket. <anonymous>(internal/child_process.js:351:11)
    gyp ERR! stack     at emitOne (events.js:96:13)
    gyp ERR! stack     at Socket.emit (events.js:188:7)
    gyp ERR! stack     at Pipe._handle.close [as _onclose] (net.js:509:12)
    gyp ERR! System Linux 4.9.59-v7+
    gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gy           p/bin/node-gyp.js" "rebuild"
    gyp ERR! cwd /home/pi/node_modules/unix-dgram
    gyp ERR! node -v v6.14.2
    gyp ERR! node-gyp -v v3.6.2
    gyp ERR! not ok
    
    > ursa@0.9.4 install /home/pi/node_modules/ursa
    > node-gyp rebuild
    
    gyp ERR! configure error
    gyp ERR! stack Error: Command failed: /usr/bin/python2 -c import platform; print           (platform.python_version());
    gyp ERR! stack Traceback (most recent call last):
    gyp ERR! stack   File "/usr/lib/python2.7/site.py", line 68, in <module>gyp ERR! stack     import os
    gyp ERR! stack ValueError: bad marshal data (unknown type code)
    gyp ERR! stack
    gyp ERR! stack     at ChildProcess.exithandler (child_process.js:199:12)
    gyp ERR! stack     at emitTwo (events.js:106:13)
    gyp ERR! stack     at ChildProcess.emit (events.js:191:7)
    gyp ERR! stack     at maybeClose (internal/child_process.js:920:16)
    gyp ERR! stack     at Socket. <anonymous>(internal/child_process.js:351:11)
    gyp ERR! stack     at emitOne (events.js:96:13)
    gyp ERR! stack     at Socket.emit (events.js:188:7)
    gyp ERR! stack     at Pipe._handle.close [as _onclose] (net.js:509:12)
    gyp ERR! System Linux 4.9.59-v7+
    gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gy           p/bin/node-gyp.js" "rebuild"
    gyp ERR! cwd /home/pi/node_modules/ursa
    gyp ERR! node -v v6.14.2
    gyp ERR! node-gyp -v v3.6.2
    gyp ERR! not ok
    
    > iobroker.js-controller@1.4.2 install /home/pi/node_modules/iobroker.js-control           ler
    > node iobroker.js setup first
    
    creating conf/iobroker.json
    object system.certificates created
    object system.repositories created
    object system.config created
    object enum.functions created
    object enum.rooms created
    object system.group.user created
    object system.group.administrator created
    object _design/system created
    object system.meta.uuid created: bc093842-65d2-d7c8-a38d-cc880fc4bfa6
    object system.user.admin created
    host.raspberrypi install adapter admin
    npm install --production (System call) in "/home/pi/node_modules/iobroker.admin"
    npm WARN deprecated gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
    npm WARN deprecated graceful-fs@3.0.11: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
    npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
    npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
    npm WARN deprecated graceful-fs@1.2.3: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
    npm notice created a lockfile as package-lock.json. You should commit this file.
    got /home/pi/node_modules/iobroker.admin/admin
    upload [3] admin.admin /home/pi/node_modules/iobroker.admin/admin/words.js words.js application/javascript
    upload [2] admin.admin /home/pi/node_modules/iobroker.admin/admin/index_m.html index_m.html text/html
    upload [1] admin.admin /home/pi/node_modules/iobroker.admin/admin/index.html index.html text/html
    upload [0] admin.admin /home/pi/node_modules/iobroker.admin/admin/admin.png admin.png image/png
    host.raspberrypi object system.adapter.admin created
    host.raspberrypi create instance admin
    host.raspberrypi object admin.0.info created
    host.raspberrypi object system.adapter.admin.upload created
    host.raspberrypi object system.adapter.admin.0.outputCount created
    host.raspberrypi object system.adapter.admin.0.inputCount created
    host.raspberrypi object system.adapter.admin.0.uptime created
    host.raspberrypi object system.adapter.admin.0.memRss created
    host.raspberrypi object system.adapter.admin.0.memHeapTotal created
    host.raspberrypi object system.adapter.admin.0.memHeapUsed created
    host.raspberrypi object system.adapter.admin.0.connected created
    host.raspberrypi object system.adapter.admin.0.alive created
    host.raspberrypi object system.adapter.admin.0 created
    npm WARN saveError ENOENT: no such file or directory, open '/home/pi/package.json'
    npm notice created a lockfile as package-lock.json. You should commit this file.
    npm WARN enoent ENOENT: no such file or directory, open '/home/pi/package.json'
    npm WARN pi No description
    npm WARN pi No repository field.
    npm WARN pi No README data
    npm WARN pi No license field.
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: unix-dgram@0.2.3 (node_modules/unix-dgram):
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: unix-dgram@0.2.3 install: `node-gyp rebuild`
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: ursa@0.9.4 (node_modules/ursa):
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: ursa@0.9.4 install: `node-gyp rebuild`
    npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
    
    + iobroker.js-controller@1.4.2
    added 328 packages from 232 contributors and audited 1020 packages in 438.251s
    found 0 vulnerabilities</anonymous></module></anonymous></module> 
    

    Noch eine Idee?

    1 Antwort Letzte Antwort
    0
    • wendy2702W Online
      wendy2702W Online
      wendy2702
      schrieb am zuletzt editiert von
      #5

      Hast du wirklich NPM 6.1.0 installiert?

      Weiß nicht ob das schon unterstützt wird.

      Ich weiß nur bis 5.7.1

      Gesendet von iPhone mit Tapatalk Pro

      Bitte keine Fragen per PN, die gehören ins Forum!

      Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

      1 Antwort Letzte Antwort
      0
      • C Offline
        C Offline
        chaser
        schrieb am zuletzt editiert von
        #6

        Ja habe ich, sollte eigentlich auch funktionieren:

        http://www.iobroker.net/docu/?page_id=5 … ion_Nodejs

        1 Antwort Letzte Antwort
        0
        • wendy2702W Online
          wendy2702W Online
          wendy2702
          schrieb am zuletzt editiert von
          #7

          Bitte nicht Node mit NPM verwechseln.

          Mach mal bitte

          node -v
          npm -v
          

          Gesendet von iPhone mit Tapatalk Pro

          Bitte keine Fragen per PN, die gehören ins Forum!

          Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

          1 Antwort Letzte Antwort
          0
          • C Offline
            C Offline
            chaser
            schrieb am zuletzt editiert von
            #8

            node -v

            v6.14.2

            npm -v

            6.1.0

            1 Antwort Letzte Antwort
            0
            • wendy2702W Online
              wendy2702W Online
              wendy2702
              schrieb am zuletzt editiert von
              #9

              Hm,

              Node Version ist OK.

              NPM denke ich zu hoch.

              Von dem was ich mitbekommen habe ist 5.7.1 die letzte als funktionierende getestete Version

              Gesendet von iPhone mit Tapatalk Pro

              Bitte keine Fragen per PN, die gehören ins Forum!

              Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

              1 Antwort Letzte Antwort
              0
              • C Offline
                C Offline
                chaser
                schrieb am zuletzt editiert von
                #10

                ok NPM gedowngraded

                sudo npm install -g npm@5.7.1
                
                

                npm -v

                5.7.1

                reboot gemacht

                sudo iobroker start

                Leider gleiches Fehlerbild:

                module.js:478
                    throw err;
                    ^
                
                Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iob         roker.js'
                    at Function.Module._resolveFilename (module.js:476:15)
                    at Function.Module._load (module.js:424:25)
                    at Module.runMain (module.js:611:10)
                    at run (bootstrap_node.js:394:7)
                    at startup (bootstrap_node.js:160:9)
                    at bootstrap_node.js:507:3
                
                

                sudo npm i iobroker.js-controller@1.0.3

                npm WARN deprecated tar.gz@1.0.7: ⚠️  WARNING ⚠️ tar.gz module has been deprecated          and your application is vulnerable. Please use tar module instead: https://npmj         s.com/tar
                npm WARN notice [SECURITY] debug has 1 low vulnerability. Go here for more details: https://nodesecurity.io/advisories?search=debug&version=2.3.3 - Run `npm i npm@latest -g` to upgrade your npm version, and then `npm audit` to get more info.
                npm WARN notice [SECURITY] debug has 1 low vulnerability. Go here for more details: https://nodesecurity.io/advisories?search=debug&version=2.2.0 - Run `npm i npm@latest -g` to upgrade your npm version, and then `npm audit` to get more info.
                npm WARN notice [SECURITY] parsejson has 1 high vulnerability. Go here for more details: https://nodesecurity.io/advisories?search=parsejson&version=0.0.3 - Run `npm i npm@latest -g` to upgrade your npm version, and then `npm audit` to get more info.
                
                > unix-dgram@0.2.3 install /home/pi/node_modules/unix-dgram
                > node-gyp rebuild
                
                gyp ERR! configure error
                gyp ERR! stack Error: Command failed: /usr/bin/python2 -c import platform; print(platform.python_version());
                gyp ERR! stack Traceback (most recent call last):
                gyp ERR! stack   File "/usr/lib/python2.7/site.py", line 68, in <module>gyp ERR! stack     import os
                gyp ERR! stack ValueError: bad marshal data (unknown type code)
                gyp ERR! stack
                gyp ERR! stack     at ChildProcess.exithandler (child_process.js:199:12)
                gyp ERR! stack     at emitTwo (events.js:106:13)
                gyp ERR! stack     at ChildProcess.emit (events.js:191:7)
                gyp ERR! stack     at maybeClose (internal/child_process.js:920:16)
                gyp ERR! stack     at Socket. <anonymous>(internal/child_process.js:351:11)
                gyp ERR! stack     at emitOne (events.js:96:13)
                gyp ERR! stack     at Socket.emit (events.js:188:7)
                gyp ERR! stack     at Pipe._handle.close [as _onclose] (net.js:509:12)
                gyp ERR! System Linux 4.9.59-v7+
                gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                gyp ERR! cwd /home/pi/node_modules/unix-dgram
                gyp ERR! node -v v6.14.2
                gyp ERR! node-gyp -v v3.6.2
                gyp ERR! not ok
                
                > ursa@0.9.4 install /home/pi/node_modules/ursa
                > node-gyp rebuild
                
                gyp ERR! configure error
                gyp ERR! stack Error: Command failed: /usr/bin/python2 -c import platform; print(platform.python_version());
                gyp ERR! stack Traceback (most recent call last):
                gyp ERR! stack   File "/usr/lib/python2.7/site.py", line 68, in <module>gyp ERR! stack     import os
                gyp ERR! stack ValueError: bad marshal data (unknown type code)
                gyp ERR! stack
                gyp ERR! stack     at ChildProcess.exithandler (child_process.js:199:12)
                gyp ERR! stack     at emitTwo (events.js:106:13)
                gyp ERR! stack     at ChildProcess.emit (events.js:191:7)
                gyp ERR! stack     at maybeClose (internal/child_process.js:920:16)
                gyp ERR! stack     at Socket. <anonymous>(internal/child_process.js:351:11)
                gyp ERR! stack     at emitOne (events.js:96:13)
                gyp ERR! stack     at Socket.emit (events.js:188:7)
                gyp ERR! stack     at Pipe._handle.close [as _onclose] (net.js:509:12)
                gyp ERR! System Linux 4.9.59-v7+
                gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                gyp ERR! cwd /home/pi/node_modules/ursa
                gyp ERR! node -v v6.14.2
                gyp ERR! node-gyp -v v3.6.2
                gyp ERR! not ok
                
                > iobroker.js-controller@1.0.3 install /home/pi/node_modules/iobroker.js-controller
                > node iobroker.js setup first
                
                Cannot write file. Not critical: Error: EACCES: permission denied, open '/home/pi/node_modules/iobroker.js-controller/lib/setup/../../../../killall.sh'
                fs.js:1112
                  return binding.unlink(pathModule._makeLong(path));
                                 ^
                
                Error: EACCES: permission denied, unlink '/home/pi/node_modules/iobroker.js-controller/lib/setup/../../_service_iobroker.bat'
                    at Error (native)
                    at Object.fs.unlinkSync (fs.js:1112:18)
                    at Setup.setup (/home/pi/node_modules/iobroker.js-controller/lib/setup/setupSetup.js:126:24)
                    at /home/pi/node_modules/iobroker.js-controller/lib/setup.js:590:27
                    at processCommand (/home/pi/node_modules/iobroker.js-controller/lib/setup.js:622:15)
                    at Object.module.exports.execute (/home/pi/node_modules/iobroker.js-controller/lib/setup.js:2903:5)
                    at Object. <anonymous>(/home/pi/node_modules/iobroker.js-controller/iobroker.js:1:100)
                    at Module._compile (module.js:577:32)
                    at Object.Module._extensions..js (module.js:586:10)
                    at Module.load (module.js:494:32)
                npm WARN npm@2.15.12 had bundled packages that do not match the required version(s). They have been replaced with non-bundled versions.
                npm WARN enoent ENOENT: no such file or directory, open '/home/pi/package.json'
                npm WARN pi No description
                npm WARN pi No repository field.
                npm WARN pi No README data
                npm WARN pi No license field.
                npm WARN optional SKIPPING OPTIONAL DEPENDENCY: unix-dgram@0.2.3 (node_modules/unix-dgram):
                npm WARN optional SKIPPING OPTIONAL DEPENDENCY: unix-dgram@0.2.3 install: `node-gyp rebuild`
                npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
                npm WARN optional SKIPPING OPTIONAL DEPENDENCY: ursa@0.9.4 (node_modules/ursa):
                npm WARN optional SKIPPING OPTIONAL DEPENDENCY: ursa@0.9.4 install: `node-gyp rebuild`
                npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
                
                npm ERR! code ELIFECYCLE
                npm ERR! errno 1
                npm ERR! iobroker.js-controller@1.0.3 install: `node iobroker.js setup first`
                npm ERR! Exit status 1
                npm ERR!
                npm ERR! Failed at the iobroker.js-controller@1.0.3 install script.
                npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                
                npm ERR! A complete log of this run can be found in:
                npm ERR!     /root/.npm/_logs/2018-05-25T16_07_47_464Z-debug.log</anonymous></anonymous></module></anonymous></module> 
                

                sudo npm install iobroker.js-controller –production --unsafe-perm

                > iobroker.js-controller@1.4.2 preinstall /home/pi/node_modules/iobroker.js-controller
                > node lib/preinstall_check.js
                
                NPM version: 5.7.1
                npm version >= 5: disabling package-lock
                
                > unix-dgram@0.2.3 install /home/pi/node_modules/unix-dgram
                > node-gyp rebuild
                
                gyp ERR! configure error
                gyp ERR! stack Error: Command failed: /usr/bin/python2 -c import platform; print(platform.python_version());
                gyp ERR! stack Traceback (most recent call last):
                gyp ERR! stack   File "/usr/lib/python2.7/site.py", line 68, in <module>gyp ERR! stack     import os
                gyp ERR! stack ValueError: bad marshal data (unknown type code)
                gyp ERR! stack
                gyp ERR! stack     at ChildProcess.exithandler (child_process.js:199:12)
                gyp ERR! stack     at emitTwo (events.js:106:13)
                gyp ERR! stack     at ChildProcess.emit (events.js:191:7)
                gyp ERR! stack     at maybeClose (internal/child_process.js:920:16)
                gyp ERR! stack     at Socket. <anonymous>(internal/child_process.js:351:11)
                gyp ERR! stack     at emitOne (events.js:96:13)
                gyp ERR! stack     at Socket.emit (events.js:188:7)
                gyp ERR! stack     at Pipe._handle.close [as _onclose] (net.js:509:12)
                gyp ERR! System Linux 4.9.59-v7+
                gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                gyp ERR! cwd /home/pi/node_modules/unix-dgram
                gyp ERR! node -v v6.14.2
                gyp ERR! node-gyp -v v3.6.2
                gyp ERR! not ok
                
                > ursa@0.9.4 install /home/pi/node_modules/ursa
                > node-gyp rebuild
                
                gyp ERR! configure error
                gyp ERR! stack Error: Command failed: /usr/bin/python2 -c import platform; print(platform.python_version());
                gyp ERR! stack Traceback (most recent call last):
                gyp ERR! stack   File "/usr/lib/python2.7/site.py", line 68, in <module>gyp ERR! stack     import os
                gyp ERR! stack ValueError: bad marshal data (unknown type code)
                gyp ERR! stack
                gyp ERR! stack     at ChildProcess.exithandler (child_process.js:199:12)
                gyp ERR! stack     at emitTwo (events.js:106:13)
                gyp ERR! stack     at ChildProcess.emit (events.js:191:7)
                gyp ERR! stack     at maybeClose (internal/child_process.js:920:16)
                gyp ERR! stack     at Socket. <anonymous>(internal/child_process.js:351:11)
                gyp ERR! stack     at emitOne (events.js:96:13)
                gyp ERR! stack     at Socket.emit (events.js:188:7)
                gyp ERR! stack     at Pipe._handle.close [as _onclose] (net.js:509:12)
                gyp ERR! System Linux 4.9.59-v7+
                gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                gyp ERR! cwd /home/pi/node_modules/ursa
                gyp ERR! node -v v6.14.2
                gyp ERR! node-gyp -v v3.6.2
                gyp ERR! not ok
                
                > iobroker.js-controller@1.4.2 install /home/pi/node_modules/iobroker.js-controller
                > node iobroker.js setup first
                
                npm WARN saveError ENOENT: no such file or directory, open '/home/pi/package.json'
                npm WARN enoent ENOENT: no such file or directory, open '/home/pi/package.json'
                npm WARN pi No description
                npm WARN pi No repository field.
                npm WARN pi No README data
                npm WARN pi No license field.
                npm WARN optional SKIPPING OPTIONAL DEPENDENCY: unix-dgram@0.2.3 (node_modules/unix-dgram):
                npm WARN optional SKIPPING OPTIONAL DEPENDENCY: unix-dgram@0.2.3 install: `node-gyp rebuild`
                npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
                npm WARN optional SKIPPING OPTIONAL DEPENDENCY: ursa@0.9.4 (node_modules/ursa):
                npm WARN optional SKIPPING OPTIONAL DEPENDENCY: ursa@0.9.4 install: `node-gyp rebuild`
                npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
                
                + iobroker.js-controller@1.4.2
                added 1 package from 2 contributors in 37.016s</anonymous></module></anonymous></module> 
                

                Keiner eine Idee woran das liegen kann?

                1 Antwort Letzte Antwort
                0
                • S Offline
                  S Offline
                  stephan61
                  schrieb am zuletzt editiert von
                  #11

                  Hallo chaser du bist im falschen Ordner

                  iobroker.js-controller@1.4.2 preinstall /home/pi/node_modules/iobroker.js-controller

                  du musst in /opt/iobroker installieren

                  Gruß Stephan

                  1 Antwort Letzte Antwort
                  0
                  • AlCalzoneA Offline
                    AlCalzoneA Offline
                    AlCalzone
                    Developer
                    schrieb am zuletzt editiert von
                    #12

                    @wendy2702:

                    Von dem was ich mitbekommen habe ist 5.7.1 die letzte als funktionierende getestete Version `

                    Nee, das hast du falsch verstanden. 5.7.1 ist das Minimum, wenn npm5+ verwendet wird. <= 4.x ist ok, >= 5.7.1 ist ok (aber hat so seine Probleme)

                    Warum `sudo` böse ist: https://forum.iobroker.net/post/17109

                    1 Antwort Letzte Antwort
                    0
                    • wendy2702W Online
                      wendy2702W Online
                      wendy2702
                      schrieb am zuletzt editiert von
                      #13

                      @AlCalzone:

                      @wendy2702:

                      Von dem was ich mitbekommen habe ist 5.7.1 die letzte als funktionierende getestete Version `

                      Nee, das hast du falsch verstanden. 5.7.1 ist das Minimum, wenn npm5+ verwendet wird. <= 4.x ist ok, >= 5.7.1 ist ok (aber hat so seine Probleme) `

                      Ah, ok.

                      Und wie sieht es dann mit NPM 6 aus?

                      Gesendet von iPhone mit Tapatalk Pro

                      Bitte keine Fragen per PN, die gehören ins Forum!

                      Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                      1 Antwort Letzte Antwort
                      0
                      • C Offline
                        C Offline
                        chaser
                        schrieb am zuletzt editiert von
                        #14

                        Bringt leider auch keine Abhilfe:

                        pi@raspberrypi:~ $ cd /opt/iobroker
                        pi@raspberrypi:/opt/iobroker $ sudo npm install iobroker.js-controller --product            ion --unsafe-perm
                        
                        > iobroker.js-controller@1.4.2 preinstall /opt/iobroker/node_modules/iobroker.js            -controller
                        > node lib/preinstall_check.js
                        
                        NPM version: 5.7.1
                        npm version >= 5: disabling package-lock
                        
                        > iobroker.js-controller@1.4.2 install /opt/iobroker/node_modules/iobroker.js-co            ntroller
                        > node iobroker.js setup first
                        
                        npm notice created a lockfile as package-lock.json. You should commit this file.
                        npm WARN enoent ENOENT: no such file or directory, stat '/opt/iobroker/node_modu            les/serialport/node_modules/node-pre-gyp/node_modules/request/node_modules/http-            signature/node_modules/har-validator'
                        npm WARN enoent ENOENT: no such file or directory, stat '/opt/iobroker/node_modu            les/serialport/node_modules/node-pre-gyp/node_modules/request/node_modules/http-            signature/node_modules/mime'
                        npm WARN enoent ENOENT: no such file or directory, stat '/opt/iobroker/node_modu            les/serialport/node_modules/node-pre-gyp/node_modules/request/node_modules/http-            signature/node_modules/mkdirp'
                        npm WARN enoent ENOENT: no such file or directory, stat '/opt/iobroker/node_modu            les/serialport/node_modules/node-pre-gyp/node_modules/request/node_modules/http-            signature/node_modules/node-pre-gyp'
                        npm WARN enoent ENOENT: no such file or directory, stat '/opt/iobroker/node_modu            les/serialport/node_modules/node-pre-gyp/node_modules/request/node_modules/http-            signature/node_modules/nopt'
                        npm WARN enoent ENOENT: no such file or directory, stat '/opt/iobroker/node_modu            les/serialport/node_modules/node-pre-gyp/node_modules/request/node_modules/http-            signature/node_modules/rc'
                        npm WARN enoent ENOENT: no such file or directory, stat '/opt/iobroker/node_modu            les/serialport/node_modules/node-pre-gyp/node_modules/request/node_modules/http-            signature/node_modules/rimraf'
                        npm WARN enoent ENOENT: no such file or directory, stat '/opt/iobroker/node_modu            les/serialport/node_modules/node-pre-gyp/node_modules/request/node_modules/http-            signature/node_modules/semver~0'
                        npm WARN enoent ENOENT: no such file or directory, stat '/opt/iobroker/node_modu            les/serialport/node_modules/node-pre-gyp/node_modules/request/node_modules/http-            signature/node_modules/serialport-list'
                        npm WARN enoent ENOENT: no such file or directory, stat '/opt/iobroker/node_modu            les/serialport/node_modules/node-pre-gyp/node_modules/request/node_modules/http-            signature/node_modules/serialport-term'
                        npm WARN enoent ENOENT: no such file or directory, stat '/opt/iobroker/node_modu            les/serialport/node_modules/node-pre-gyp/node_modules/request/node_modules/http-            signature/node_modules/sshpk-conv'
                        npm WARN enoent ENOENT: no such file or directory, stat '/opt/iobroker/node_modu            les/serialport/node_modules/node-pre-gyp/node_modules/request/node_modules/http-            signature/node_modules/sshpk-conv~1'
                        npm WARN enoent ENOENT: no such file or directory, stat '/opt/iobroker/node_modu            les/serialport/node_modules/node-pre-gyp/node_modules/request/node_modules/http-            signature/node_modules/sshpk-sign'
                        npm WARN enoent ENOENT: no such file or directory, stat '/opt/iobroker/node_modu            les/serialport/node_modules/node-pre-gyp/node_modules/request/node_modules/http-            signature/node_modules/sshpk-sign~1'
                        npm WARN enoent ENOENT: no such file or directory, stat '/opt/iobroker/node_modu            les/serialport/node_modules/node-pre-gyp/node_modules/request/node_modules/http-            signature/node_modules/sshpk-verify'
                        npm WARN enoent ENOENT: no such file or directory, stat '/opt/iobroker/node_modu            les/serialport/node_modules/node-pre-gyp/node_modules/request/node_modules/http-            signature/node_modules/sshpk-veri~1'
                        npm WARN enoent ENOENT: no such file or directory, stat '/opt/iobroker/node_modu            les/serialport/node_modules/node-pre-gyp/node_modules/request/node_modules/http-            signature/node_modules/strip-json-comments'
                        npm WARN enoent ENOENT: no such file or directory, stat '/opt/iobroker/node_modu            les/serialport/node_modules/node-pre-gyp/node_modules/request/node_modules/http-            signature/node_modules/supports-color'
                        npm WARN enoent ENOENT: no such file or directory, stat '/opt/iobroker/node_modu            les/serialport/node_modules/node-pre-gyp/node_modules/request/node_modules/http-            signature/node_modules/uuid'
                        npm WARN enoent ENOENT: no such file or directory, stat '/opt/iobroker/node_modu            les/serialport/node_modules/node-pre-gyp/node_modules/request/node_modules/http-            signature/node_modules/uu~1'
                        npm WARN Failed to parse json
                        npm WARN Unexpected token v in JSON at position 0 while parsing near 'var SSDP =             require('...'
                        npm WARN File: /opt/iobroker/node_modules/iobroker.discovery/node_modules/ip/pac            kage.json
                        npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modu            les/iobroker.discovery/node_modules/ms/package.json'
                        npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modu            les/serialport/node_modules/node-pre-gyp/node_modules/request/node_modules/http-            signature/node_modules/lib/package.json'
                        npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modu            les/serialport/node_modules/node-pre-gyp/node_modules/request/node_modules/http-            signature/node_modules/test/package.json'
                        
                        + iobroker.js-controller@1.4.2
                        added 28 packages from 34 contributors, updated 2 packages and moved 5 packages             in 174.159s
                        
                           ╭─────────────────────────────────────╮
                           │                                     │
                           │   Update available 5.7.1 → 6.1.0    │
                           │     Run npm i -g npm to update      │
                           │                                     │
                           ╰─────────────────────────────────────╯
                        
                        
                        1 Antwort Letzte Antwort
                        0
                        • wendy2702W Online
                          wendy2702W Online
                          wendy2702
                          schrieb am zuletzt editiert von
                          #15

                          Installiere doch mal vorher das Paket````
                          serialport

                          
                          Das meckert er doch an
                          
                          Gesendet von iPhone mit Tapatalk Pro

                          Bitte keine Fragen per PN, die gehören ins Forum!

                          Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                          1 Antwort Letzte Antwort
                          0
                          • AlCalzoneA Offline
                            AlCalzoneA Offline
                            AlCalzone
                            Developer
                            schrieb am zuletzt editiert von
                            #16

                            @wendy2702:

                            Und wie sieht es dann mit NPM 6 aus? `
                            Läuft bei mir, hat aber die selben Fallstricke wie NPM5, was root-Rechte angeht.

                            Warum `sudo` böse ist: https://forum.iobroker.net/post/17109

                            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

                            807

                            Online

                            32.5k

                            Benutzer

                            81.6k

                            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