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.
    • Y Offline
      youssef @sdetweil
      last edited by

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

      npm install electron@8.5.3

      Below you find the result

      pi@raspberry:~/MagicMirror $ npm install electron@8.5.3
      npm WARN deprecated request-promise-native@1.0.9: request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
      npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated
      npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated
      npm WARN deprecated @babel/polyfill@7.12.1: 🚨 This package has been deprecated in favor of separate inclusion of a polyfill and regenerator-runtime (when needed). See the @babel/polyfill docs (https://babeljs.io/docs/en/babel-polyfill) for more information.
      npm WARN deprecated gitlab@10.2.1: The gitlab package has found a new home in the @gitbeaker organization. For the latest gitlab node library, check out @gitbeaker/node. A full list of the features can be found here: https://github.com/jdalrymple/gitbeaker#readme
      npm WARN deprecated webdriverio@4.14.4: outdated version, please use @next
      npm WARN deprecated core-js@2.6.12: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.

      added 813 packages, and audited 1112 packages in 20s

      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
      pi@raspberry:~/MagicMirror $

      S 1 Reply Last reply Reply Quote 0
      • 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
                        • 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