Weiter zum Inhalt
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Hell
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dunkel
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. ZigBee Adapter auf 1.6.18 läßt sich nicht installieren

NEWS

  • Neues YouTube-Video: Visualisierung im Devices-Adapter
    BluefoxB
    Bluefox
    8
    1
    199

  • Neuer ioBroker-Blog online: Monatsrückblick März/April 2026
    BluefoxB
    Bluefox
    8
    1
    1.8k

  • Verwendung von KI bitte immer deutlich kennzeichnen
    HomoranH
    Homoran
    11
    1
    767

ZigBee Adapter auf 1.6.18 läßt sich nicht installieren

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
40 Beiträge 2 Kommentatoren 1.4k Aufrufe 2 Beobachtet
  • Ä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.
  • Z Zimbl

    Hallo alle zusammen,

    ich versuche meinen ZigBee Adapter auf die Version 1.6.18 upgraden....aber leider ohne Erfolg.

    $ iobroker upgrade zigbee@1.6.18
    Update zigbee from @1.6.16 to @1.6.18
    NPM version: 8.3.1Installing iobroker.zigbee@1.6.18... (System call)
    host.iobroker-pi Cannot install iobroker.zigbee@1.6.18: 217
    ERROR: Process exited with code 25

    woran kann es liegen ?

    Vielen Dank für eure Hilfe.

    Grüße
    Z

    Thomas BraunT Online
    Thomas BraunT Online
    Thomas Braun
    Most Active
    schrieb am zuletzt editiert von Thomas Braun
    #2

    @zimbl

    cd /opt/iobroker 
    npm ls --depth=0 | grep ERR
    

    anschauen. Ausgaben in CodeTags eingebettet bekannt geben.

    NPM version: 8.3.1 schaut aber schon schräg aus.
    nodejs-Installation prüfen:

    sudo ln -s /usr/bin/node /usr/bin/nodejs
    uname -m && which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
    

    Linux-Werkzeugkasten:
    https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
    NodeJS Fixer Skript:
    https://forum.iobroker.net/topic/68035/iob-node-fix-skript
    iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

    Z 2 Antworten Letzte Antwort
    0
    • Thomas BraunT Thomas Braun

      @zimbl

      cd /opt/iobroker 
      npm ls --depth=0 | grep ERR
      

      anschauen. Ausgaben in CodeTags eingebettet bekannt geben.

      NPM version: 8.3.1 schaut aber schon schräg aus.
      nodejs-Installation prüfen:

      sudo ln -s /usr/bin/node /usr/bin/nodejs
      uname -m && which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
      
      Z Offline
      Z Offline
      Zimbl
      schrieb am zuletzt editiert von
      #3

      @thomas-braun said in ZigBee Adapter auf 1.6.18 läßt sich nicht installieren:

      cd /opt/iobroker
      npm ls --depth=0 | grep ERR

      npm ERR! code ELSPROBLEMS
      npm ERR! invalid: iobroker.fullybrowser@2.1.1 /opt/iobroker/node_modules/iobroker.fullybrowser
      npm ERR! invalid: iobroker.hm-rpc@1.15.12 /opt/iobroker/node_modules/iobroker.hm-rpc
      npm ERR! extraneous: pidtree@0.5.0 /opt/iobroker/node_modules/pidtree

      npm ERR! A complete log of this run can be found in:
      npm ERR! /home/iobroker/.npm/_logs/2022-05-12T11_21_42_803Z-debug-0.log

      wieso schaut das Schräg aus ?

      Thomas BraunT 1 Antwort Letzte Antwort
      0
      • Z Zimbl

        @thomas-braun said in ZigBee Adapter auf 1.6.18 läßt sich nicht installieren:

        cd /opt/iobroker
        npm ls --depth=0 | grep ERR

        npm ERR! code ELSPROBLEMS
        npm ERR! invalid: iobroker.fullybrowser@2.1.1 /opt/iobroker/node_modules/iobroker.fullybrowser
        npm ERR! invalid: iobroker.hm-rpc@1.15.12 /opt/iobroker/node_modules/iobroker.hm-rpc
        npm ERR! extraneous: pidtree@0.5.0 /opt/iobroker/node_modules/pidtree

        npm ERR! A complete log of this run can be found in:
        npm ERR! /home/iobroker/.npm/_logs/2022-05-12T11_21_42_803Z-debug-0.log

        wieso schaut das Schräg aus ?

        Thomas BraunT Online
        Thomas BraunT Online
        Thomas Braun
        Most Active
        schrieb am zuletzt editiert von
        #4

        @zimbl sagte in ZigBee Adapter auf 1.6.18 läßt sich nicht installieren:

        wieso schaut das Schräg aus ?

        Könnte ich dir sagen, wenn du mit den angefragten Informationen aufwarten würdest.

        Bitte CodeTags verwenden. Danke.

        Linux-Werkzeugkasten:
        https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
        NodeJS Fixer Skript:
        https://forum.iobroker.net/topic/68035/iob-node-fix-skript
        iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

        1 Antwort Letzte Antwort
        0
        • Thomas BraunT Thomas Braun

          @zimbl

          cd /opt/iobroker 
          npm ls --depth=0 | grep ERR
          

          anschauen. Ausgaben in CodeTags eingebettet bekannt geben.

          NPM version: 8.3.1 schaut aber schon schräg aus.
          nodejs-Installation prüfen:

          sudo ln -s /usr/bin/node /usr/bin/nodejs
          uname -m && which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
          
          Z Offline
          Z Offline
          Zimbl
          schrieb am zuletzt editiert von
          #5

          @thomas-braun said in ZigBee Adapter auf 1.6.18 läßt sich nicht installieren:

          sudo ln -s /usr/bin/node /usr/bin/nodejs

          iobroker@iobroker-pi:/opt/iobroker $ sudo ln -s /usr/bin/node /usr/bin/nodejs
          [sudo] password for iobroker:
          ln: failed to create symbolic link '/usr/bin/nodejs': File exists

          iobroker@iobroker-pi:/opt/iobroker $ uname -m && which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
          armv7l
          /usr/bin/nodejs
          /usr/local/bin/node
          /usr/local/bin/npm
          v12.22.12
          v16.14.0
          8.3.1
          iobroker
          /opt/iobroker
          Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
          Hit:2 http://archive.raspberrypi.org/debian buster InRelease
          Hit:3 https://deb.nodesource.com/node_12.x buster InRelease
          Reading package lists... Done
          Building dependency tree
          Reading state information... Done
          4 packages can be upgraded. Run 'apt list --upgradable' to see them.
          nodejs:
          Installed: 12.22.12-deb-1nodesource1
          Candidate: 12.22.12-deb-1nodesource1
          Version table:
          *** 12.22.12-deb-1nodesource1 500
          500 https://deb.nodesource.com/node_12.x buster/main armhf Packages
          100 /var/lib/dpkg/status
          10.24.0~dfsg-1~deb10u1 500
          500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages

          Habe Zigbee jetzt deinstalliert und dann konnte ich die neue Version installieren...

          Aber dennoch meintest du ja, das da dennoch was merkwürdig ist...

          Thomas BraunT 1 Antwort Letzte Antwort
          0
          • Z Zimbl

            @thomas-braun said in ZigBee Adapter auf 1.6.18 läßt sich nicht installieren:

            sudo ln -s /usr/bin/node /usr/bin/nodejs

            iobroker@iobroker-pi:/opt/iobroker $ sudo ln -s /usr/bin/node /usr/bin/nodejs
            [sudo] password for iobroker:
            ln: failed to create symbolic link '/usr/bin/nodejs': File exists

            iobroker@iobroker-pi:/opt/iobroker $ uname -m && which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
            armv7l
            /usr/bin/nodejs
            /usr/local/bin/node
            /usr/local/bin/npm
            v12.22.12
            v16.14.0
            8.3.1
            iobroker
            /opt/iobroker
            Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
            Hit:2 http://archive.raspberrypi.org/debian buster InRelease
            Hit:3 https://deb.nodesource.com/node_12.x buster InRelease
            Reading package lists... Done
            Building dependency tree
            Reading state information... Done
            4 packages can be upgraded. Run 'apt list --upgradable' to see them.
            nodejs:
            Installed: 12.22.12-deb-1nodesource1
            Candidate: 12.22.12-deb-1nodesource1
            Version table:
            *** 12.22.12-deb-1nodesource1 500
            500 https://deb.nodesource.com/node_12.x buster/main armhf Packages
            100 /var/lib/dpkg/status
            10.24.0~dfsg-1~deb10u1 500
            500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages

            Habe Zigbee jetzt deinstalliert und dann konnte ich die neue Version installieren...

            Aber dennoch meintest du ja, das da dennoch was merkwürdig ist...

            Thomas BraunT Online
            Thomas BraunT Online
            Thomas Braun
            Most Active
            schrieb am zuletzt editiert von Thomas Braun
            #6

            @zimbl sagte in ZigBee Adapter auf 1.6.18 läßt sich nicht installieren:

            /usr/bin/nodejs
            /usr/local/bin/node
            /usr/local/bin/npm
            v12.22.12
            v16.14.0
            8.3.1
            

            Schräg installiert. Schau in meiner Signatur wie man das gerade rückt.

            Linux-Werkzeugkasten:
            https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
            NodeJS Fixer Skript:
            https://forum.iobroker.net/topic/68035/iob-node-fix-skript
            iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

            Z 1 Antwort Letzte Antwort
            0
            • Thomas BraunT Thomas Braun

              @zimbl sagte in ZigBee Adapter auf 1.6.18 läßt sich nicht installieren:

              /usr/bin/nodejs
              /usr/local/bin/node
              /usr/local/bin/npm
              v12.22.12
              v16.14.0
              8.3.1
              

              Schräg installiert. Schau in meiner Signatur wie man das gerade rückt.

              Z Offline
              Z Offline
              Zimbl
              schrieb am zuletzt editiert von
              #7

              @thomas-braun

              ok danke, werde mir das mal anschauen....

              Z 1 Antwort Letzte Antwort
              0
              • Z Zimbl

                @thomas-braun

                ok danke, werde mir das mal anschauen....

                Z Offline
                Z Offline
                Zimbl
                schrieb am zuletzt editiert von
                #8

                so ich habe nun 8.10.0 drauf...

                aber dennoch bekomme ich auch den ZigBee Adapter nicht gelöscht...

                $ iobroker del zigbee
                Delete adapter "zigbee"
                host.iobroker-pi Counted 2 instances of zigbee
                host.iobroker-pi Counted 1 meta of zigbee
                host.iobroker-pi Counted 1 adapter for zigbee
                host.iobroker-pi Counted 4 channels of zigbee
                host.iobroker-pi Counted 12 states of zigbee
                host.iobroker-pi Counted 28 states of system.adapter.zigbee
                host.iobroker-pi Counted 12 states (io.zigbee.) from states
                host.iobroker-pi Counted 7 states (system.adapter.zigbee.
                ) from states
                host.iobroker-pi file zigbee.admin deleted
                host.iobroker-pi object zigbee deleted
                host.iobroker-pi object zigbee.admin deletedhost.iobroker-pi Deleting 48 object(s).
                host.iobroker-pi Deleting 19 state(s).
                Error deleting adapter zigbee from disk: host.iobroker-pi: Cannot uninstall iobroker.zigbee: 217
                You might have to delete it yourself!
                Process exited with code 0

                Was muss ich machen, um den Zigbee Adapter kompl. zu löschen ?
                Damit ich den neuen vernünftig installieren kann...???!!!!

                Thomas BraunT 1 Antwort Letzte Antwort
                0
                • Z Zimbl

                  so ich habe nun 8.10.0 drauf...

                  aber dennoch bekomme ich auch den ZigBee Adapter nicht gelöscht...

                  $ iobroker del zigbee
                  Delete adapter "zigbee"
                  host.iobroker-pi Counted 2 instances of zigbee
                  host.iobroker-pi Counted 1 meta of zigbee
                  host.iobroker-pi Counted 1 adapter for zigbee
                  host.iobroker-pi Counted 4 channels of zigbee
                  host.iobroker-pi Counted 12 states of zigbee
                  host.iobroker-pi Counted 28 states of system.adapter.zigbee
                  host.iobroker-pi Counted 12 states (io.zigbee.) from states
                  host.iobroker-pi Counted 7 states (system.adapter.zigbee.
                  ) from states
                  host.iobroker-pi file zigbee.admin deleted
                  host.iobroker-pi object zigbee deleted
                  host.iobroker-pi object zigbee.admin deletedhost.iobroker-pi Deleting 48 object(s).
                  host.iobroker-pi Deleting 19 state(s).
                  Error deleting adapter zigbee from disk: host.iobroker-pi: Cannot uninstall iobroker.zigbee: 217
                  You might have to delete it yourself!
                  Process exited with code 0

                  Was muss ich machen, um den Zigbee Adapter kompl. zu löschen ?
                  Damit ich den neuen vernünftig installieren kann...???!!!!

                  Thomas BraunT Online
                  Thomas BraunT Online
                  Thomas Braun
                  Most Active
                  schrieb am zuletzt editiert von
                  #9

                  @zimbl sagte in ZigBee Adapter auf 1.6.18 läßt sich nicht installieren:

                  so ich habe nun 8.10.0 drauf...

                  Das sagt gar nix aus.

                  uname -m && which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                  

                  sagt? Bitte CodeTags verwenden.

                  Linux-Werkzeugkasten:
                  https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                  NodeJS Fixer Skript:
                  https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                  iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                  Z 1 Antwort Letzte Antwort
                  0
                  • Thomas BraunT Thomas Braun

                    @zimbl sagte in ZigBee Adapter auf 1.6.18 läßt sich nicht installieren:

                    so ich habe nun 8.10.0 drauf...

                    Das sagt gar nix aus.

                    uname -m && which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                    

                    sagt? Bitte CodeTags verwenden.

                    Z Offline
                    Z Offline
                    Zimbl
                    schrieb am zuletzt editiert von
                    #10

                    @thomas-braun said in ZigBee Adapter auf 1.6.18 läßt sich nicht installieren:

                    uname -m && which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs

                    iobroker@iobroker-pi:~ $ iobroker@iobroker-pi:~ $ iobroker@iobroker-pi:/opt $ uname -m && which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                    -bash: iobroker@iobroker-pi:/opt: No such file or directory
                    iobroker@iobroker-pi:~ $ armv7l
                    -bash: armv7l: command not found
                    iobroker@iobroker-pi:~ $ /usr/local/bin/node
                    Welcome to Node.js v16.14.0.
                    Type ".help" for more information.
                    > /usr/local/bin/npm
                    /usr/local/bin/npm
                    ^
                    
                    Uncaught SyntaxError: Invalid regular expression flags
                    >
                    -bash: iobroker@iobroker-pi:~: command not found
                    iobroker@iobroker-pi:~ $ -bash: iobroker@iobroker-pi:/opt: No such file or directory
                    -bash: -bash:: command not found
                    iobroker@iobroker-pi:~ $ iobroker@iobroker-pi:~ $ armv7l
                    -bash: iobroker@iobroker-pi:~: command not found
                    iobroker@iobroker-pi:~ $ -bash: armv7l: command not found
                    -bash: -bash:: command not found
                    iobroker@iobroker-pi:~ $ iobroker@iobroker-pi:~ $ /usr/local/bin/node
                    -bash: iobroker@iobroker-pi:~: command not found
                    iobroker@iobroker-pi:~ $ Welcome to Node.js v16.14.0.
                    -bash: Welcome: command not found
                    iobroker@iobroker-pi:~ $ Type ".help" for more information.
                    -bash: Type: command not found
                    iobroker@iobroker-pi:~ $ > /usr/local/bin/npm
                    -bash: /usr/local/bin/npm: Permission denied
                    iobroker@iobroker-pi:~ $ /usr/local/bin/npm
                    npm <command>
                    
                    Usage:
                    
                    npm install        install all the dependencies in your project
                    npm install <foo>  add the <foo> dependency to your project
                    npm test           run this project's tests
                    npm run <foo>      run the script named <foo>
                    npm <command> -h   quick help on <command>
                    npm -l             display usage info for all commands
                    npm help <term>    search for help on <term>
                    npm help npm       more involved overview
                    
                    All commands:
                    
                        access, adduser, audit, bin, bugs, cache, ci, completion,
                        config, dedupe, deprecate, diff, dist-tag, docs, doctor,
                        edit, exec, explain, explore, find-dupes, fund, get, help,
                        hook, init, install, install-ci-test, install-test, link,
                        ll, login, logout, ls, org, outdated, owner, pack, ping,
                        pkg, prefix, profile, prune, publish, rebuild, repo,
                        restart, root, run-script, search, set, set-script,
                        shrinkwrap, star, stars, start, stop, team, test, token,
                        uninstall, unpublish, unstar, update, version, view, whoami
                    
                    Specify configs in the ini-formatted file:
                        /home/iobroker/.npmrc
                    or on the command line via: npm <command> --key=value
                    
                    More configuration info: npm help config
                    Configuration fields: npm help 7 config
                    
                    npm@8.10.0 /usr/local/lib/node_modules/npm
                    iobroker@iobroker-pi:~ $ ^
                    -bash: :s^: no previous substitution
                    iobroker@iobroker-pi:~ $
                    iobroker@iobroker-pi:~ $ Uncaught SyntaxError: Invalid regular expression flags
                    -bash: Uncaught: command not found
                    iobroker@iobroker-pi:~ $ >
                    -bash: syntax error near unexpected token `newline'
                    iobroker@iobroker-pi:~ $
                    
                    
                    Z Thomas BraunT 2 Antworten Letzte Antwort
                    0
                    • Z Zimbl

                      @thomas-braun said in ZigBee Adapter auf 1.6.18 läßt sich nicht installieren:

                      uname -m && which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs

                      iobroker@iobroker-pi:~ $ iobroker@iobroker-pi:~ $ iobroker@iobroker-pi:/opt $ uname -m && which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                      -bash: iobroker@iobroker-pi:/opt: No such file or directory
                      iobroker@iobroker-pi:~ $ armv7l
                      -bash: armv7l: command not found
                      iobroker@iobroker-pi:~ $ /usr/local/bin/node
                      Welcome to Node.js v16.14.0.
                      Type ".help" for more information.
                      > /usr/local/bin/npm
                      /usr/local/bin/npm
                      ^
                      
                      Uncaught SyntaxError: Invalid regular expression flags
                      >
                      -bash: iobroker@iobroker-pi:~: command not found
                      iobroker@iobroker-pi:~ $ -bash: iobroker@iobroker-pi:/opt: No such file or directory
                      -bash: -bash:: command not found
                      iobroker@iobroker-pi:~ $ iobroker@iobroker-pi:~ $ armv7l
                      -bash: iobroker@iobroker-pi:~: command not found
                      iobroker@iobroker-pi:~ $ -bash: armv7l: command not found
                      -bash: -bash:: command not found
                      iobroker@iobroker-pi:~ $ iobroker@iobroker-pi:~ $ /usr/local/bin/node
                      -bash: iobroker@iobroker-pi:~: command not found
                      iobroker@iobroker-pi:~ $ Welcome to Node.js v16.14.0.
                      -bash: Welcome: command not found
                      iobroker@iobroker-pi:~ $ Type ".help" for more information.
                      -bash: Type: command not found
                      iobroker@iobroker-pi:~ $ > /usr/local/bin/npm
                      -bash: /usr/local/bin/npm: Permission denied
                      iobroker@iobroker-pi:~ $ /usr/local/bin/npm
                      npm <command>
                      
                      Usage:
                      
                      npm install        install all the dependencies in your project
                      npm install <foo>  add the <foo> dependency to your project
                      npm test           run this project's tests
                      npm run <foo>      run the script named <foo>
                      npm <command> -h   quick help on <command>
                      npm -l             display usage info for all commands
                      npm help <term>    search for help on <term>
                      npm help npm       more involved overview
                      
                      All commands:
                      
                          access, adduser, audit, bin, bugs, cache, ci, completion,
                          config, dedupe, deprecate, diff, dist-tag, docs, doctor,
                          edit, exec, explain, explore, find-dupes, fund, get, help,
                          hook, init, install, install-ci-test, install-test, link,
                          ll, login, logout, ls, org, outdated, owner, pack, ping,
                          pkg, prefix, profile, prune, publish, rebuild, repo,
                          restart, root, run-script, search, set, set-script,
                          shrinkwrap, star, stars, start, stop, team, test, token,
                          uninstall, unpublish, unstar, update, version, view, whoami
                      
                      Specify configs in the ini-formatted file:
                          /home/iobroker/.npmrc
                      or on the command line via: npm <command> --key=value
                      
                      More configuration info: npm help config
                      Configuration fields: npm help 7 config
                      
                      npm@8.10.0 /usr/local/lib/node_modules/npm
                      iobroker@iobroker-pi:~ $ ^
                      -bash: :s^: no previous substitution
                      iobroker@iobroker-pi:~ $
                      iobroker@iobroker-pi:~ $ Uncaught SyntaxError: Invalid regular expression flags
                      -bash: Uncaught: command not found
                      iobroker@iobroker-pi:~ $ >
                      -bash: syntax error near unexpected token `newline'
                      iobroker@iobroker-pi:~ $
                      
                      
                      Z Offline
                      Z Offline
                      Zimbl
                      schrieb am zuletzt editiert von
                      #11

                      irgendwie bekomme ich mittlerweile überhaupt keinen Adapter mehr vernünftig installiert...

                      aber vielleicht siehst du schon den Fehler

                      Z 1 Antwort Letzte Antwort
                      0
                      • Z Zimbl

                        @thomas-braun said in ZigBee Adapter auf 1.6.18 läßt sich nicht installieren:

                        uname -m && which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs

                        iobroker@iobroker-pi:~ $ iobroker@iobroker-pi:~ $ iobroker@iobroker-pi:/opt $ uname -m && which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                        -bash: iobroker@iobroker-pi:/opt: No such file or directory
                        iobroker@iobroker-pi:~ $ armv7l
                        -bash: armv7l: command not found
                        iobroker@iobroker-pi:~ $ /usr/local/bin/node
                        Welcome to Node.js v16.14.0.
                        Type ".help" for more information.
                        > /usr/local/bin/npm
                        /usr/local/bin/npm
                        ^
                        
                        Uncaught SyntaxError: Invalid regular expression flags
                        >
                        -bash: iobroker@iobroker-pi:~: command not found
                        iobroker@iobroker-pi:~ $ -bash: iobroker@iobroker-pi:/opt: No such file or directory
                        -bash: -bash:: command not found
                        iobroker@iobroker-pi:~ $ iobroker@iobroker-pi:~ $ armv7l
                        -bash: iobroker@iobroker-pi:~: command not found
                        iobroker@iobroker-pi:~ $ -bash: armv7l: command not found
                        -bash: -bash:: command not found
                        iobroker@iobroker-pi:~ $ iobroker@iobroker-pi:~ $ /usr/local/bin/node
                        -bash: iobroker@iobroker-pi:~: command not found
                        iobroker@iobroker-pi:~ $ Welcome to Node.js v16.14.0.
                        -bash: Welcome: command not found
                        iobroker@iobroker-pi:~ $ Type ".help" for more information.
                        -bash: Type: command not found
                        iobroker@iobroker-pi:~ $ > /usr/local/bin/npm
                        -bash: /usr/local/bin/npm: Permission denied
                        iobroker@iobroker-pi:~ $ /usr/local/bin/npm
                        npm <command>
                        
                        Usage:
                        
                        npm install        install all the dependencies in your project
                        npm install <foo>  add the <foo> dependency to your project
                        npm test           run this project's tests
                        npm run <foo>      run the script named <foo>
                        npm <command> -h   quick help on <command>
                        npm -l             display usage info for all commands
                        npm help <term>    search for help on <term>
                        npm help npm       more involved overview
                        
                        All commands:
                        
                            access, adduser, audit, bin, bugs, cache, ci, completion,
                            config, dedupe, deprecate, diff, dist-tag, docs, doctor,
                            edit, exec, explain, explore, find-dupes, fund, get, help,
                            hook, init, install, install-ci-test, install-test, link,
                            ll, login, logout, ls, org, outdated, owner, pack, ping,
                            pkg, prefix, profile, prune, publish, rebuild, repo,
                            restart, root, run-script, search, set, set-script,
                            shrinkwrap, star, stars, start, stop, team, test, token,
                            uninstall, unpublish, unstar, update, version, view, whoami
                        
                        Specify configs in the ini-formatted file:
                            /home/iobroker/.npmrc
                        or on the command line via: npm <command> --key=value
                        
                        More configuration info: npm help config
                        Configuration fields: npm help 7 config
                        
                        npm@8.10.0 /usr/local/lib/node_modules/npm
                        iobroker@iobroker-pi:~ $ ^
                        -bash: :s^: no previous substitution
                        iobroker@iobroker-pi:~ $
                        iobroker@iobroker-pi:~ $ Uncaught SyntaxError: Invalid regular expression flags
                        -bash: Uncaught: command not found
                        iobroker@iobroker-pi:~ $ >
                        -bash: syntax error near unexpected token `newline'
                        iobroker@iobroker-pi:~ $
                        
                        
                        Thomas BraunT Online
                        Thomas BraunT Online
                        Thomas Braun
                        Most Active
                        schrieb am zuletzt editiert von
                        #12

                        @zimbl

                        Vorallendingen sehe ich da wild in die Konsole geklatsches Zeug.

                        Machs nochmal, diesmal übersichtlich.

                        Linux-Werkzeugkasten:
                        https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                        NodeJS Fixer Skript:
                        https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                        iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                        1 Antwort Letzte Antwort
                        0
                        • Z Zimbl

                          irgendwie bekomme ich mittlerweile überhaupt keinen Adapter mehr vernünftig installiert...

                          aber vielleicht siehst du schon den Fehler

                          Z Offline
                          Z Offline
                          Zimbl
                          schrieb am zuletzt editiert von Zimbl
                          #13
                          
                          iobroker@iobroker-pi:~ $ uname -m && which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                          armv7l
                          /usr/local/bin/node
                          /usr/local/bin/npm
                          iobroker@iobroker-pi:~ $
                          
                          
                          Thomas BraunT 1 Antwort Letzte Antwort
                          0
                          • Z Zimbl
                            
                            iobroker@iobroker-pi:~ $ uname -m && which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                            armv7l
                            /usr/local/bin/node
                            /usr/local/bin/npm
                            iobroker@iobroker-pi:~ $
                            
                            
                            Thomas BraunT Online
                            Thomas BraunT Online
                            Thomas Braun
                            Most Active
                            schrieb am zuletzt editiert von
                            #14

                            @zimbl

                            Das ist immer noch krumm und schief.

                            Linux-Werkzeugkasten:
                            https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                            NodeJS Fixer Skript:
                            https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                            iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                            Z 1 Antwort Letzte Antwort
                            0
                            • Thomas BraunT Thomas Braun

                              @zimbl

                              Das ist immer noch krumm und schief.

                              Z Offline
                              Z Offline
                              Zimbl
                              schrieb am zuletzt editiert von
                              #15

                              @thomas-braun

                              besser ?

                              iobroker@iobroker-pi:~ $ uname -m && which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                              armv7l
                              /usr/bin/nodejs
                              /usr/local/bin/node
                              /usr/local/bin/npm
                              v14.19.2
                              v16.14.0
                              8.10.0
                              iobroker
                              /home/iobroker
                              Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
                              Hit:2 http://archive.raspberrypi.org/debian buster InRelease
                              Hit:3 https://deb.nodesource.com/node_12.x bullseye InRelease
                              Hit:4 https://deb.nodesource.com/node_14.x bullseye InRelease
                              Reading package lists... Done
                              Building dependency tree
                              Reading state information... Done
                              All packages are up to date.
                              nodejs:
                                Installed: 14.19.2-deb-1nodesource1
                                Candidate: 14.19.2-deb-1nodesource1
                                Version table:
                               *** 14.19.2-deb-1nodesource1 500
                                      500 https://deb.nodesource.com/node_14.x bullseye/main armhf Packages
                                      100 /var/lib/dpkg/status
                                   12.22.12-deb-1nodesource1 500
                                      500 https://deb.nodesource.com/node_12.x bullseye/main armhf Packages
                                   10.24.0~dfsg-1~deb10u1 500
                                      500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                              iobroker@iobroker-pi:~ $
                              
                              
                              Thomas BraunT 1 Antwort Letzte Antwort
                              0
                              • Z Zimbl

                                @thomas-braun

                                besser ?

                                iobroker@iobroker-pi:~ $ uname -m && which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                                armv7l
                                /usr/bin/nodejs
                                /usr/local/bin/node
                                /usr/local/bin/npm
                                v14.19.2
                                v16.14.0
                                8.10.0
                                iobroker
                                /home/iobroker
                                Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
                                Hit:2 http://archive.raspberrypi.org/debian buster InRelease
                                Hit:3 https://deb.nodesource.com/node_12.x bullseye InRelease
                                Hit:4 https://deb.nodesource.com/node_14.x bullseye InRelease
                                Reading package lists... Done
                                Building dependency tree
                                Reading state information... Done
                                All packages are up to date.
                                nodejs:
                                  Installed: 14.19.2-deb-1nodesource1
                                  Candidate: 14.19.2-deb-1nodesource1
                                  Version table:
                                 *** 14.19.2-deb-1nodesource1 500
                                        500 https://deb.nodesource.com/node_14.x bullseye/main armhf Packages
                                        100 /var/lib/dpkg/status
                                     12.22.12-deb-1nodesource1 500
                                        500 https://deb.nodesource.com/node_12.x bullseye/main armhf Packages
                                     10.24.0~dfsg-1~deb10u1 500
                                        500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                                iobroker@iobroker-pi:~ $
                                
                                
                                Thomas BraunT Online
                                Thomas BraunT Online
                                Thomas Braun
                                Most Active
                                schrieb am zuletzt editiert von Thomas Braun
                                #16

                                @zimbl
                                Nein.
                                Hast du meine Anleitung gelesen? Auch den zweiten Teil, wo es um die falschen Pfade geht?

                                Und dein nodesource-Repo verweist auf Bullseye, du fährst aber wohl Buster da. Das ist falsch, muss auch korrigiert werden.

                                Linux-Werkzeugkasten:
                                https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                NodeJS Fixer Skript:
                                https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                Z 1 Antwort Letzte Antwort
                                0
                                • Thomas BraunT Thomas Braun

                                  @zimbl
                                  Nein.
                                  Hast du meine Anleitung gelesen? Auch den zweiten Teil, wo es um die falschen Pfade geht?

                                  Und dein nodesource-Repo verweist auf Bullseye, du fährst aber wohl Buster da. Das ist falsch, muss auch korrigiert werden.

                                  Z Offline
                                  Z Offline
                                  Zimbl
                                  schrieb am zuletzt editiert von
                                  #17

                                  @thomas-braun

                                  ich stehe jetzt gerade auf der Leitung...

                                  Also den Fix habe ich nun auch mal laufen lassen...

                                  was müsste ich jetzt machen ?

                                  Vielen Dank Thomas das du dir so eine Mühe dir mit mir gibst...

                                  Thomas BraunT 1 Antwort Letzte Antwort
                                  0
                                  • Z Zimbl

                                    @thomas-braun

                                    ich stehe jetzt gerade auf der Leitung...

                                    Also den Fix habe ich nun auch mal laufen lassen...

                                    was müsste ich jetzt machen ?

                                    Vielen Dank Thomas das du dir so eine Mühe dir mit mir gibst...

                                    Thomas BraunT Online
                                    Thomas BraunT Online
                                    Thomas Braun
                                    Most Active
                                    schrieb am zuletzt editiert von Thomas Braun
                                    #18

                                    @zimbl

                                    Du musst node und npm aus den falschen Pfaden löschen und bullseye durch buster in den .list-Dateien ersetzen. Dann einmal ausloggen und wieder einloggen.

                                    sudo rm /usr/local/bin/node
                                    sudo rm /usr/local/bin/npm
                                    sudo sed -i 's/bullseye/buster/g' /etc/apt/sources.list.d/*
                                    exit
                                    

                                    iobroker ist im Übrigen ein ungeschickter username, der ist eigentlich schon für einen Systemuser vorgesehen.

                                    STOP:

                                    Das muss natürlich

                                    sudo sed -i 's/bullseye/buster/g' /etc/apt/sources.list.d/*
                                    

                                    lauten.

                                    Linux-Werkzeugkasten:
                                    https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                    NodeJS Fixer Skript:
                                    https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                    iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                    Z 2 Antworten Letzte Antwort
                                    0
                                    • Thomas BraunT Thomas Braun

                                      @zimbl

                                      Du musst node und npm aus den falschen Pfaden löschen und bullseye durch buster in den .list-Dateien ersetzen. Dann einmal ausloggen und wieder einloggen.

                                      sudo rm /usr/local/bin/node
                                      sudo rm /usr/local/bin/npm
                                      sudo sed -i 's/bullseye/buster/g' /etc/apt/sources.list.d/*
                                      exit
                                      

                                      iobroker ist im Übrigen ein ungeschickter username, der ist eigentlich schon für einen Systemuser vorgesehen.

                                      STOP:

                                      Das muss natürlich

                                      sudo sed -i 's/bullseye/buster/g' /etc/apt/sources.list.d/*
                                      

                                      lauten.

                                      Z Offline
                                      Z Offline
                                      Zimbl
                                      schrieb am zuletzt editiert von
                                      #19

                                      @thomas-braun

                                      ja das mit dem username ändere ich noch ab...beginne ja mehr oder weniger erst...

                                      so nun schaut es so aus :

                                      iobroker@iobroker-pi:~ $ uname -m && which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                                      armv7l
                                      /usr/bin/nodejs
                                      /usr/bin/node
                                      /usr/bin/npm
                                      v14.19.2
                                      v14.19.2
                                      6.14.17
                                      iobroker
                                      /home/iobroker
                                      Hit:1 http://archive.raspberrypi.org/debian buster InRelease
                                      Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
                                      Hit:3 https://deb.nodesource.com/node_12.x buster InRelease
                                      Hit:4 https://deb.nodesource.com/node_14.x buster InRelease
                                      Reading package lists... Done
                                      Building dependency tree
                                      Reading state information... Done
                                      All packages are up to date.
                                      nodejs:
                                        Installed: 14.19.2-deb-1nodesource1
                                        Candidate: 14.19.2-deb-1nodesource1
                                        Version table:
                                       *** 14.19.2-deb-1nodesource1 500
                                              500 https://deb.nodesource.com/node_14.x buster/main armhf Packages
                                              100 /var/lib/dpkg/status
                                           12.22.12-deb-1nodesource1 500
                                              500 https://deb.nodesource.com/node_12.x buster/main armhf Packages
                                           10.24.0~dfsg-1~deb10u1 500
                                              500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                                      iobroker@iobroker-pi:~ $
                                      
                                      
                                      1 Antwort Letzte Antwort
                                      0
                                      • Thomas BraunT Thomas Braun

                                        @zimbl

                                        Du musst node und npm aus den falschen Pfaden löschen und bullseye durch buster in den .list-Dateien ersetzen. Dann einmal ausloggen und wieder einloggen.

                                        sudo rm /usr/local/bin/node
                                        sudo rm /usr/local/bin/npm
                                        sudo sed -i 's/bullseye/buster/g' /etc/apt/sources.list.d/*
                                        exit
                                        

                                        iobroker ist im Übrigen ein ungeschickter username, der ist eigentlich schon für einen Systemuser vorgesehen.

                                        STOP:

                                        Das muss natürlich

                                        sudo sed -i 's/bullseye/buster/g' /etc/apt/sources.list.d/*
                                        

                                        lauten.

                                        Z Offline
                                        Z Offline
                                        Zimbl
                                        schrieb am zuletzt editiert von
                                        #20

                                        @thomas-braun

                                        Problem ist gerade das ich den IoBroker nicht mehr starten kann...

                                        Thomas BraunT 1 Antwort Letzte Antwort
                                        0
                                        • Z Zimbl

                                          @thomas-braun

                                          Problem ist gerade das ich den IoBroker nicht mehr starten kann...

                                          Thomas BraunT Online
                                          Thomas BraunT Online
                                          Thomas Braun
                                          Most Active
                                          schrieb am zuletzt editiert von
                                          #21

                                          @zimbl

                                          Jetzt ist die empfohlene Version nodeJS 14 drauf.

                                          iobroker status
                                          iobroker update -i
                                          iobroker list instances
                                          

                                          sagt?

                                          Linux-Werkzeugkasten:
                                          https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                          NodeJS Fixer Skript:
                                          https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                          iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                          Z 1 Antwort Letzte Antwort
                                          0

                                          Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.

                                          Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.

                                          Mit deinem Input könnte dieser Beitrag noch besser werden 💗

                                          Registrieren Anmelden
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate
                                          FAQ Cloud / IOT
                                          HowTo: Node.js-Update
                                          HowTo: Backup/Restore
                                          Downloads
                                          BLOG

                                          540

                                          Online

                                          32.9k

                                          Benutzer

                                          83.0k

                                          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