Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Fehlermeldung bei Installation des iobroker

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Fehlermeldung bei Installation des iobroker

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

      Hallo,

      ich habe heute auf meinem Odroid C2 nodejs 6 installiert. Hierbei gab es keine Fehlermeldungen. Im Anschluss habe ich iobroker installiert. Der läuft, allerdings gab es bei der Installation ein paar Fehlermeldungen (zumindest sieht es für mich so aus)

      `install:yargs             â
      npm install iobroker.js-controller --production --prefix /opt/iobroker
      npm WARN deprecated letsencrypt@2.1.8: letsencrypt has been renamed to greenlock. Please find it at npm greenlock
      npm WARN deprecated localhost.daplie.com-certificates@1.2.5: Moved to localhost.daplie.me-certificates
      npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/package.json'
      npm WARN iobroker No description
      npm WARN iobroker No repository field.
      npm WARN iobroker No README data
      npm WARN iobroker No license field.
      npm install iobroker.admin --production --prefix /opt/iobroker
      sh: 0: getcwd() failed: No such file or directory
      path.js:424
          var path = (i >= 0) ? arguments[i] : process.cwd();
                                                       ^
      
      Error: ENOENT: no such file or directory, uv_cwd
          at Error (native)
          at Object.posix.resolve (path.js:424:50)
          at Function.Module._resolveLookupPaths (module.js:250:17)
          at Function.Module._resolveFilename (module.js:317:31)
          at Function.Module._load (module.js:277:25)
          at Module.require (module.js:354:17)
          at require (internal/module.js:12:17)
          at /opt/iobroker/node_modules/npm/bin/npm-cli.js:23:11
          at Object. <anonymous>(/opt/iobroker/node_modules/npm/bin/npm-cli.js:75:3)
          at Module._compile (module.js:410:26)
      Write "./iobroker start" to start the ioBroker
      sh: 0: getcwd() failed: No such file or directory
      shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
      sh: 0: getcwd() failed: No such file or directory
      insserv: pushd() can not change to directory /etc/init.d: No such file or directory
      update-rc.d: error: insserv rejected the script header
      chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
      Auto-start was enabled. Write "update-rc.d -f iobroker.sh remove" to disable auto-start
      iobroker is started. Go to "http://ip-addr:8081" to open the admin UI.
      install:yargs             â
      postinstall:decamelize â  â â¢ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
      postinstall:os-locale     â â¢ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
      /opt/iobroker
      ââ⬠iobroker@0.7.1
        ââ⬠yargs@4.8.1
          ââ⬠cliui@3.2.0
          â ââ⬠strip-ansi@3.0.1
          â â âââ ansi-regex@2.1.1
          â âââ wrap-ansi@2.1.0
          âââ decamelize@1.2.0
          âââ get-caller-file@1.0.2
          âââ lodash.assign@4.2.0
          ââ⬠os-locale@1.4.0
          â ââ⬠lcid@1.0.0
          â   âââ invert-kv@1.0.0
          ââ⬠read-pkg-up@1.0.1
          â ââ⬠find-up@1.1.2
          â â âââ path-exists@2.1.0
          â â ââ⬠pinkie-promise@2.0.1
          â â   âââ pinkie@2.0.4
          â ââ⬠read-pkg@1.1.0
          â   ââ⬠load-json-file@1.1.0
          â   â âââ graceful-fs@4.1.11
          â   â ââ⬠parse-json@2.2.0
          â   â â ââ⬠error-ex@1.3.0
          â   â â   âââ is-arrayish@0.2.1
          â   â âââ pify@2.3.0
          â   â ââ⬠strip-bom@2.0.0
          â   â   âââ is-utf8@0.2.1
          â   ââ⬠normalize-package-data@2.3.5
          â   â âââ hosted-git-info@2.2.0
          â   â ââ⬠is-builtin-module@1.0.0
          â   â â âââ builtin-modules@1.1.1
          â   â âââ semver@5.3.0
          â   â ââ⬠validate-npm-package-license@3.0.1
          â   â   ââ⬠spdx-correct@1.0.2
          â   â   â âââ spdx-license-ids@1.2.2
          â   â   âââ spdx-expression-parse@1.0.4
          â   âââ path-type@1.1.0
          âââ require-directory@2.1.1
          âââ require-main-filename@1.0.1
          âââ set-blocking@2.0.0
          ââ⬠string-width@1.0.2
          â âââ code-point-at@1.1.0
          â ââ⬠is-fullwidth-code-point@1.0.0
          â   âââ number-is-nan@1.0.1
          âââ which-module@1.0.0
          âââ window-size@0.2.0
          âââ y18n@3.2.1
          ââ⬠yargs-parser@2.4.1
            âââ camelcase@3.0.0
      
      npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/package.json'
      npm WARN iobroker No description
      runTopLevelLifecycles     â
      npm WARN iobroker No repository field.
      npm WARN iobroker No README data
      npm WARN iobroker No license field.
      root@odroid64:/opt/iobroker#</anonymous>` 
      
      Kann mir jemand sagen was die Meldungen zu bedeuten haben und ob ich an irgendeiner Stelle mit Problemen im iobroker zu rechnen habe? Wie gesagt, iobroker läuft und die ersten Adapter sind installiert. Bevor ich weitermache wollte ich mich aber erkundigen ob bei der Installation etwas "ernsthaft" schiefgelaufen ist.
      
      Gruß,
      
      jawr[/i]
      
      1 Reply Last reply Reply Quote 0
      • andre
        andre Developer last edited by

        @jawr:

        Hallo,

        ich habe heute auf meinem Odroid C2 nodejs 6 installiert. Hierbei gab es keine Fehlermeldungen. Im Anschluss habe ich iobroker installiert. Der läuft, allerdings gab es bei der Installation ein paar Fehlermeldungen (zumindest sieht es für mich so aus)

        `install:yargs             â
        npm install iobroker.js-controller --production --prefix /opt/iobroker
        npm WARN deprecated letsencrypt@2.1.8: letsencrypt has been renamed to greenlock. Please find it at npm greenlock
        npm WARN deprecated localhost.daplie.com-certificates@1.2.5: Moved to localhost.daplie.me-certificates
        npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/package.json'
        npm WARN iobroker No description
        npm WARN iobroker No repository field.
        npm WARN iobroker No README data
        npm WARN iobroker No license field.
        npm install iobroker.admin --production --prefix /opt/iobroker
        sh: 0: getcwd() failed: No such file or directory
        path.js:424
            var path = (i >= 0) ? arguments[i] : process.cwd();
                                                         ^
        
        Error: ENOENT: no such file or directory, uv_cwd
            at Error (native)
            at Object.posix.resolve (path.js:424:50)
            at Function.Module._resolveLookupPaths (module.js:250:17)
            at Function.Module._resolveFilename (module.js:317:31)
            at Function.Module._load (module.js:277:25)
            at Module.require (module.js:354:17)
            at require (internal/module.js:12:17)
            at /opt/iobroker/node_modules/npm/bin/npm-cli.js:23:11
            at Object. <anonymous>(/opt/iobroker/node_modules/npm/bin/npm-cli.js:75:3)
            at Module._compile (module.js:410:26)
        Write "./iobroker start" to start the ioBroker
        sh: 0: getcwd() failed: No such file or directory
        shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
        sh: 0: getcwd() failed: No such file or directory
        insserv: pushd() can not change to directory /etc/init.d: No such file or directory
        update-rc.d: error: insserv rejected the script header
        chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
        Auto-start was enabled. Write "update-rc.d -f iobroker.sh remove" to disable auto-start
        iobroker is started. Go to "http://ip-addr:8081" to open the admin UI.
        install:yargs             â
        postinstall:decamelize â  â â¢ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
        postinstall:os-locale     â â¢ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
        /opt/iobroker
        ââ⬠iobroker@0.7.1
          ââ⬠yargs@4.8.1
            ââ⬠cliui@3.2.0
            â ââ⬠strip-ansi@3.0.1
            â â âââ ansi-regex@2.1.1
            â âââ wrap-ansi@2.1.0
            âââ decamelize@1.2.0
            âââ get-caller-file@1.0.2
            âââ lodash.assign@4.2.0
            ââ⬠os-locale@1.4.0
            â ââ⬠lcid@1.0.0
            â   âââ invert-kv@1.0.0
            ââ⬠read-pkg-up@1.0.1
            â ââ⬠find-up@1.1.2
            â â âââ path-exists@2.1.0
            â â ââ⬠pinkie-promise@2.0.1
            â â   âââ pinkie@2.0.4
            â ââ⬠read-pkg@1.1.0
            â   ââ⬠load-json-file@1.1.0
            â   â âââ graceful-fs@4.1.11
            â   â ââ⬠parse-json@2.2.0
            â   â â ââ⬠error-ex@1.3.0
            â   â â   âââ is-arrayish@0.2.1
            â   â âââ pify@2.3.0
            â   â ââ⬠strip-bom@2.0.0
            â   â   âââ is-utf8@0.2.1
            â   ââ⬠normalize-package-data@2.3.5
            â   â âââ hosted-git-info@2.2.0
            â   â ââ⬠is-builtin-module@1.0.0
            â   â â âââ builtin-modules@1.1.1
            â   â âââ semver@5.3.0
            â   â ââ⬠validate-npm-package-license@3.0.1
            â   â   ââ⬠spdx-correct@1.0.2
            â   â   â âââ spdx-license-ids@1.2.2
            â   â   âââ spdx-expression-parse@1.0.4
            â   âââ path-type@1.1.0
            âââ require-directory@2.1.1
            âââ require-main-filename@1.0.1
            âââ set-blocking@2.0.0
            ââ⬠string-width@1.0.2
            â âââ code-point-at@1.1.0
            â ââ⬠is-fullwidth-code-point@1.0.0
            â   âââ number-is-nan@1.0.1
            âââ which-module@1.0.0
            âââ window-size@0.2.0
            âââ y18n@3.2.1
            ââ⬠yargs-parser@2.4.1
              âââ camelcase@3.0.0
        
        npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/package.json'
        npm WARN iobroker No description
        runTopLevelLifecycles     â
        npm WARN iobroker No repository field.
        npm WARN iobroker No README data
        npm WARN iobroker No license field.
        root@odroid64:/opt/iobroker#</anonymous>` 
        
        Kann mir jemand sagen was die Meldungen zu bedeuten haben und ob ich an irgendeiner Stelle mit Problemen im iobroker zu rechnen habe? Wie gesagt, iobroker läuft und die ersten Adapter sind installiert. Bevor ich weitermache wollte ich mich aber erkundigen ob bei der Installation etwas "ernsthaft" schiefgelaufen ist.
        
        Gruß,
        
        jawr
        
        Hallo,
        
        ich muss das hier nochmal raus holen, weil ich sonst irgendwie nichts finde. :)
        
        Ich habe eben auch mal versucht einen iobroker unter node 6 zu installieren (unter debian).
        `~~[code]~~root@iobroker_dev:/# node -v
        v6.10.3
        root@iobroker_dev:/# npm -v
        3.10.10[/code]`
        Dabei habe ich auch eine deiner npm-Warnmeldungen bekommen, undzwar diese hier:
        `~~[code]~~npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/package.json'
        [/code]`
        ioBroker läuft danach zwar, aber irgendwas scheint da ja nicht rund zu sein, oder?
        
        Kann das jemand aufklären? Würde gerne Node 6 zum Standard in meinem Docker-image machen, aber so ein bisschen Bauchgrummeln habe ich dabei schon... ;)
        
        MfG,
        
        André[/i]
        ``` ` 
        1 Reply Last reply Reply Quote 0
        • Homoran
          Homoran Global Moderator Administrators last edited by

          Dies ist keine Fehlermeldung!

          Um etwas genaues sagen zu können brauchen wir etwas mehr Infos

          Gruß

          Rainer

          1 Reply Last reply Reply Quote 0
          • andre
            andre Developer last edited by

            @Homoran:

            Dies ist keine Fehlermeldung!

            Um etwas genaues sagen zu können brauchen wir etwas mehr Infos

            Gruß

            Rainer `

            Hallo Rainer,

            alles wird gut. Mir ist bewusst dass es sich nicht um eine Fehlermeldung handelt, deshalb schrieb ich ja auch:
            @andre:

            Dabei habe ich auch eine deiner npm-Warnmeldungen bekommen, undzwar diese hier:

            npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/package.json'
            
            ```` `  
            

            Zur Vermeidung von doppelten Themen habe ich, als vorbildlicher Forenuser, zu allererst die Suchfunktion genutzt. 🙂 Dabei ist mir dieser, noch unbeantwortete Thread in die Hände gefallen. Da hier die selbe Warnmeldung beschrieben wird, habe ich mich mal dran gehängt.

            Leider bin ich weder Thread Starter noch Admin, sodass wohl einer von euch den Betreff ändern müsste…

            Was Informationen angeht, bitte einfach Fragen stellen. Ich liefere was ich kann, weiß aber nicht was zur Analyse noch notwendig ist. Aktuell stellt es sich so dar:

            Bei der installation von iobroker auf meinem debian testsystem mit Node 6 erscheint die ober genannte Warnmeldung. Im Installationslog sieht das dann so aus:

            Step 15 : RUN npm install iobroker --unsafe-perm && echo $(hostname) > .install_host
             ---> Running in 9186d78d959d
            
            > iobroker@1.0.0 install /opt/iobroker/node_modules/iobroker
            > node lib/setup.js
            
            npm install iobroker.discovery --production --prefix /opt/iobroker
            npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/package.json'
            npm WARN iobroker No description
            npm WARN iobroker No repository field.
            npm WARN iobroker No README data
            npm WARN iobroker No license field.
            npm install iobroker.admin --production --prefix /opt/iobroker
            npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/package.json'
            npm WARN iobroker No description
            npm WARN iobroker No repository field.
            npm WARN iobroker No README data
            npm WARN iobroker No license field.
            npm install iobroker.js-controller --production --prefix /opt/iobroker
            npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/package.json'
            npm WARN iobroker No description
            npm WARN iobroker No repository field.
            npm WARN iobroker No README data
            npm WARN iobroker No license field.
            Write "./iobroker start" to start the ioBroker
            : No such file or directory
            Auto-start was enabled. Write "update-rc.d -f iobroker.sh remove" to disable auto-start
            iobroker is started. Go to "http://ip-addr:8081" to open the admin UI.
            /opt/iobroker
            `-- iobroker@1.0.0
              `-- yargs@7.1.0
                +-- camelcase@3.0.0
                +-- cliui@3.2.0
                | +-- strip-ansi@3.0.1
                | | `-- ansi-regex@2.1.1
                | `-- wrap-ansi@2.1.0
                +-- decamelize@1.2.0
                +-- get-caller-file@1.0.2
                +-- os-locale@1.4.0
                | `-- lcid@1.0.0
                |   `-- invert-kv@1.0.0
                +-- read-pkg-up@1.0.1
                | +-- find-up@1.1.2
                | | +-- path-exists@2.1.0
                | | `-- pinkie-promise@2.0.1
                | |   `-- pinkie@2.0.4
                | `-- read-pkg@1.1.0
                |   +-- load-json-file@1.1.0
                |   | +-- graceful-fs@4.1.11
                |   | +-- parse-json@2.2.0
                |   | | `-- error-ex@1.3.1
                |   | |   `-- is-arrayish@0.2.1
                |   | +-- pify@2.3.0
                |   | `-- strip-bom@2.0.0
                |   |   `-- is-utf8@0.2.1
                |   +-- normalize-package-data@2.3.8
                |   | +-- hosted-git-info@2.4.2
                |   | +-- is-builtin-module@1.0.0
                |   | | `-- builtin-modules@1.1.1
                |   | +-- semver@5.3.0
                |   | `-- validate-npm-package-license@3.0.1
                |   |   +-- spdx-correct@1.0.2
                |   |   | `-- spdx-license-ids@1.2.2
                |   |   `-- spdx-expression-parse@1.0.4
                |   `-- path-type@1.1.0
                +-- require-directory@2.1.1
                +-- require-main-filename@1.0.1
                +-- set-blocking@2.0.0
                +-- string-width@1.0.2
                | +-- code-point-at@1.1.0
                | `-- is-fullwidth-code-point@1.0.0
                |   `-- number-is-nan@1.0.1
                +-- which-module@1.0.0
                +-- y18n@3.2.1
                `-- yargs-parser@5.0.0
            
            npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/package.json'
            npm WARN iobroker No description
            npm WARN iobroker No repository field.
            npm WARN iobroker No README data
            npm WARN iobroker No license field.
            
            

            Nicht wundern, dass ist ein Auszug aus meinem Docker Build Prozess, funktioniert aber wie eine Konsole (Daher das "STEP 15" am Anfang). Letztendlich wird schlicht````
            npm install iobroker --unsafe-perm

            
            Als ich gestern meinen Test-Pi mit Raspian und Node 6 neu aufgesetzt habe, hatte ich die selbe Warnmeldung…
            
            MfG,
            
            André
            1 Reply Last reply Reply Quote 0
            • Homoran
              Homoran Global Moderator Administrators last edited by

              Hallo André,

              Danke für den extended log 😄

              Ich sehe darin nichts besorgniserregendes.

              Die Installation findet einen Ordner nicht, läuft aber korrekt durch.

              Seit npm 3 hat sich die Ordnerstruktur geändert, mag sein, dass die Meldung daher rührt.

              Gruß

              Rainer

              1 Reply Last reply Reply Quote 0
              • F
                frank62 last edited by

                @Homoran:

                Die Installation findet einen Ordner nicht, läuft aber korrekt durch.

                Seit npm 3 hat sich die Ordnerstruktur geändert, mag sein, dass die Meldung daher rührt.

                Gruß

                Rainer `

                Weiss da jetzt jemand etwas genaueres?

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

                  Hallo und Willkommenim Forum!

                  könntest du deine Frage bitte etwas präzisieren

                  Gruß

                  Rainer

                  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

                  652
                  Online

                  32.0k
                  Users

                  80.4k
                  Topics

                  1.3m
                  Posts

                  4
                  7
                  3033
                  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