Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [How-to] Node.js für ioBroker richtig updaten

    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

    [How-to] Node.js für ioBroker richtig updaten

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

      Ich habe es heute mit der Anleitung versucht aber es hat nicht funktioniert...

      node reinstall.js
      

      svenilee@Gotham-City:/opt/iobroker$ node reinstall.js
      [0 / 302] Deleted .bin
      [1 / 302] Deleted @iobroker
      [2 / 302] Deleted @root
      [3 / 302] Deleted @types
      [4 / 302] Deleted accepts
      [5 / 302] Deleted acme
      [6 / 302] Deleted acme-v2
      [7 / 302] Deleted after
      [8 / 302] Deleted ajv
      [9 / 302] Deleted ansi-regex
      [10 / 302] Deleted array-flatten
      [11 / 302] Deleted arraybuffer.slice
      [12 / 302] Deleted asn1
      [13 / 302] Deleted assert-plus
      [14 / 302] Deleted async
      [15 / 302] Deleted asynckit
      [16 / 302] Deleted aws-sign2
      [17 / 302] Deleted aws4
      [18 / 302] Deleted backo2
      [19 / 302] Deleted balanced-match
      [20 / 302] Deleted base64-arraybuffer
      [21 / 302] Deleted base64id
      [22 / 302] Deleted bcrypt-pbkdf
      [23 / 302] Deleted better-assert
      [24 / 302] Deleted bindings
      [25 / 302] Deleted blob
      [26 / 302] Deleted bluebird
      [27 / 302] Deleted body-parser
      [28 / 302] Deleted brace-expansion
      [29 / 302] Deleted buffer-equal-constant-time
      [30 / 302] Deleted busboy
      [31 / 302] Deleted bytes
      [32 / 302] Deleted callsite
      [33 / 302] Deleted camelcase
      [34 / 302] Deleted caseless
      [35 / 302] Deleted cert-info
      [36 / 302] Deleted chownr
      [37 / 302] Deleted cliui
      [38 / 302] Deleted code-point-at
      [39 / 302] Deleted colors
      [40 / 302] Deleted combined-stream
      [41 / 302] Deleted component-bind
      [42 / 302] Deleted component-emitter
      [43 / 302] Deleted component-inherit
      [44 / 302] Deleted concat-map
      [45 / 302] Deleted connect-flash
      [46 / 302] Deleted content-disposition
      [47 / 302] Deleted content-type
      [48 / 302] Deleted cookie
      [49 / 302] Deleted cookie-parser
      [50 / 302] Deleted cookie-signature
      [51 / 302] Deleted core-util-is
      [52 / 302] Deleted cron-parser
      [53 / 302] Deleted cross-spawn
      [54 / 302] Deleted cycle
      [55 / 302] Deleted daemonize2
      [56 / 302] Deleted dashdash
      [57 / 302] Deleted debug
      [58 / 302] Deleted decamelize
      [59 / 302] Deleted deep-equal
      [60 / 302] Deleted define-properties
      [61 / 302] Deleted delayed-stream
      [62 / 302] Deleted depd
      [63 / 302] Deleted destroy
      [64 / 302] Deleted dicer
      [65 / 302] Deleted diskusage
      [66 / 302] Deleted double-ended-queue
      [67 / 302] Deleted ecc-jsbn
      [68 / 302] Deleted ecdsa-sig-formatter
      [69 / 302] Deleted eckles
      [70 / 302] Deleted ee-first
      [71 / 302] Deleted encodeurl
      [72 / 302] Deleted end-of-stream
      [73 / 302] Deleted engine.io
      [74 / 302] Deleted engine.io-client
      [75 / 302] Deleted engine.io-parser
      [76 / 302] Deleted es6-promise
      [77 / 302] Deleted escape-html
      [78 / 302] Deleted etag
      [79 / 302] Deleted execa
      [80 / 302] Deleted express
      [81 / 302] Deleted express-fileupload
      [82 / 302] Deleted express-session
      [83 / 302] Deleted extend
      [84 / 302] Deleted extsprintf
      [85 / 302] Deleted eyes
      [86 / 302] Deleted fast-deep-equal
      [87 / 302] Deleted fast-json-stable-stringify
      [88 / 302] Deleted file-uri-to-path
      [89 / 302] Deleted finalhandler
      [90 / 302] Deleted find-up
      [91 / 302] Deleted forever-agent
      [92 / 302] Deleted form-data
      [93 / 302] Deleted forwarded
      [94 / 302] Deleted fresh
      [95 / 302] Deleted fs-minipass
      [96 / 302] Deleted fs.realpath
      [97 / 302] Deleted function-bind
      [98 / 302] Deleted get-caller-file
      [99 / 302] Deleted get-stream
      [100 / 302] Deleted getpass
      [101 / 302] Deleted glob
      [102 / 302] Deleted glossy
      [103 / 302] Deleted greenlock
      [104 / 302] Deleted har-schema
      [105 / 302] Deleted har-validator
      [106 / 302] Deleted has
      [107 / 302] Deleted has-binary
      [108 / 302] Deleted has-cors
      [109 / 302] Deleted http-errors
      [110 / 302] Deleted http-signature
      [111 / 302] Deleted i
      [112 / 302] Deleted iconv-lite
      [113 / 302] Deleted immediate
      [114 / 302] Deleted indexof
      [115 / 302] Deleted inflight
      [116 / 302] Deleted inherits
      [117 / 302] Deleted invert-kv
      [118 / 302] Deleted iobroker.flot
      [119 / 302] Deleted iobroker.icons-addictive-flavour-png
      [120 / 302] Deleted iobroker.icons-mfd-png
      [121 / 302] Deleted iobroker.icons-mfd-svg
      [122 / 302] Deleted iobroker.icons-open-icon-library-png
      [123 / 302] Deleted iobroker.icons-ultimate-png
      [124 / 302] Deleted iobroker.js-controller
      [125 / 302] Deleted ipaddr.js
      [126 / 302] Deleted is
      [127 / 302] Deleted is-fullwidth-code-point
      [128 / 302] Deleted is-nan
      [129 / 302] Deleted is-stream
      [130 / 302] Deleted is-typedarray
      [131 / 302] Deleted isarray
      [132 / 302] Deleted isexe
      [133 / 302] Deleted isstream
      [134 / 302] Deleted jsbn
      [135 / 302] Deleted json-schema
      [136 / 302] Deleted json-schema-traverse
      [137 / 302] Deleted json-stringify-safe
      [138 / 302] Deleted json3
      [139 / 302] Deleted jsonwebtoken
      [140 / 302] Deleted jsprim
      [141 / 302] Deleted jszip
      [142 / 302] Deleted jwa
      [143 / 302] Deleted jws
      [144 / 302] Deleted keypairs
      [145 / 302] Deleted lcid
      [146 / 302] Deleted le-acme-core
      [147 / 302] Deleted le-challenge-fs
      [148 / 302] Deleted le-sni-auto
      [149 / 302] Deleted le-store-certbot
      [150 / 302] Deleted lie
      [151 / 302] Deleted loadavg-windows
      [152 / 302] Deleted locate-path
      [153 / 302] Deleted lodash.includes
      [154 / 302] Deleted lodash.isboolean
      [155 / 302] Deleted lodash.isinteger
      [156 / 302] Deleted lodash.isnumber
      [157 / 302] Deleted lodash.isplainobject
      [158 / 302] Deleted lodash.isstring
      [159 / 302] Deleted lodash.once
      [160 / 302] Deleted long-timeout
      [161 / 302] Deleted map-age-cleaner
      [162 / 302] Deleted media-typer
      [163 / 302] Deleted mem
      [164 / 302] Deleted merge-descriptors
      [165 / 302] Deleted methods
      [166 / 302] Deleted mime
      [167 / 302] Deleted mime-db
      [168 / 302] Deleted mime-types
      [169 / 302] Deleted mimic-fn
      [170 / 302] Deleted minimatch
      [171 / 302] Deleted minimist
      [172 / 302] Deleted minipass
      [173 / 302] Deleted minizlib
      [174 / 302] Deleted mkdirp
      [175 / 302] Deleted moment
      [176 / 302] Deleted moment-timezone
      [177 / 302] Deleted ms
      [178 / 302] Deleted mute-stream
      [179 / 302] Deleted nan
      [180 / 302] Deleted ncp
      [181 / 302] Deleted negotiator
      [182 / 302] Deleted nice-try
      [183 / 302] Deleted node-forge
      [184 / 302] Deleted node-schedule
      [185 / 302] Deleted node.extend
      [186 / 302] Deleted npm-run-path
      [187 / 302] Deleted number-is-nan
      [188 / 302] Deleted oauth-sign
      [189 / 302] Deleted object-assign
      [190 / 302] Deleted object-component
      [191 / 302] Deleted object-keys
      [192 / 302] Deleted on-finished
      [193 / 302] Deleted on-headers
      [194 / 302] Deleted once
      [195 / 302] Deleted options
      [196 / 302] Deleted os-locale
      [197 / 302] Deleted p-defer
      [198 / 302] Deleted p-finally
      [199 / 302] Deleted p-is-promise
      [200 / 302] Deleted p-limit
      [201 / 302] Deleted p-locate
      [202 / 302] Deleted p-try
      [203 / 302] Deleted pako
      [204 / 302] Deleted parsejson
      [205 / 302] Deleted parseqs
      [206 / 302] Deleted parseuri
      [207 / 302] Deleted parseurl
      [208 / 302] Deleted passport
      [209 / 302] Deleted passport-local
      [210 / 302] Deleted passport-strategy
      [211 / 302] Deleted passport.socketio
      [212 / 302] Deleted path-exists
      [213 / 302] Deleted path-is-absolute
      [214 / 302] Deleted path-key
      [215 / 302] Deleted path-to-regexp
      [216 / 302] Deleted pause
      [217 / 302] Deleted performance-now
      [218 / 302] Deleted pidusage
      [219 / 302] Deleted pkginfo
      [220 / 302] Deleted process-nextick-args
      [221 / 302] Deleted prompt
      [222 / 302] Deleted proxy-addr
      [223 / 302] Deleted psl
      [224 / 302] Deleted pump
      [225 / 302] Deleted punycode
      [226 / 302] Deleted pyconf
      [227 / 302] Deleted qs
      [228 / 302] Deleted random-bytes
      [229 / 302] Deleted range-parser
      [230 / 302] Deleted rasha
      [231 / 302] Deleted raw-body
      [232 / 302] Deleted read
      [233 / 302] Deleted readable-stream
      [234 / 302] Deleted redis
      [235 / 302] Deleted redis-commands
      [236 / 302] Deleted redis-parser
      [237 / 302] Deleted request
      [238 / 302] Deleted require-directory
      [239 / 302] Deleted require-main-filename
      [240 / 302] Deleted revalidator
      [241 / 302] Deleted rimraf
      [242 / 302] Deleted rsa-compat
      [243 / 302] Deleted safe-buffer
      [244 / 302] Deleted safe-replace
      [245 / 302] Deleted safer-buffer
      [246 / 302] Deleted semver
      [247 / 302] Deleted send
      [248 / 302] Deleted serve-static
      [249 / 302] Deleted set-blocking
      [250 / 302] Deleted set-immediate-shim
      [251 / 302] Deleted setprototypeof
      [252 / 302] Deleted shebang-command
      [253 / 302] Deleted shebang-regex
      [254 / 302] Deleted signal-exit
      [255 / 302] Deleted socket.io
      [256 / 302] Deleted socket.io-adapter
      [257 / 302] Deleted socket.io-client
      [258 / 302] Deleted socket.io-parser
      [259 / 302] Deleted sorted-array-functions
      [260 / 302] Deleted sshpk
      [261 / 302] Deleted stack-trace
      [262 / 302] Deleted statuses
      [263 / 302] Deleted streamsearch
      [264 / 302] Deleted string-width
      [265 / 302] Deleted string_decoder
      [266 / 302] Deleted strip-ansi
      [267 / 302] Deleted strip-eof
      [268 / 302] Deleted tar
      [269 / 302] Deleted to-array
      [270 / 302] Deleted toidentifier
      [271 / 302] Deleted tough-cookie
      [272 / 302] Deleted tunnel-agent
      [273 / 302] Deleted tweetnacl
      [274 / 302] Deleted type-is
      [275 / 302] Deleted uid-safe
      [276 / 302] Deleted ultron
      [277 / 302] Deleted unpipe
      [278 / 302] Deleted uri-js
      [279 / 302] Deleted ursa-optional
      [280 / 302] Deleted util-deprecate
      [281 / 302] Deleted utile
      [282 / 302] Deleted utils-merge
      [283 / 302] Deleted uuid
      [284 / 302] Deleted vary
      [285 / 302] Deleted verror
      [286 / 302] Deleted weak-daemon
      [287 / 302] Deleted which
      [288 / 302] Deleted which-module
      [289 / 302] Deleted winston
      [290 / 302] Deleted winston-daily-rotate-file
      [291 / 302] Deleted wrap-ansi
      [292 / 302] Deleted wrappy
      [293 / 302] Deleted ws
      [294 / 302] Deleted wtf-8
      [295 / 302] Deleted xmlhttprequest-ssl
      [296 / 302] Deleted xtend
      [297 / 302] Deleted y18n
      [298 / 302] Deleted yallist
      [299 / 302] Deleted yargs
      [300 / 302] Deleted yargs-parser
      [301 / 302] Deleted yeast
      Deleted in 1 seconds.
      
      
      
      Cleaning npm cache...
      npm WARN using --force I sure hope you know what you are doing.
      
      
      
      Reinstall all packages cache...
      npm WARN deprecated coffee-script@1.12.7: CoffeeScript on NPM has moved to "coffeescript" (no hyphen)
      npm WARN deprecated dgram@1.0.1: npm is holding this package for security reasons. As it's a core Node module, we will not transfer it over to other users. You may safely remove the package from your dependencies.
      npm WARN deprecated json3@3.3.2: Please use the native JSON object instead of JSON 3
      npm WARN deprecated hawk@3.1.3: This module moved to @hapi/hawk. Please make sure to switch over as this distribution is no longer supported and may contain bugs and critical security issues.
      npm WARN deprecated hoek@2.16.3: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
      npm WARN deprecated sntp@1.0.9: This module moved to @hapi/sntp. Please make sure to switch over as this distribution is no longer supported and may contain bugs and critical security issues.
      npm WARN deprecated boom@2.10.1: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
      npm WARN deprecated cryptiles@2.0.5: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
      npm ERR! code ETARGET
      npm ERR! notarget No matching version found for iobroker.icons-open-icon-library-png@0.1.3.
      npm ERR! notarget In most cases you or one of your dependencies are requesting
      npm ERR! notarget a package version that doesn't exist.
      npm ERR! notarget
      npm ERR! notarget It was specified as a dependency of 'iobroker'
      npm ERR! notarget
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/svenilee/.npm/_logs/2019-11-18T11_15_10_595Z-debug.log
      
      
      
      Everything is done
      
      
      
      Finished in 16 seconds.
      svenilee@Gotham-City:/opt/iobroker$
      

      nunlässt sich iobroker nicht mehr starten:

      svenilee@Gotham-City:/opt/iobroker$ iobroker start -v
      internal/modules/cjs/loader.js:638
          throw err;
          ^
      
      Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
          at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
          at Function.Module._load (internal/modules/cjs/loader.js:562:25)
          at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
          at startup (internal/bootstrap/node.js:283:19)
          at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
      svenilee@Gotham-City:/opt/iobroker$
      

      kann ich das nochmal irgendwie retten?

      arteck Stabilostick 2 Replies Last reply Reply Quote 0
      • arteck
        arteck Developer Most Active @sveni_lee last edited by arteck

        @sveni_lee man kriegt es noch hin.. wenn du heute zeit hast im TS bin ab 19 uhr da

        du müsstest die Datei anpassen wo die Adapter aufgelistet sind
        und die Einträge bis zu den icons-open-icon-library-png incl löschen
        und dann weiter laufen lassen. oder alle iobroker.xxxxx löschen ausser den admin und js-controller und dann nochmal starten dann wird auch alles gezogen... ist aber tricky..

        1 Reply Last reply Reply Quote 0
        • Stabilostick
          Stabilostick @sveni_lee last edited by Stabilostick

          @sveni_lee sagte in [How-to] Node.js für ioBroker richtig updaten:

          nun lässt sich iobroker nicht mehr starten

          Installiere den js-controller neu:

          cd /opt/iobroker
          npm i iobroker.js-controller --production --force
          

          Dann noch den Installation Fixer darüber laufen lassen:

          curl -sL https://iobroker.net/fix.sh | bash -
          

          iobroker starten. Klappt es jetzt?

          S 1 Reply Last reply Reply Quote 0
          • S
            sveni_lee @Stabilostick last edited by

            @Stabilostick sagte in [How-to] Node.js für ioBroker richtig updaten:

            npm i ioBroker.js-controller --production --force

            nope... das klappt auch nicht

            svenilee@Gotham-City:/opt/iobroker$ npm i ioBroker.js-controller --production --force
            npm WARN using --force I sure hope you know what you are doing.
            npm ERR! code E404
            npm ERR! 404 Not Found - GET https://registry.npmjs.org/ioBroker.js-controller - Not found
            npm ERR! 404
            npm ERR! 404  'ioBroker.js-controller@latest' is not in the npm registry.
            npm ERR! 404 Your package name is not valid, because
            npm ERR! 404  1. name can no longer contain capital letters
            npm ERR! 404
            npm ERR! 404 Note that you can also install from a
            npm ERR! 404 tarball, folder, http url, or git url.
            
            npm ERR! A complete log of this run can be found in:
            npm ERR!     /home/svenilee/.npm/_logs/2019-11-18T13_51_11_353Z-debug.log
            svenilee@Gotham-City:/opt/iobroker$
            
            
            apollon77 1 Reply Last reply Reply Quote 0
            • apollon77
              apollon77 @sveni_lee last edited by

              @sveni_lee Schreib mal alle buchstaben klein 🙂

              iobroker.js-controller

              S 1 Reply Last reply Reply Quote 0
              • S
                sveni_lee @apollon77 last edited by

                @apollon77

                jetzt ging es schon mal weiter.

                svenilee@Gotham-City:/opt/iobroker$ npm i iobroker.js-controller --production --force
                npm WARN using --force I sure hope you know what you are doing.
                npm WARN deprecated json3@3.3.2: Please use the native JSON object instead of JSON 3
                
                > iobroker.js-controller@1.5.14 preinstall /opt/iobroker/node_modules/iobroker.js-controller
                > node lib/preinstallCheck.js
                
                NPM version: 6.11.3
                npm version >= 5: disabling package-lock
                
                > ursa-optional@0.9.10 install /opt/iobroker/node_modules/ursa-optional
                > node rebuild.js
                
                
                > diskusage@1.1.3 install /opt/iobroker/node_modules/diskusage
                > node-gyp rebuild
                
                make: Verzeichnis „/opt/iobroker/node_modules/diskusage/build“ wird betreten
                  CXX(target) Release/obj.target/diskusage/src/main.o
                  CXX(target) Release/obj.target/diskusage/src/diskusage_posix.o
                  SOLINK_MODULE(target) Release/obj.target/diskusage.node
                  COPY Release/diskusage.node
                make: Verzeichnis „/opt/iobroker/node_modules/diskusage/build“ wird verlassen
                
                > iobroker.js-controller@1.5.14 install /opt/iobroker/node_modules/iobroker.js-controller
                > node iobroker.js setup first
                
                
                > acme-v2@1.8.6 postinstall /opt/iobroker/node_modules/acme-v2
                > node scripts/postinstall
                
                
                Greenlock and ACME.js v3 are on the way!
                Watch for updates at https://indiegogo.com/at/greenlock
                
                + iobroker.js-controller@1.5.14
                added 335 packages from 279 contributors and audited 841 packages in 26.74s
                found 27 vulnerabilities (19 low, 8 high)
                  run `npm audit fix` to fix them, or `npm audit` for details
                svenilee@Gotham-City:/opt/iobroker$
                
                

                soll ich run npm audit fix to fix them, or npm audit for details ausführen?

                AlCalzone apollon77 2 Replies Last reply Reply Quote 0
                • AlCalzone
                  AlCalzone Developer @sveni_lee last edited by

                  @sveni_lee sagte in [How-to] Node.js für ioBroker richtig updaten:

                  soll ich run npm audit fix to fix them, or npm audit for details ausführen?

                  NEIN!

                  1 Reply Last reply Reply Quote 0
                  • apollon77
                    apollon77 @sveni_lee last edited by

                    @sveni_lee Alles gut, so geht es. Wie @AlCalzone geschrieben hat: nix weiter ausführen

                    S 1 Reply Last reply Reply Quote 0
                    • S
                      sveni_lee @apollon77 last edited by

                      @apollon77

                      etwas spät aber immerhin... es läuft ja wieder.
                      aber irgendwas stimt bei meiner installation nicht.
                      Jetzt habe ich Probleme mit JS-scripten
                      "cannot find modul 'request'" steht da zum Beispiel. Das habe ich bei
                      request, fs und dateformat.

                      1 Reply Last reply Reply Quote 0
                      • K
                        klausiob last edited by

                        @apollon77 Danke für die Anleitung. Wollte mein Node.js von 8.14.0 auf 18.16.2 updaten (raspi3+). Bin am Punkt iobroker stop gescheitert.

                        iobroker controller daemon is not running
                        

                        Es läuft aber noch alles in VIS und Admin. Dann versuchte ich mit sudo kill -9 <ProzessID> einzeln zu löschen. Funktioniert einzeln auch, mußte dann aber feststellen, dass nach und nach wieder alle Prozesse mit neuer PID da waren????
                        Was mache ich falsch?

                        BBTown apollon77 2 Replies Last reply Reply Quote 0
                        • BBTown
                          BBTown @klausiob last edited by

                          @klausiob
                          Node.js von 8.14.0 auf 18.16.2 updaten

                          ich bin ziemlich sicher, dass Du dann weltweit der Erste auf einer v18.x.x sein wirst ... 😎

                          1 Reply Last reply Reply Quote 0
                          • apollon77
                            apollon77 @klausiob last edited by

                            @klausiob wenn du manuell killst dann den js-Controller Prozess zuerst. Der startet sonst alles wieder. Wenn iobroker stop nicht tut Versuch „systemctl stop iobroker“ und am besten den fixer laufen lassen.

                            1 Reply Last reply Reply Quote 0
                            • K
                              klausiob last edited by

                              @apollon77 Danke hat funktioniert. Hier nochmal die Zusammenfassung:
                              Für das Kommando werden root-Rechte gebraucht

                              sudo -s
                              systemctl stop iobroker
                              ps -ef|grep io
                              curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash
                              node -v
                              nodejs -v
                              

                              Wollte erst ... setup_8.16.2 eingeben. Findet er aber nicht, nimmt mit "x" aber die gewünschte aktuellste Version.

                              1 Reply Last reply Reply Quote 0
                              • M
                                maik150 last edited by

                                ich wollte nun auch node.js aktualisieren, was soweit auch klappte. als ich dann aber "npm rebuild" in cd /opt/iobroker ausgeführt habe, kam dies zum schluss. bin bis hier nach der anleitung hier aus dem forum vorgegangen.

                                gyp ERR! clean error
                                gyp ERR! stack Error: EACCES: permission denied, rmdir 'build'
                                gyp ERR! System Linux 4.9.59-v7+
                                gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gy p/bin/node-gyp.js" "rebuild"
                                gyp ERR! cwd /opt/iobroker/node_modules/ursa
                                gyp ERR! node -v v10.17.0
                                gyp ERR! node-gyp -v v5.0.3
                                gyp ERR! not ok
                                npm ERR! code ELIFECYCLE
                                npm ERR! errno 1
                                npm ERR! ursa@0.9.4 install: `node-gyp rebuild`
                                npm ERR! Exit status 1
                                npm ERR!
                                npm ERR! Failed at the ursa@0.9.4 install script.
                                npm ERR! This is probably not a problem with npm. There is likely additional log ging output above.
                                
                                npm ERR! A complete log of this run can be found in:
                                npm ERR!     /root/.npm/_logs/2019-11-30T17_15_22_906Z-debug.log
                                

                                kann mir da einer von euch weiterhelfen? oder kann man dies ignorieren, wahrscheinlich nicht oder?

                                apollon77 AlCalzone 2 Replies Last reply Reply Quote 0
                                • apollon77
                                  apollon77 @maik150 last edited by

                                  @maik150 installation fixer nutzen um alles rechte korrekt zu setzen.

                                  M 1 Reply Last reply Reply Quote 0
                                  • M
                                    maik150 @apollon77 last edited by

                                    @apollon77 den installationsfixer habe ich davor ausgeführt

                                    sigi234 1 Reply Last reply Reply Quote 0
                                    • sigi234
                                      sigi234 Forum Testing Most Active @maik150 last edited by sigi234

                                      @maik150 sagte in [How-to] Node.js für ioBroker richtig updaten:

                                      @apollon77 den installationsfixer habe ich davor ausgeführt

                                      node-gyp -v v5.0.3 ?

                                      M 1 Reply Last reply Reply Quote 0
                                      • M
                                        maik150 @sigi234 last edited by

                                        @sigi234 keine ahnung, was sagt dieser wert aus?

                                        sigi234 1 Reply Last reply Reply Quote 0
                                        • sigi234
                                          sigi234 Forum Testing Most Active @maik150 last edited by

                                          @maik150 sagte in [How-to] Node.js für ioBroker richtig updaten:

                                          @sigi234 keine ahnung, was sagt dieser wert aus?

                                          Was kommt bei:

                                          cd /opt/iobroker
                                          iobroker list instances
                                          node -v
                                          nodejs -v
                                          npm -v

                                          M 1 Reply Last reply Reply Quote 0
                                          • M
                                            maik150 @sigi234 last edited by

                                            @sigi234

                                            root@raspberrypi2:/opt/iobroker# iobroker list instances
                                            system.adapter.admin.0                 : admin       -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                                            system.adapter.cloud.0                 : cloud       -  enabled
                                            system.adapter.discovery.0             : discovery   -  enabled
                                            system.adapter.hm-rega.0               : hm-rega     -  enabled
                                            system.adapter.hm-rpc.0                : hm-rpc      -  enabled, port: 0
                                            system.adapter.info.0                  : info        -  enabled
                                            system.adapter.samsung.0               : samsung     - disabled
                                            root@raspberrypi2:/opt/iobroker#
                                            

                                            node -v
                                            v10.17.0

                                            nodejs -v
                                            v10.17.0

                                            npm -v
                                            v6.11.3

                                            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

                                            566
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            installation linux node node.js nodejs windows
                                            106
                                            1105
                                            679076
                                            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