• 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
  1. Home
  2. rmeskill
  3. Posts
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
R
Offline
  • Profile
  • Following 0
  • Followers 0
  • Topics 3
  • Posts 15
  • Groups 0

Posts

Recent Best Controversial
  • Error on npm install

    So I had a working copy of MagicMirror2 running on a Raspberry Pi 2, but I was running node at version 4.2 (I think, though it could have been npm that was complaining) so I finally bit the bullet and decided to upgrade. Now I’m running node v11.6.0 and npm v6.5.0, but when I try npm install && npm start in the MagicMirror directory, I get an error after it hangs for 30-60 minutes on one piece installing. It’s not always consistent on where it fails and I’ve tried multiple times to no avail. I’ve tried removing and reinstalling nodejs. I’ve tried copying away the MagicMirror directory and running the install script and everything fails at the same point. Here’s the output:

    pi@raspberrypi:~/MagicMirror $ npm install && npm start
    npm WARN deprecated time-grunt@2.0.0: Deprecated because Grunt is practically unmaintained. Move on to something better. This package will continue to work with Grunt v1, but it will not receive any updates.
    Unhandled rejection Error: Command failed: /usr/bin/git clone --mirror -q git://github.com/patriksimek/vm2.git /home/pi/.npm/_cacache/tmp/git-clone-6428927c/.git
    warning: templates not found /tmp/pacote-git-template-tmp/git-clone-1f4f605f
    fatal: read error: Connection timed out
    
        at ChildProcess.exithandler (child_process.js:294:12)
        at ChildProcess.emit (events.js:188:13)
        at maybeClose (internal/child_process.js:978:16)
        at Process.ChildProcess._handle.onexit (internal/child_process.js:265:5)
    
    npm ERR! cb() never called!
    
    npm ERR! This is an error with npm itself. Please report this error at:
    npm ERR!     <https://npm.community>
    
    npm ERR! A complete log of this run can be found in:
    npm ERR!     /home/pi/.npm/_logs/2019-01-06T06_19_57_831Z-debug.log
    
    

    I should note the error appears to be due to a connection time-out, and I’ve checked my dns and pings work fine to the outside world. Does anyone have any thoughts?

    posted in Troubleshooting
    R
    rmeskill
    Jan 6, 2019, 2:28 PM
  • RE: MMM-cryptocurrency - v1.4

    Is there a way to add a custom page within the module? I’m specifically looking to add more coins of my own that you don’t include by default, but every time I do it gets overwritten by a pull.

    posted in Utilities
    R
    rmeskill
    Oct 23, 2017, 3:08 PM
  • RE: Versioning/maintaining changes?

    I just realized I was making changes to the master simply in the css file vs the custom one-I’ve moved my custom settings to the custom file and that fixed that. However, I’m still having some issues with individual modules-I guess I’ll have to either write the dev team or create my own fork. If I create my own fork, though, how do I go about merging changes from the master to my fork?

    posted in Troubleshooting
    R
    rmeskill
    Oct 23, 2017, 3:02 PM
  • Versioning/maintaining changes?

    So I’ve modified my Magic Mirror a bit. Within some modules I’ve made some changes to the main files to add functionality or just change the size of font that’s being used. I also added my own calendars to the calendar module. However, whenever I upgrade a module or my whole Magic Mirror it seems these settings are all overwritten. I’m sure there must be a way to only merge new changes or somehow save my changes with git versioning, I just don’t know how-can anyone make some suggestions or point me in the right direction of a tutorial? Thanks!

    posted in Troubleshooting
    R
    rmeskill
    Oct 23, 2017, 2:43 PM
  • RE: MMM-cryptocurrency - v1.4

    For anyone who’s having issues getting a graph to work for lesser-known/non-included, it relies on a proprietary ID value for a currency within coinmarketcap.com. In order to this to work you’ll need to find that value and define it within the MMM-cryptocurrency.js file.

    Maybe there’s an easier way, but I got it working by going to coinmarketcap.com, finding the currency I wanted, then right clicking on the small inline graph and clicking ‘open IMAGE in a new tab’. That’ll come up with an url like this one for Dash: https://files.coinmarketcap.com/generated/sparklines/131.png.

    Now, within the MMM-cryptocurrency.js file you’ll need to create a reference to this ID:

    sparklineIds: {
                            bitcoin: 1,
    ...
                            dash: 131,
    ...
                            }
    

    Reboot your mirror and all should work

    posted in Utilities
    R
    rmeskill
    Jul 24, 2017, 10:29 AM
  • 1 / 1
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