• 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.

install MM2.18 on win10 pc

Scheduled Pinned Locked Moved Solved Troubleshooting
22 Posts 2 Posters 6.6k Views 3 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 @Johans
    last edited by Mar 20, 2022, 11:39 AM

    @Johans is it the same node and npm?

    we havent tested on node 17.

    only node 14 and 16

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    J 1 Reply Last reply Mar 20, 2022, 1:37 PM Reply Quote 0
    • J Offline
      Johans @sdetweil
      last edited by Mar 20, 2022, 1:37 PM

      @sdetweil On Ubuntu I used node 16.14.2 and npm 8.5.5 while on Debian I used node 17.7.2 and npm 8.5.2. And both seems to give me the same error message

      S 1 Reply Last reply Mar 20, 2022, 1:45 PM Reply Quote 0
      • S Offline
        sdetweil @Johans
        last edited by Mar 20, 2022, 1:45 PM

        @Johans on linux, if you use my script, it does everything… installs node, npm … tools (git, …) etc

        trying to recreate now

        I use Ubuntu as my desktop and dev environment, so i know it works there…

        you don’t use sudo, install as normal user, not root.
        must have the desktop version of OS (as the browsers draws graphics which requires the graphical env)

        show me the ~/install.log
        (you can send to my email, same userid at gmail)

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        J 1 Reply Last reply Mar 20, 2022, 1:56 PM Reply Quote 0
        • S Offline
          sdetweil @Johans
          last edited by sdetweil Mar 20, 2022, 1:54 PM Mar 20, 2022, 1:50 PM

          @Johans on my windows 11 with 16.9.0 (node version) and package.js start line like this

          		"start": "node_modules\\.bin\\electron js\\electron.js",
          

          I see this is the startup messages

          > node_modules\.bin\electron js\electron.js
          

          I see the same results on node 17.7.2

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @Johans
            last edited by Mar 20, 2022, 1:56 PM

            @Johans sorry, I missed this line

            but in the end I prefere more the linux, so I installed debian, git, nodejs, and MM.
            

            so, you do NOT change the package.json for linux… only for windows…

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • J Offline
              Johans @sdetweil
              last edited by Mar 20, 2022, 1:56 PM

              @sdetweil Sorry but i’m new on Linux, where to find install log?

              S 1 Reply Last reply Mar 20, 2022, 1:59 PM Reply Quote 0
              • S Offline
                sdetweil @Johans
                last edited by sdetweil Mar 20, 2022, 2:02 PM Mar 20, 2022, 1:59 PM

                @Johans the file is saved in the users home folder

                on linux that is called ~

                cd ~ will take you to the home folder

                and u can reference any file there the same way

                ~/install.log

                is the same as
                /home/{username}/install.log

                using the environment info
                /home/$USER/install.log

                unix/linux was born on slow teletype terminals… so there are shortcuts for everything to reduce typing and shorten output…

                thats why cd is the same as the long name chdir

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                J 1 Reply Last reply Mar 20, 2022, 2:05 PM Reply Quote 0
                • J Offline
                  Johans @sdetweil
                  last edited by Mar 20, 2022, 2:05 PM

                  @sdetweil I don’t seem to find such a file in the root directory.

                  S 1 Reply Last reply Mar 20, 2022, 2:07 PM Reply Quote 0
                  • S Offline
                    sdetweil @Johans
                    last edited by Mar 20, 2022, 2:07 PM

                    @Johans said in install MM2.18 on win10 pc:

                    file in the root directory.

                    not in the root /

                    in the users home
                    ~/

                    you CANNOT do MM as root…

                    you MUST logon as a normal user (in my case sam on my ubuntu system)

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    J 1 Reply Last reply Mar 20, 2022, 2:17 PM Reply Quote 0
                    • J Offline
                      Johans @sdetweil
                      last edited by Mar 20, 2022, 2:17 PM

                      @sdetweil I have the icon under windows and when I start, Ubuntu it starts with the user I created during installation. ubuntulogin.png

                      So I guess this is my normal user?

                      I installed node & MM from jstal@DESKTOP-HF7R0J9 As I think this is correct - or not?

                      S 1 Reply Last reply Mar 20, 2022, 2:33 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 2 / 3
                      2 / 3
                      • First post
                        13/22
                        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