• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.3k 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.
  • Y Offline
    youssef @sdetweil
    last edited by Mar 2, 2021, 2:44 PM

    @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 Mar 2, 2021, 2:47 PM Reply Quote 0
    • S Offline
      sdetweil @youssef
      last edited by Mar 2, 2021, 2:47 PM

      @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 Mar 2, 2021, 2:50 PM

        @sdetweil

        yes i’m using graphical desktop

        S 1 Reply Last reply Mar 2, 2021, 3:16 PM Reply Quote 0
        • S Offline
          sdetweil @youssef
          last edited by Mar 2, 2021, 3:16 PM

          @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 Mar 2, 2021, 4:18 PM Reply Quote 0
          • Y Offline
            youssef @sdetweil
            last edited by Mar 2, 2021, 4:18 PM

            @sdetweil thanks for your support

            can i install mm on debian 64 bit ?

            S 1 Reply Last reply Mar 2, 2021, 4:18 PM Reply Quote 0
            • S Offline
              sdetweil @youssef
              last edited by Mar 2, 2021, 4:18 PM

              @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 Mar 2, 2021, 4:31 PM

                @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 Mar 2, 2021, 4:37 PM Reply Quote 0
                • S Offline
                  sdetweil @youssef
                  last edited by Mar 2, 2021, 4:37 PM

                  @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 Mar 2, 2021, 7:01 PM

                    @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 Mar 2, 2021, 8:04 PM Reply Quote 0
                    • S Offline
                      sdetweil @youssef
                      last edited by Mar 2, 2021, 8:04 PM

                      @youssef for some reason the electron installer (not our code) has decided this is a 32 bit machine. and there is no 32bit electron available for intel.

                      I think I will open an issue over there.
                      my previous install worked fine…

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 1
                      • 1
                      • 2
                      • 3
                      • 1 / 3
                      1 / 3
                      • First post
                        18/23
                        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