RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    problems instaling homebridge

    Scheduled Pinned Locked Moved Help and Support
    home breweror
    5 Posts 2 Posters 1.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      compukit
      last edited by

      i have a problem instaling homebridhe when im coming to this pont end get this erro and i dont now how to fix it.

      root@retropie:~# sudo npm install -g --unsafe-perm homebridge hap-nodejs node-gyp
      npm WARN npm npm does not support Node.js v10.24.0
      npm WARN npm You should probably upgrade to a newer version of node as we
      npm WARN npm can't make any promises that npm will work with this version.
      npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9.
      npm WARN npm You can find the latest version at https://nodejs.org/
      npm ERR! code EUNSUPPORTEDPROTOCOL
      npm ERR! Unsupported URL Type "npm:": npm:string-width@^4.2.0

      npm ERR! A complete log of this run can be found in:
      npm ERR! /root/.npm/_logs/2024-01-07T15_55_27_397Z-debug.log
      can sombady pleas tel my what i have to enter so its always isdownloading the lates version ?
      p.s i got the metod from this site file://///diskstation/externe%20schijf%201/bouw%20projecten/bouwprojeckt%20arcade%20machien/Retropie%20+%20Homebridge%20on%20Raspberry%20Pi%202%20Model%20B.htm

      mituM 1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator @compukit
        last edited by mitu

        The error is pretty clear, you need a newer Node version.

        root@retropie:~# sudo npm install -g --unsafe-perm homebridge hap-nodejs node-gyp

        npm WARN npm You should probably upgrade to a newer version of node as we
        npm WARN npm can't make any promises that npm will work with this version.

        Ayway, not sure how this is related to RetroPie, so you should consult the Homebridge docs and see if you have installed all the correct pre-requisites (Node, for instance).

        C 1 Reply Last reply Reply Quote 0
        • C
          compukit @mitu
          last edited by

          @mitu wel iwalk trou somting on a page.
          and wel its says its foor the pi2 and i use a pi 3b+ bad it workd.
          (old pi 3b+
          bad the site is https://gist.github.com/sloyless/fe07bc010ab5c087d2191288d9114297.

          mituM 1 Reply Last reply Reply Quote 0
          • mituM
            mitu Global Moderator @compukit
            last edited by

            @compukit Can't understand what you're saying, but if it worked - great.

            C 1 Reply Last reply Reply Quote 0
            • C
              compukit @mitu
              last edited by

              @mitu whel it was working when i first use it zo 4 or 5 years ago bad now it dosend work

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

              Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

              Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.