MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    ./node_modules/.bin/electron js / electron.js Problem

    Scheduled Pinned Locked Moved Troubleshooting
    23 Posts 2 Posters 3.5k Views 2 Watching
    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.
    • S Offline
      sdetweil @youssef
      last edited by

      @youssef wow… not even a complaint…

      ok, try this

      npm install electron

      you’ll get the latest, but it should work…

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      Y 1 Reply Last reply Reply Quote 0
      • Y Offline
        youssef @sdetweil
        last edited by

        @sdetweil

        they give the same result ,

        pi@raspberry:~/MagicMirror $ npm install electron

        up to date, audited 1112 packages in 6s

        88 packages are looking for funding
        run npm fund for details

        5 vulnerabilities (4 low, 1 moderate)

        To address all issues (including breaking changes), run:
        npm audit fix --force

        Run npm audit for details.
        pi@raspberry:~/MagicMirror $ npm start

        magicmirror@2.14.0 start
        DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js

        sh: 1: ./node_modules/.bin/electron: not found
        ![alt text](image url)

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @youssef
          last edited by

          @youssef hm… you are running the graphical desktop, right? you must for electron to run

          if u are running cli mode, then no graphics…

          only asking cause its not complaining and failing to install…

          i will recheck on my system as soon as I can … got a big copy going on and am short of disk space at the moment…

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • Y Offline
            youssef
            last edited by

            @sdetweil

            yes i’m using graphical desktop

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @youssef
              last edited by

              @youssef on my install I see these messages

              Official Linux/ia32 support is deprecated.
              For more info: https://electronjs.org/blog/linux-32bit-support
              

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              Y 1 Reply Last reply Reply Quote 0
              • Y Offline
                youssef @sdetweil
                last edited by

                @sdetweil thanks for your support

                can i install mm on debian 64 bit ?

                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @youssef
                  last edited by

                  @youssef should be able to… please wait, I am fixing install and run scripts…
                  testing now…

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • Y Offline
                    youssef
                    last edited by

                    @sdetweil said in ./node_modules/.bin/electron js / electron.js Problem:

                    I am fixing install and run scripts…
                    testing now…

                    thanx i wait four your order to test the script …

                    S 1 Reply Last reply Reply Quote 0
                    • S Offline
                      sdetweil @youssef
                      last edited by

                      @youssef ok, remove the MM folder and redo the install script… should set it up properly now…

                      for some reason the electron test for this OS returns 32 bit, but the OS says 64…
                      weird…

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • Y Offline
                        youssef
                        last edited by

                        @sdetweil said in ./node_modules/.bin/electron js / electron.js Problem:

                        weir

                        Hello,

                        it’s work, thank you for your support can you please explain to me what was the isssue.

                        S 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 2 / 3
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Sam, technical setup by Karsten.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy