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.

    Help with troubleshooting MM start

    Scheduled Pinned Locked Moved Solved Troubleshooting
    2 Posts 2 Posters 614 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.
    • G Offline
      greaser01
      last edited by

      Bear with me, I built mine a year ago and am just now running into some problems and am trying to relearn everything…

      Had an issue with a module, tried updating everything. Somehow I screwed it up to where it said the node_modules/electron needed to be deleted and reinstalled.

      Deleted it and ran npm install (I read that would reinstall the electron node_module). Here I got errors where I needed to rename folders within the node_modules. Seemingly I’m stuck where I try and rename these folders to match what the terminal says, but it gives me an error that it already exists. Here is where I gave up.

      Does anything with experience with this have suggestions on where to go from here? I am half-tempted to uninstall MagicMirror and just go from scratch again. (I don’t even know how to uninstall it)

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

        @greaser01 do this

        cd ~/MagicMirror
        rm -rf node_modules
        rm package-lock.json
        npm install --omit=dev 
        

        that will reinstall MagicMirror runtime
        on anything other than Windows

        no module folders or config affected

        Sam

        How to add modules

        learning how to use browser developers window for css changes

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