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-JaST] Just another Stock Ticker (new: version 2.x)

    Scheduled Pinned Locked Moved Utilities
    166 Posts 37 Posters 181.0k Views 39 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 @leonids
      last edited by sdetweil

      @leonids you need to increase the swap space size

      and maybe the heap size

      for the heap size in config.js before the
      modules:[

      add

      electronSwitches:{ "js-flags": "--max-old-space-size=8192"},
      

      that will allocate 8 Meg of heap. you can make it bigger…

      make sure you increase the swap space

      I’ll leave that to a Google search for you

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      L 2 Replies Last reply Reply Quote 0
      • L Offline
        leonids @sdetweil
        last edited by

        @sdetweil
        Thanks,
        I have tried both of these things and nothing helped :(

        leonid@magicmirror:~/MagicMirror/modules/MMM-Jast $ free -h
        total used free shared buff/cache available
        Mem: 922Mi 164Mi 441Mi 8.0Mi 316Mi 695Mi

        1 Reply Last reply Reply Quote 0
        • L Offline
          leonids @sdetweil
          last edited by

          @sdetweil
          I have doubled swap space and added heap settings in config.js but it did not change anything, Still same crash as before

          Maybe 1G RAM is too small for this program?

          leonid@magicmirror:~/MagicMirror/modules/MMM-Jast $ free -h
          total used free shared buff/cache available
          Mem: 922Mi 247Mi 221Mi 31Mi 453Mi 589Mi
          Swap: 199Mi 54Mi 145Mi
          leonid@magicmirror:~/MagicMirror/modules/MMM-Jast $

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

            @leonids ok it’s something else

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • JalibuJ Offline
              Jalibu Module Developer @leonids
              last edited by

              @leonids do you get this error during module installation or during runtime?

              L 1 Reply Last reply Reply Quote 0
              • L Offline
                leonids @Jalibu
                last edited by

                @Jalibu
                I get error when I try “npm install” from MMM-JaST directory

                JalibuJ 2 Replies Last reply Reply Quote 0
                • JalibuJ Offline
                  Jalibu Module Developer @leonids
                  last edited by

                  This post is deleted!
                  1 Reply Last reply Reply Quote 1
                  • JalibuJ Offline
                    Jalibu Module Developer @leonids
                    last edited by

                    @leonids yes, I guess 1G RAM is not enough.

                    A 1 Reply Last reply Reply Quote 0
                    • A Offline
                      Askedal @Jalibu
                      last edited by

                      Hello @Jalibu ,

                      many thanks for this great module.

                      I lately upgrade the module to get rid of the Yahoo crumb error, but I still get an error like:

                      1|mm | [07.05.2024 09:04.57.536] [WARN]
                      1|mm | API request for MSFT failed: request to https://query2.finance.yahoo.com/v10/finance/quoteSummary/MSFT?formatted=false&modules=price&crumb=EIJ.XkWSxQd failed, reason: connect ECONNREFUSED 0.0.0.0:443

                      Any idea on how to fix this ?

                      Many thanks

                      Clas

                      JalibuJ 1 Reply Last reply Reply Quote 0
                      • JalibuJ Offline
                        Jalibu Module Developer @Askedal
                        last edited by

                        @Askedal
                        have you tried to delete and re-clone the module with a fresh npm install?

                        A 1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 12
                        • 13
                        • 14
                        • 15
                        • 16
                        • 17
                        • 14 / 17
                        • 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