MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    SOLVED electron-rebuild problems with MagicMirror 2.22.0

    Troubleshooting
    5
    53
    1541
    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.
    • karsten13
      karsten13 @sdetweil last edited by

      @sdetweil

      you can use --omit=optional as param for npm install, I use this for my amd64 images because they are run to 99,9% with npm run server so electron is not needed

      T 1 Reply Last reply Reply Quote 1
      • T
        thobach @karsten13 last edited by

        @karsten13 What are your thoughts on adding npm install @electron/rebuild --unsafe-perm; \ as part of the container image creation process to https://gitlab.com/khassel/magicmirror/-/blob/master/build/Dockerfile-debian?

        karsten13 1 Reply Last reply Reply Quote 0
        • karsten13
          karsten13 @thobach last edited by

          @thobach

          I’m trying to keep image size small … but which image are you using? latest or fat?

          1 Reply Last reply Reply Quote 0
          • 1
          • 2
          • 3
          • 4
          • 5
          • 6
          • 6 / 6
          • First post
            Last post
          Enjoying MagicMirror? Please consider a donation!
          MagicMirror created by Michael Teeuw.
          Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
          This forum is using NodeBB as its core | Contributors
          Contact | Privacy Policy