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

parent error

Scheduled Pinned Locked Moved Bug Hunt
6 Posts 2 Posters 542 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 Offline
    sdetweil @jsmith432
    last edited by sdetweil Jun 13, 2020, 5:22 PM Jun 13, 2020, 11:22 AM

    @jsmith432 what did you update? MagicMirror or a module?

    if MagicMirror, you ALSO need to check every module you installed, if it has a package.json file, you ALSO need to run npm install in that folder…

    for future MM upgrades, use the upgrade script from here https://github.com/sdetweil/MagicMirror_scripts

    its a two part process

    • run the script once (in test mode) to test upgrade and see if there will be any issues, files u might need to save
    • then run it again (in apply mode) to actually DO the upgrade install, and it will run thru all your enabled modules and do the npm install for them too…

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    1 Reply Last reply Reply Quote 0
    • J Offline
      jsmith432
      last edited by Jun 13, 2020, 5:21 PM

      @sdetweil Thanks for the response. I haven’t updated it for a while but when I do I always use git pull & npm install. I am not sure which module if any is causing this issue. I just noticed that this error was on the log. When updating modules I do the same git pull & npm install. I did on all modules and no updates were found.

      Should I run this script even if I am using MM in docker?

      S 2 Replies Last reply Jun 13, 2020, 5:23 PM Reply Quote 0
      • S Offline
        sdetweil @jsmith432
        last edited by Jun 13, 2020, 5:23 PM

        @jsmith432 sorry, the script doesn’t know how to update the docker container

        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 @jsmith432
          last edited by Jun 13, 2020, 5:27 PM

          @jsmith432 >I always use git pull & npm install.

          yes, understand. however there are times when the dependencies for MM change, which requires that all modules with dependencies need to update as well… 2.11 clearly calls out that there were dependency changes.

          I would guess from the stacktrace, its a movie module

          parseRottenTomatoesHTML in rt-scraper library
          at parseRottenTomatoesHTML (/opt/magic_mirror/modules/node_modules/rt-scraper/index.js

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • J Offline
            jsmith432
            last edited by Jun 17, 2020, 3:46 AM

            Thanks. That module don’t have a package.json and is probably using an old version of some kind of dependency then. I will remove the module completely as it has not been working anyway.

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