Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Installation issues due to npm node.js version compatibility

    NEWS

    • Neues Video "KI im Smart Home" - ioBroker plus n8n

    • Neues Video über Aliase, virtuelle Geräte und Kategorien

    • Wir empfehlen: Node.js 22.x

    UNSOLVED Installation issues due to npm node.js version compatibility

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

      Hello all,

      I started using ioBroker yesterday and it took me till today to get it started. I guess it's good to share the experience to improve the scripts/workflow/documentation. I was going through the following while until setting up ioBorder successfully (roughly reproduced):

      1. trial:
      • setting up a VM with Debian Buster including updating the system.
      • First I was following the instructions using this guide: https://www.iobroker.net/docu/index-15.htm?page_id=8323&lang=de
        I googled for the current node.js version and installed version 10.x intuitively. Axecuting the following command indicated my main issue already
      node -v
      nodejs -v
      npm -v
      

      the command npm couln'd be found! I simply ignored this issueand installted ioBroker. I couldn't load the ioBroker configuration page.

      1. trial:
      • uninstalled all packages by using:
      update-rc.d iobroker.sh remove
      sudo apt-get remove nodejs
      sudo apt-get remove npm
      
      • Subsequently, I used the following instructions to install your software: https://www.iobroker.net/#de/download
      • some warnings appeared during installation including that npm is not compatible with the installed nodejs version. I couldn't load the ioBroker configuration page again.
      • I tried to fix this issue by using this troubleshooting instruchtions https://www.iobroker.net/docu/index-26.htm?page_id=3928&lang=de and installing the recent version of npm:
      curl https://www.npmjs.com/install.sh | sudo sh
      

      from here: https://github.com/nodejs/help/issues/1877
      however no success again

      1. trial
      • since I lost the overview of installed software I reseted the VM to the point after updating the operating system.
      • Again I tried to use the instructions from here: https://www.iobroker.net/#de/download without success.
      • After reseting again I used the following sequence of commands:
      curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
      sudo apt-get install -y nodejs
      curl https://www.npmjs.com/install.sh | sudo sh
      curl -sL https://iobroker.net/install.sh | bash -
      

      With success!!! Now I'm happy to be able to load the web interface of ioBroker. 😊
      I'm curious to learn how it works 😀

      Cheers,
      Matyi

      Systemdata
      Hardwaresystem: Virtual Box
      Arbeitsspeicher: 1GB
      Festplattenart: 8 GB
      Betriebssystem: Debian Buster with Raspberry Pi Desktop
      Node-Version: 10.15.2
      Nodejs-Version: 10.15.2
      NPM-Version: 6.13.7
      Installationsart: Skript
      Image genutzt: Nein
      aguilared created this issue in nodejs/help

      closed npm does not support Node.js v10.15.2 #1877

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

        @matyi sagte in Installation issues due to npm node.js version compatibility:

        First I was following the instructions using this guide: https://www.iobroker.net/docu/index-15.htm?page_id=8323&lang=de

        This ist outdated!

        This is the actual version:
        https://www.iobroker.net/#en/documentation/install/linux.md

        floow the link to the docu in the header of the forum

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

        Support us

        ioBroker
        Community Adapters
        Donate

        639
        Online

        32.1k
        Users

        80.7k
        Topics

        1.3m
        Posts

        install node.js npm version
        2
        2
        818
        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