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 8.2k 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 sdetweil

      @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

        @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

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

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

            @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 Reply Quote 0
            • J Offline
              Johans @sdetweil
              last edited by

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

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

                @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 Reply Quote 0
                • J Offline
                  Johans @sdetweil
                  last edited by

                  @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 Reply Quote 0
                  • S Offline
                    sdetweil @Johans
                    last edited by

                    @Johans wait. you are running Ubuntu in lsw?

                    that’s text mode. electron won’t run there

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

                    J 1 Reply Last reply Reply Quote 0
                    • J Offline
                      Johans @sdetweil
                      last edited by

                      @sdetweil , yes lsw2 that is how I installed it. So that is not good? How do I then make a proper installation on a windows PC? Do you have a link-guide to follow?

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

                        @Johans open a cmd.exe window

                        and then do the install steps

                        but you said u did that already…

                        but wanted linux

                        for linux desktop on windows you have to use a virtual machine…

                        now, you might be able to run server mode and use the windows browser to access
                        in the lsw linux command prompt
                        cd ~/MagicMirror
                        npm run server

                        then go to windows desktop and open browser
                        http://localhost:8080

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        J 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