Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [gelöst:] npm -v bringt Error log

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    [gelöst:] npm -v bringt Error log

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

      Hi,

      ich habe gerade nach

      apt-get udpate & apt-get upgrade auf meinem Slave PI3 festgestellt das irgendetwas mit NPM falsch ist:

      Bekomme z.b. bei npm -v diese Ausgabe:

      root@pi-iobroker:~# npm -v
      /usr/lib/node_modules/npm/lib/config/clear-credentials-by-uri.js:1
      (function (exports, require, module, __filename, __dirname) { ��8\��d�[��X����"d�Z����B��"�F���p? ���'<Ҋ�>b�O�Ä́�▒▒Xe�\��P���I)���=���-��^o�`�CC��96��w�1����
                                                                    ^
      
      SyntaxError: Unexpected token ILLEGAL
          at exports.runInThisContext (vm.js:53:16)
          at Module._compile (module.js:373:25)
          at Object.Module._extensions..js (module.js:416:10)
          at Module.load (module.js:343:32)
          at Function.Module._load (module.js:300:12)
          at Module.require (module.js:353:17)
          at require (internal/module.js:12:17)
          at Object. <anonymous>(/usr/lib/node_modules/npm/lib/config/core.js:232:40)
          at Module._compile (module.js:409:26)
          at Object.Module._extensions..js (module.js:416:10)
      root@pi-iobroker:~# PuTTY</anonymous> 
      

      Jemand eine Idee was zu tun ist?

      Danke und Gruß

      Mirko

      1 Reply Last reply Reply Quote 0
      • Jey Cee
        Jey Cee Developer last edited by

        Sieht nach Datensalat aus. Entweder ist nur was beim Update schiefgelaufen oder wenn du eine SD Karte benutzt ist die defekt.

        Mach erstmal ein Backup, auf einen USB stick, von ioBroker.

        Danach lösch Nodejs komplett und installieren es neu.

        Gesendet von meinem m8 mit Tapatalk

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

          Hi,

          Ist ne SD Karte aber ob die ne Macke hat? Alles andere auf dem Pi läuft problemlos.

          Werde deinen Vorschlag mal testen.

          Danke

          Gesendet von iPhone mit Tapatalk Pro

          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

          473
          Online

          32.0k
          Users

          80.4k
          Topics

          1.3m
          Posts

          2
          3
          431
          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