Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Javascript install error

    NEWS

    • ioBroker goes Matter ... Matter Adapter in Stable

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    Javascript install error

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

      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 Reply Last reply Reply Quote 0
      • Dutchman
        Dutchman Developer Most Active Administrators last edited by

        Warum per npm ? Was passiert bei:

        iobroker add javascript
        

        Sent from my iPhone using Tapatalk

        1 Reply Last reply Reply Quote 0
        • S
          Soukai last edited by

          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 Reply Last reply Reply Quote 0
          • Dutchman
            Dutchman Developer Most Active Administrators last edited by

            Npm Version 1.4????

            Was sagt

            node -v
            npm -v
            

            Sent from my iPhone using Tapatalk

            1 Reply Last reply Reply Quote 0
            • S
              Soukai last edited by

              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 Reply Last reply Reply Quote 0
              • paul53
                paul53 last edited by

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

                npm install -g npm@4
                npm -v
                
                1 Reply Last reply Reply Quote 0
                • Dutchman
                  Dutchman Developer Most Active Administrators last edited by

                  Und weil npm zu alt ist geht die Installation auch nicht

                  Sent from my iPhone using Tapatalk

                  1 Reply Last reply Reply Quote 0
                  • S
                    Soukai last edited by

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

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

                    Support us

                    ioBroker
                    Community Adapters
                    Donate

                    969
                    Online

                    31.6k
                    Users

                    79.5k
                    Topics

                    1.3m
                    Posts

                    3
                    8
                    931
                    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