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

Node/ npm error? Blank magicmirror. Please help - desperate, frustrated and grateful for the right direction

Scheduled Pinned Locked Moved Solved Troubleshooting
11 Posts 4 Posters 2.3k Views 4 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 @Mykle1
    last edited by Dec 18, 2019, 2:52 AM

    @nakulbende @Mykle1 I agree. lets back up and start with the default config and then add one module at a time…

    so, rename your config.js

    cd ~/MagicMirror/config
    mv config.js config.js.save
    cp config.js.sample config.js
    

    and then start the mirror

    again:
    now, pic one module,
    copy the module section from the config.js.save to the config.js

    restart the mirror… verify
    save config.js

    go to again

    many modules cannot be used more than once without special handling…
    so don’t do two of anything yet

    mmm-buller only documents one dependency
    “googleapis” : “>=33.0.0”

    so, do that manually
    from the mmm-buller folder do
    npm install googleapis@33.0.0

    I don’t think u have to reinstall the base…

    let me know

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    1 Reply Last reply Reply Quote 0
    • N Offline
      nakulbende @Mykle1
      last edited by Dec 18, 2019, 4:10 PM

      @Mykle1 How do you update npm - when I do this, would I have to run npm install in each module folder again?

      The mirror works with default configuration just fine. I will try disabling them one by one.

      I did use the usual script bash -c "$(curl -sL https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh)". How is @sdetweil’s script different?

      S M 2 Replies Last reply Dec 18, 2019, 4:15 PM Reply Quote 0
      • N Offline
        nakulbende
        last edited by Dec 18, 2019, 4:13 PM

        Thanks all - I will install dependencies and try to add modules one by one. Is there a way to backup my installation if I do decide to reinstall using @sdetweil 's script? Would just copying the whole ~/MagicMirror folder work?

        S 1 Reply Last reply Dec 18, 2019, 4:17 PM Reply Quote 0
        • S Offline
          sdetweil @nakulbende
          last edited by sdetweil Dec 19, 2019, 8:48 PM Dec 18, 2019, 4:15 PM

          @nakulbende the one you used hasn’t been updated in quite some time…
          quite a few things have changed…

          my scipt, which will replace the current one on next release, has been updated and tested for about 6 months.
          see here
          https://forum.magicmirror.builders/topic/10171/anyone-want-to-try-updated-installer

          there is also a new version update script, that will help migrate from one MM release to another…
          see here https://forum.magicmirror.builders/topic/10859/new-update-upgrade-script-ready-for-testing

          to ‘backup’. just rename the MagicMirror folder, no copy, no delete…

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 1
          • S Offline
            sdetweil @nakulbende
            last edited by Dec 18, 2019, 4:17 PM

            @nakulbende install assumes that NO previous installation exists…so, no MagicMirror folder.

            the installer and updater both create log files so we can see what happened at the time.
            the original does not

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • M Offline
              Mykle1 Project Sponsor Module Developer @nakulbende
              last edited by Dec 18, 2019, 9:01 PM

              @nakulbende said in Node/ npm error? Blank magicmirror. Please help - desperate, frustrated and grateful for the right direction:

              How do you update npm - when I do this, would I have to run npm install in each module folder again?

              I see @sdetweil has been in contact with you. You’re in good hands. Follow his directions and advice. I’m pretty sure his installer will install the correct versions of node and npm so you won’t have to do anything regarding that. Any modules you install after that (that require dependencies) will need you run npm install in their respective folders.

              Create a working config
              How to add modules

              1 Reply Last reply Reply Quote 0
              • N Offline
                nakulbende
                last edited by Dec 20, 2019, 2:56 PM

                @sdetweil - your script worked flawlessly, and everything just works. I have a few kinks to sort out but it is looking like i can finish my wife’s gift before christmas after all. I can’t thank you enough!

                :folded_hands_medium_skin_tone: :person_bowing_medium_skin_tone:

                Thank you all for pointing me in the right direction!

                S F 2 Replies Last reply Dec 20, 2019, 2:56 PM Reply Quote 0
                • S Offline
                  sdetweil @nakulbende
                  last edited by Dec 20, 2019, 2:56 PM

                  @nakulbende cool… glad it helped…

                  come on back if you find some other problem!

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • F Offline
                    Fozi Project Sponsor @nakulbende
                    last edited by Dec 20, 2019, 3:21 PM

                    @nakulbende oh, great you sorted it out! My recommendation on Reddit to join this forum was not that bad😁. Another happy builder on bord!

                    HowTo: Replace PIR Sensor with a RCWL-0516 Microwave Sensor

                    1 Reply Last reply Reply Quote 1
                    • 1
                    • 2
                    • 1 / 2
                    1 / 2
                    • First post
                      7/11
                      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