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.

    MMM-Powerwall

    Scheduled Pinned Locked Moved Utilities
    13 Posts 7 Posters 4.6k Views 8 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.
    • C Offline
      contactmike1 @mumblebaj
      last edited by

      @mumblebaj said in MMM-Powerwall:

      errors in the NPM or PM2 logs or in the developer console?

      Sorry I missed your reply earlier. Here’s NPM
      a43c66d2-066a-4af0-9e61-9118ad11ef30-image.png

      Reinstall chart.js
      57dc1087-b88b-4628-832e-e87c989cf1cd-image.png

      PM2 Log - These just repeat over and over.
      9d1d9e20-532b-40cc-bf6e-1e7d522d924f-image.png or developer console.

      I am not sure what is the developer console. You mean on the browser? I don’t think I have web enabled. I’ll have to look into it.

      Is there a better command for installing chart.js or is chart.js not the issue?

      mumblebajM 1 Reply Last reply Reply Quote 0
      • mumblebajM Offline
        mumblebaj Module Developer @contactmike1
        last edited by sdetweil

        @contactmike1 Hi. Not what I meant. When you start your mirror, do you start it with PM2 or NPM? If you start it with NPM are there any errors in the console? If you start with PM2 you can do pm2 logs --lines=100 to get the last 100 lines and see if there are any errors. For the developer Window you can press Ctrl + i which would open the developer window. In the console tab look for any errors related to the module.

        Check out my modules at: https://github.com/mumblebaj?tab=repositories
        Check my blog-post: https://mumblebaj.xyz/

        M 1 Reply Last reply Reply Quote 0
        • M Offline
          MikeBishop @mumblebaj
          last edited by

          @mumblebaj, chart.js needs to come from npm. If you do npm install chart.js, what does it say?

          Also, recent versions have taken a couple of dependencies that require newer Node versions – what version are you running? (node --version)

          I see the exceptions thrown on retrieving Storm Watch status; I’ve just pushed a commit to ensure that skips if it gets null back for now. However, besides log pollution, that shouldn’t actually be breaking anything – Node will log that it failed and move on to the next message.

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