Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. [gelöst] iobroker upgrade self bringt npm error

    NEWS

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    • Save The Date: ioBroker@Smart Living Forum Solingen, 14.06.

    [gelöst] iobroker upgrade self bringt npm error

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

      Hallo,

      ich wollte js.controller updaten und bekam diese errors. Node habe ich als binary gezogen und nach /opt/node gepackt. Eigentlich lief alles, aber das update schlägt fehl.

      Wie krieg ich das nu wieder hin?

      pi@Raspberry:/opt/iobroker $ sudo ./iobroker upgrade self
      npm install iobroker.js-controller --production --prefix "/opt/iobroker" (System call)
      npm WARN deprecated localhost.daplie.com-certificates@1.2.5: Moved to localhost.daplie.me-certificates
      npm ERR! Linux 4.4.50+
      npm ERR! argv "/opt/node/bin/node" "/opt/node/lib/node_modules/npm/bin/npm-cli.js" "install" "iobroker.js-controller" "--production" "--prefix" "/opt/iobroker"
      npm ERR! node v6.10.1
      npm ERR! npm  v3.10.10
      npm ERR! path /opt/iobroker/node_modules/.staging/abbrev-bc1a4de2
      npm ERR! code ENOENT
      npm ERR! errno -2
      npm ERR! syscall rename
      
      npm ERR! enoent ENOENT: no such file or directory, rename '/opt/iobroker/node_modules/.staging/abbrev-bc1a4de2' -> '/opt/iobroker/node_modules/npm/node_modules/abbrev'
      npm ERR! enoent ENOENT: no such file or directory, rename '/opt/iobroker/node_modules/.staging/abbrev-bc1a4de2' -> '/opt/iobroker/node_modules/npm/node_modules/abbrev'
      npm ERR! enoent This is most likely not a problem with npm itself
      npm ERR! enoent and is related to npm not being able to find a file.
      npm ERR! enoent 
      
      npm ERR! Please include the following file with any support request:
      npm ERR!     /opt/iobroker/npm-debug.log
      host.Raspberry Cannot install iobroker.js-controller: 254
      
      

      Dank und Gruß vom

      Jörg

      1 Reply Last reply Reply Quote 0
      • J
        joerg66 last edited by

        Ein:

        npm install iobroker.js-controller –production

        war die Lösung

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

        Support us

        ioBroker
        Community Adapters
        Donate

        769
        Online

        31.6k
        Users

        79.4k
        Topics

        1.3m
        Posts

        1
        2
        1088
        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