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

  1. ioBroker Community Home
  2. Deutsch
  3. Error/Bug
  4. Javascript install error

NEWS

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

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.0k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.5k

Javascript install error

Geplant Angeheftet Gesperrt Verschoben Error/Bug
8 Beiträge 3 Kommentatoren 1.0k 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.
  • S Offline
    S Offline
    Soukai
    schrieb am zuletzt editiert von
    #1

    Hallo!

    ich hab probleme javascript zu installieren und bekomme folgende meldung und weiß nicht weiter:

    root@raspberrypi:/opt/iobroker# npm install iobroker.javascript
    (node:2361) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpd                       ir() instead.
    npm WARN deprecated coffee-script@1.12.7: CoffeeScript on NPM has moved to "coff                       eescript" (no hyphen)
    npm ERR! Error: Method Not Allowed
    npm ERR!     at errorResponse (/usr/share/npm/lib/cache/add-named.js:260:10)
    npm ERR!     at /usr/share/npm/lib/cache/add-named.js:203:12
    npm ERR!     at saved (/usr/share/npm/node_modules/npm-registry-client/lib/get.j                       s:167:7)
    npm ERR!     at FSReqWrap.oncomplete (fs.js:135:15)
    npm ERR! If you need help, you may report this *entire* log,
    npm ERR! including the npm and node versions, at:
    npm ERR!     <http: github.com/npm/issues="">npm ERR! System Linux 4.14.72-v7+
    npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.javascript"
    npm ERR! cwd /opt/iobroker
    npm ERR! node -v v8.11.1
    npm ERR! npm -v 1.4.21
    npm ERR! code E405
    npm ERR!
    npm ERR! Additional logging details can be found in:
    npm ERR!     /opt/iobroker/npm-debug.log
    npm ERR! not ok code 0</http:> 
    

    Was tun?

    Vielen Dank!

    Chris

    1 Antwort Letzte Antwort
    0
    • DutchmanD Offline
      DutchmanD Offline
      Dutchman
      Developer Most Active Administrators
      schrieb am zuletzt editiert von
      #2

      Warum per npm ? Was passiert bei:

      iobroker add javascript
      

      Sent from my iPhone using Tapatalk

      1 Antwort Letzte Antwort
      0
      • S Offline
        S Offline
        Soukai
        schrieb am zuletzt editiert von
        #3

        Per iobroker gehts auch nicht. Durch deinen Befehl leider auch nicht…

        root@raspberrypi:~# iobroker add javascript
        (node:1476) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
        NPM version: 1.4.21
        npm install iobroker.javascript --production --save --prefix "/opt/iobroker" (System call)
        (node:1490) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
        npm WARN deprecated coffee-script@1.12.7: CoffeeScript on NPM has moved to "coffeescript" (no hyphen)
        npm ERR! Error: Method Not Allowed
        npm ERR!     at errorResponse (/usr/share/npm/lib/cache/add-named.js:260:10)
        npm ERR!     at /usr/share/npm/lib/cache/add-named.js:203:12
        npm ERR!     at saved (/usr/share/npm/node_modules/npm-registry-client/lib/get.js:167:7)
        npm ERR!     at FSReqWrap.oncomplete (fs.js:135:15)
        npm ERR! If you need help, you may report this *entire* log,
        npm ERR! including the npm and node versions, at:
        npm ERR!     <http: github.com/npm/issues="">
        
        npm ERR! System Linux 4.14.72-v7+
        npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.javascript" "--production" "--save" "--prefix" "/opt/iobroker"
        npm ERR! cwd /root
        npm ERR! node -v v8.11.1
        npm ERR! npm -v 1.4.21
        npm ERR! code E405
        npm ERR!
        npm ERR! Additional logging details can be found in:
        npm ERR!     /root/npm-debug.log
        npm ERR! not ok code 0
        host.raspberrypi create instance javascript
        host.raspberrypi error: reading io-package.json Error: ENOENT: no such file or directory, open 'null/io-package.json'</http:>
        
        1 Antwort Letzte Antwort
        0
        • DutchmanD Offline
          DutchmanD Offline
          Dutchman
          Developer Most Active Administrators
          schrieb am zuletzt editiert von
          #4

          Npm Version 1.4????

          Was sagt

          node -v
          npm -v
          

          Sent from my iPhone using Tapatalk

          1 Antwort Letzte Antwort
          0
          • S Offline
            S Offline
            Soukai
            schrieb am zuletzt editiert von
            #5
            root@raspberrypi:~# node -v
            v8.11.1
            root@raspberrypi:~# npm -v
            1.4.21
            (node:1777) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
            root@raspberrypi:~#
            
            
            1 Antwort Letzte Antwort
            0
            • paul53P Offline
              paul53P Offline
              paul53
              schrieb am zuletzt editiert von
              #6

              NPM v1.4.21 ist schon sehr alt. Update besser auf Version 4.

              npm install -g npm@4
              npm -v
              

              Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
              Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

              1 Antwort Letzte Antwort
              0
              • DutchmanD Offline
                DutchmanD Offline
                Dutchman
                Developer Most Active Administrators
                schrieb am zuletzt editiert von
                #7

                Und weil npm zu alt ist geht die Installation auch nicht

                Sent from my iPhone using Tapatalk

                1 Antwort Letzte Antwort
                0
                • S Offline
                  S Offline
                  Soukai
                  schrieb am zuletzt editiert von
                  #8

                  hat nun geklappt, nach paar errors. er sagt mir nun es gibt ein update. Ist es empfehlenswert auf 6.x upzudaten?

                  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

                  366

                  Online

                  32.4k

                  Benutzer

                  81.4k

                  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