Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Einsteigerfragen
    4. Installation
    5. [gelöst] IO Broker - als Proxmox Container - Frage zu NodeJS

    NEWS

    • ioBroker goes Matter ... Matter Adapter in Stable

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    [gelöst] IO Broker - als Proxmox Container - Frage zu NodeJS

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

      Tach,

      ich habe gerade in einem ubuntu 20.04 Container unter Proxmox den IO Broker installiert, so wie es hier beschrieben ist:
      https://www.iobroker.net/#de/documentation/install/nodejs.md
      https://www.iobroker.net/#de/documentation/install/linux.md

      Bevor ich mit der Installation begonnen habe, hab ich noch

      sudo apt update
      sudo apt upgrade
      

      gemacht.

      Lief auch durch und ich hatte keine Fehlermeldung. Ich habe mir dann noch auf der Konsole ein paar Sachen angesehen und mir ist aufgefallen, das bei mir nodejs fehlt. Ist das ein Problem? Kann ich weitermachen?

      mb@iobroker:~$ which node npm nodejs
      /usr/bin/node
      /usr/bin/npm
      mb@iobroker:~$ ls -al /usr/bin/node*
      -rwxr-xr-x 1 root root 82604240 Feb 16 15:48 /usr/bin/node
      

      Ich hab noch dies hier probiert. Aber es bleibt dabei:

      mb@iobroker:~$ sudo apt install nodejs --reinstall
      Reading package lists... Done
      Building dependency tree       
      Reading state information... Done
      0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
      Need to get 0 B/27.2 MB of archives.
      After this operation, 0 B of additional disk space will be used.
      (Reading database ... 33822 files and directories currently installed.)
      Preparing to unpack .../nodejs_16.19.1-deb-1nodesource1_amd64.deb ...
      Unpacking nodejs (16.19.1-deb-1nodesource1) over (16.19.1-deb-1nodesource1) ...
      Setting up nodejs (16.19.1-deb-1nodesource1) ...
      Processing triggers for man-db (2.9.1-1) ...
      

      Mach ich was falsch, oder ist das so normal?

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

        Hier noch die Versionsausgabe:

        mb@iobroker:~$ node -v &&  npm -v && nodejs -v
        v16.19.1
        8.19.3
        
        Command 'nodejs' not found, but can be installed with:
        
        sudo apt install nodejs
        
        S 1 Reply Last reply Reply Quote 0
        • S
          speerwerfer @speerwerfer last edited by speerwerfer

          kann das sein, das nodejs nur ein Link auf node ist und der Link unter ubuntu fehlt?

          Homoran Thomas Braun 2 Replies Last reply Reply Quote 0
          • Homoran
            Homoran Global Moderator Administrators @speerwerfer last edited by

            @speerwerfer sagte in IO Broker - als Proxmox Container - Frage zu NodeJS:

            kann das sein, das nodejs nur ein Link auf node ist und der Link unter ubuntu fehlt?

            ja

            1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @speerwerfer last edited by

              @speerwerfer

              Link es:

              sudo ln -s /usr/bin/node /usr/bin/nodejs &> /dev/null
              uname -m && type -P nodejs node npm npx && nodejs -v && node -v && npm -v && npx -v && iob -v && whoami && groups && echo $XDG_SESSION_TYPE && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
              
              S 1 Reply Last reply Reply Quote 0
              • S
                speerwerfer @Thomas Braun last edited by speerwerfer

                mb@iobroker:/opt/iobroker$ sudo uname -m && type -P nodejs node npm npx && nodejs -v && node -v && npm -v && npx -v && iob -v && whoami && groups && echo $XDG_SESSION_TYPE && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                x86_64
                /usr/bin/nodejs
                /usr/bin/node
                /usr/bin/npm
                /usr/bin/npx
                v16.19.1
                v16.19.1
                8.19.3
                8.19.3
                4.0.24
                mb
                mb sudo iobroker
                
                /opt/iobroker
                Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease
                Hit:2 http://archive.ubuntu.com/ubuntu focal-updates InRelease             
                Hit:3 http://archive.ubuntu.com/ubuntu focal-security InRelease            
                Hit:4 https://deb.nodesource.com/node_16.x focal InRelease                 
                Reading package lists... Done
                Building dependency tree       
                Reading state information... Done
                All packages are up to date.
                nodejs:
                  Installed: 16.19.1-deb-1nodesource1
                  Candidate: 16.19.1-deb-1nodesource1
                  Version table:
                 *** 16.19.1-deb-1nodesource1 500
                        500 https://deb.nodesource.com/node_16.x focal/main amd64 Packages
                        100 /var/lib/dpkg/status
                     10.19.0~dfsg-3ubuntu1 500
                        500 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages
                
                Thomas Braun 1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @speerwerfer last edited by

                  @speerwerfer

                  Jetzt passt alles.

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

                  Support us

                  ioBroker
                  Community Adapters
                  Donate

                  518
                  Online

                  31.6k
                  Users

                  79.5k
                  Topics

                  1.3m
                  Posts

                  3
                  7
                  315
                  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