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 clientonly for Windows

    Scheduled Pinned Locked Moved General Discussion
    9 Posts 2 Posters 602 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 Do not disturb
      sdetweil @mri_ice
      last edited by sdetweil

      @mri_ice

      from the doc
      https://docs.magicmirror.builders/getting-started/installation.html#client-only

      because the system is running wayland
      you need to set the variable if not set

      "WAYLAND_DISPLAY="${WAYLAND_DISPLAY:=wayland-1}" node clientonly … rest of parms

      copied from package.json

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      M 1 Reply Last reply Reply Quote 1
      • M Offline
        mri_ice @sdetweil
        last edited by mri_ice

        @sdetweil said in node clientonly for Windows:

        “WAYLAND_DISPLAY=”${WAYLAND_DISPLAY:=wayland-1}"

        Hi Sam, many thanks.

        I’m confused. I thought Wayland was a *nix-thing?
        I’m trying to run the client on Windows 10.

        Do I need to set this up as an Environment Variable?

        S 1 Reply Last reply Reply Quote 0
        • S Do not disturb
          sdetweil @mri_ice
          last edited by

          @mri_ice just responding to the message you got
          is windows on the stick?

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          S M 2 Replies Last reply Reply Quote 0
          • S Do not disturb
            sdetweil @sdetweil
            last edited by

            you can also launch a browser to the MagicMirror server

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            M 1 Reply Last reply Reply Quote 0
            • M Offline
              mri_ice @sdetweil
              last edited by

              @sdetweil

              Yup, the stick is windows-based.

              Is there a :windows parameter similar to when you run the full npm start:windows?

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

                @sdetweil

                This is what I’ve ended up doing for now, thank you.

                1 Reply Last reply Reply Quote 0
                • S Do not disturb
                  sdetweil @mri_ice
                  last edited by

                  @mri_ice if you look at package.json you can see the npm commands we defined in the scripts section

                  i copied the wayland stuff from there.

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  S 1 Reply Last reply Reply Quote 1
                  • S Do not disturb
                    sdetweil @sdetweil
                    last edited by

                    looks like electron (browser) is confused about the os running

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

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