Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Installation Vis schlägt fehl

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Installation Vis schlägt fehl

    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      TM8 last edited by

      Hallo, vielleicht kann mir wer weiterhelfen. Nach einem Stromausfall funktionierte VIS nicht mehr richtig, Ich kam nicht mehr in den Editor. Ich habe den Adapter deinstalliert, wenn ich diesen jetzt installieren möchte, kommt folgende Fehlermeldung.

      $ ./iobroker add vis
      npm install iobroker.vis --production --prefix "/opt/iobroker" (System call)
      SyntaxError: Error parsing /usr/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/verror/package.json: Unexpected token v    at Object.parse (native)
          at readPackage (module.js:81:52)
          at tryPackage (module.js:91:13)
          at Function.Module._findPath (module.js:153:20)
          at Function.Module._resolveFilename (module.js:323:25)
          at Function.Module._load (module.js:276:25)
          at Module.require (module.js:353:17)
          at require (internal/module.js:12:17)
          at Object. <anonymous>(/usr/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/jsprim/lib/jsprim.js:9:18)
          at Module._compile (module.js:409:26)
      
      npm
       ERR!
       Linux 4.9.24-v7+npm
       ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "iobroker.vis" "--production" "--prefix" "/opt/iobroker"npm ERR! node v4.8.3
      npm ERR!
       npm  v2.15.11npm ERR! path /usr/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/verror/package.json
      
      npm ERR! Error parsing /usr/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/verror/package.json: Unexpected token vnpm ERR! 
      npm ERR! If you need help, you may report this error at:
      npm ERR!     <https: github.com/npm/issues="">
      
      host.HS-ioBroker-Server install adapter vis
      npm install iobroker.vis --production --prefix "/opt/iobroker" (System call)
      SyntaxError: Error parsing /usr/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/verror/package.json: Unexpected token v    at Object.parse (native)
          at readPackage (module.js:81:52)
          at tryPackage (module.js:91:13)
          at Function.Module._findPath (module.js:153:20)
          at Function.Module._resolveFilename (module.js:323:25)
          at Function.Module._load (module.js:276:25)
          at Module.require (module.js:353:17)
          at require (internal/module.js:12:17)
          at Object. <anonymous>(/usr/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/jsprim/lib/jsprim.js:9:18)
          at Module._compile (module.js:409:26)
      
      npm
       ERR!
       Linux 4.9.24-v7+
      npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "iobroker.vis" "--production" "--prefix" "/opt/iobroker"npm ERR! node v4.8.3
      npm ERR! npm  v2.15.11
      
      npm ERR! path /usr/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/verror/package.json
      npm
       ERR! Error parsing /usr/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/verror/package.json: Unexpected token vnpm ERR! 
      npm ERR! If you need help, you may report this error at:
      npm ERR!     <https: github.com/npm/issues="">
      
      host.HS-ioBroker-Server install adapter vis
      npm install iobroker.vis --production --prefix "/opt/iobroker" (System call)
      SyntaxError: Error parsing /usr/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/verror/package.json: Unexpected token v    at Object.parse (native)
          at readPackage (module.js:81:52)
          at tryPackage (module.js:91:13)
          at Function.Module._findPath (module.js:153:20)
          at Function.Module._resolveFilename (module.js:323:25)
          at Function.Module._load (module.js:276:25)
          at Module.require (module.js:353:17)
          at require (internal/module.js:12:17)
          at Object. <anonymous>(/usr/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/jsprim/lib/jsprim.js:9:18)
          at Module._compile (module.js:409:26)
      
      npm ERR! Linux 4.9.24-v7+
      npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "iobroker.vis" "--production" "--prefix" "/opt/iobroker"npm ERR! node v4.8.3
      npm ERR! npm  v2.15.11
      npm ERR! path /usr/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/verror/package.json
      
      npm ERR! Error parsing /usr/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/verror/package.json: Unexpected token v
      npm ERR! 
      npm ERR! If you need help, you may report this error at:
      npm ERR!     <https: github.com/npm/issues="">
      
      host.HS-ioBroker-Server install adapter vis
      ERROR: host.HS-ioBroker-Server Cannot install vis
      ERROR: process exited with code 13</https:></anonymous></https:></anonymous></https:></anonymous>
      

      Vielleicht kann mir jemand weiterhelfen.

      Oder soll ich gleich einen neue Installation von ioBroker aufsetzen, der läuft jetzt schon seit 1 1/2 Jahren.

      Danke für eure Hilfe.

      1 Reply Last reply Reply Quote 0
      • Homoran
        Homoran Global Moderator Administrators last edited by

        @TM8:

        Ich habe den Adapter deinstalliert `
        Hast du wirklich den gesamten Adapter deinstalliert oder nur die Instanz?

        Gruß

        Rainer

        1 Reply Last reply Reply Quote 0
        • T
          TM8 last edited by

          Nur die Instanz, da habe ich mich nicht richtig ausgedrückt. Wenn ich jetzt eine neuen Instanz installieren möchte, funktioniert das nicht. Ausgabe siehe oben.

          Danke

          1 Reply Last reply Reply Quote 0
          • Homoran
            Homoran Global Moderator Administrators last edited by

            @TM8:

            Nur die Instanz, `
            so sah das auch aus.

            dann bitte den gesamten Adapter löschen und anschließend über die Konsole:

            cd /opt/iobroker
            npm cache clean
            sudo iobroker stop
            npm install iobroker.vis
            npm add iobroker.vis
            sudo iobroker upload vis
            sudo iobroker start
            

            und viel Glück

            Rainer

            1 Reply Last reply Reply Quote 0
            • T
              TM8 last edited by

              Ich erhalte schon bei "npm cache clean" Fehler.

              root@HS-ioBroker-Server:/opt/iobroker# npm cache clean
              SyntaxError: Error parsing /usr/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/verror/package.json: Unexpected token v
                  at Object.parse (native)
                  at readPackage (module.js:81:52)
                  at tryPackage (module.js:91:13)
                  at Function.Module._findPath (module.js:153:20)
                  at Function.Module._resolveFilename (module.js:323:25)
                  at Function.Module._load (module.js:276:25)
                  at Module.require (module.js:353:17)
                  at require (internal/module.js:12:17)
                  at Object. <anonymous>(/usr/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/jsprim/lib/jsprim.js:9:18)
                  at Module._compile (module.js:409:26)
              npm ERR! Linux 4.9.24-v7+
              npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "cache" "clean"
              npm ERR! node v4.8.3
              npm ERR! npm  v2.15.11
              npm ERR! path /usr/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/verror/package.json
              
              npm ERR! Error parsing /usr/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/verror/package.json: Unexpected token v
              npm ERR!
              npm ERR! If you need help, you may report this error at:
              npm ERR!     <https: github.com/npm/issues="">
              root@HS-ioBroker-Server:/opt/iobroker#</https:></anonymous>
              

              Setze gerade einen zweiten Raspberry neu auf. Ich denke das ist mal wieder nötig.

              1 Reply Last reply Reply Quote 0
              • M
                mafe68 last edited by

                Versuche mal ein

                sudo apt-get autoclean && sudo apt-get autoremove
                

                damit werde mal deine ganze Altlasten entsorgt und versuche es nochmal so wie oben schon mal beschrieben.

                1 Reply Last reply Reply Quote 0
                • Bluefox
                  Bluefox last edited by

                  @TM8:

                  Ich erhalte schon bei "npm cache clean" Fehler.

                  root@HS-ioBroker-Server:/opt/iobroker# npm cache clean
                  SyntaxError: Error parsing /usr/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/verror/package.json: Unexpected token v
                      at Object.parse (native)
                      at readPackage (module.js:81:52)
                      at tryPackage (module.js:91:13)
                      at Function.Module._findPath (module.js:153:20)
                      at Function.Module._resolveFilename (module.js:323:25)
                      at Function.Module._load (module.js:276:25)
                      at Module.require (module.js:353:17)
                      at require (internal/module.js:12:17)
                      at Object. <anonymous>(/usr/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/jsprim/lib/jsprim.js:9:18)
                      at Module._compile (module.js:409:26)
                  npm ERR! Linux 4.9.24-v7+
                  npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "cache" "clean"
                  npm ERR! node v4.8.3
                  npm ERR! npm  v2.15.11
                  npm ERR! path /usr/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/verror/package.json
                  
                  npm ERR! Error parsing /usr/lib/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/jsprim/node_modules/verror/package.json: Unexpected token v
                  npm ERR!
                  npm ERR! If you need help, you may report this error at:
                  npm ERR!     <https: github.com/npm/issues="">
                  root@HS-ioBroker-Server:/opt/iobroker#</https:></anonymous>
                  

                  Setze gerade einen zweiten Raspberry neu auf. Ich denke das ist mal wieder nötig. `
                  Dein npm ist kaputt… Um npm zu reparieren brauchst du .... npm .

                  sudo apt-get install nodejs npm node-semver --reinstall
                  
                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post

                  Support us

                  ioBroker
                  Community Adapters
                  Donate
                  FAQ Cloud / IOT
                  HowTo: Node.js-Update
                  HowTo: Backup/Restore
                  Downloads
                  BLOG

                  651
                  Online

                  31.9k
                  Users

                  80.2k
                  Topics

                  1.3m
                  Posts

                  4
                  7
                  1562
                  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