Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Javascript-Fehler: ... ist not in the npm registry

    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

    UNSOLVED Javascript-Fehler: ... ist not in the npm registry

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

      Systemdata Bitte Ausfüllen
      Hardwaresystem: QNAP TS-251B, VM
      Arbeitsspeicher: 4 GB
      Festplattenart: HDD 250GB
      Betriebssystem: Linux
      Node-Version: 10.22.1
      Nodejs-Version: 10.22.1
      NPM-Version: 6.14.6 / 6.14.8
      Installationsart: Manuell
      Image genutzt: Nein
      Ort/Name der Imagedatei: --

      Seit heute tritt der genannte Fehler auf, Log von ioB sieht so aus:

      javascript.0	2020-10-10 11:37:52.552	error	(1630) Cannot install npm packet: moment-timzone
      javascript.0	2020-10-10 11:37:52.551	error	(1630) Cannot install moment-timzone: 1
      javascript.0	2020-10-10 11:37:52.535	error	(1630) npm ERR! A complete log of this run can be found in: npm ERR! /home/iobroker/.npm/_logs/2020-10-10T09_37_52_497Z-debug.log
      javascript.0	2020-10-10 11:37:52.533	error	(1630)
      javascript.0	2020-10-10 11:37:52.495	error	(1630) npm ERR! 404 npm ERR! 404 Note that you can also install from a npm ERR! 404 tarball, folder, http url, or git url.
      javascript.0	2020-10-10 11:37:52.494	error	(1630) 404 Not Found - GET https://registry.npmjs.org/moment-timzone - Not found npm ERR! 404 npm ERR! 404 'moment-timzone@latest' is not in the npm registry. npm ERR! 404 You should bug the author
      javascript.0	2020-10-10 11:37:52.493	error	(1630) ERR!
      javascript.0	2020-10-10 11:37:52.486	error	(1630) npm
      javascript.0	2020-10-10 11:37:52.479	error	(1630) ERR! code E404
      javascript.0	2020-10-10 11:37:52.478	error	(1630)
      javascript.0	2020-10-10 11:37:52.476	error	(1630) npm
      

      Dieser Fehler tritt immer nach Neustart der Instanz auf, diese ist aber lauffähig, ebenso die erstellten Scripts.

      Folgendes schon erfolglos durchgeführt:

      • Neustarts in folgender Reihenfolge:: Admin - ioB - Host - VM
      • Fixer
      • Update auf npm v6.14.8

      Was kann/soll/muss ich machen?

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

        @maloross sagte in Javascript-Fehler: ... ist not in the npm registry:

        npm packet: moment-timzone

        sicher dass das Paket so heißt?

        UncleSam 1 Reply Last reply Reply Quote 0
        • UncleSam
          UncleSam Developer @Homoran last edited by

          @Homoran sagte in Javascript-Fehler: ... ist not in the npm registry:

          sicher dass das Paket so heißt?

          Ich würde mal mit moment-timezone versuchen. Dir fehlt ein "e"!

          maloross 1 Reply Last reply Reply Quote 0
          • maloross
            maloross @UncleSam last edited by

            die EInträge in den Einstellungen von Javascript hatte ich so übernommen, wie sie angegeben waren. Es wurde für ein paar Scripts benötigt, die ich hier aus dem Forum habe..
            Das heißt dann, die sind unbrauchbar und können weg?

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

              @maloross sagte in Javascript-Fehler: ... ist not in the npm registry:

              die EInträge in den Einstellungen von Javascript hatte ich so übernommen, wie sie angegeben waren.

              dann war da eventuell schon der Tippfehler vorhanden (??)

              @maloross sagte in Javascript-Fehler: ... ist not in the npm registry:

              die sind unbrauchbar und können weg?

              wenn es das/die Skript(e) nicht mehr gibt, ja

              maloross 1 Reply Last reply Reply Quote 0
              • maloross
                maloross @Homoran last edited by

                @Homoran
                Euch erst mal ein dickes Dankeschön.

                Hatte das zwar mit c/p eingefügt, was aber Fehler nicht ausschließt.

                Sind noch in Gebrauch - wobei ich noch nicht geprüft habe, ob die überhaupt noch Werte auswerfen, aber ich kann da sicher was anderes bauen.

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post

                Support us

                ioBroker
                Community Adapters
                Donate

                548
                Online

                31.8k
                Users

                80.0k
                Topics

                1.3m
                Posts

                fehler javascript npm error
                3
                6
                276
                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