MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. Doogain
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    D
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 4
    • Posts 13
    • Groups 0

    Posts

    Recent Best Controversial
    • MM says my config is wrong.

      Hey there!

      When I try to add this

      fade: false
      

      to my config.js

      		{
      			module: "weatherforecast",
      			position: "top_right",
      			header: "Weather Forecast",
      			config: {
      				location: "Aalborg",
      				locationID: "2624886",  
      				appid: "a59083d2a1c9da6e99d2395fb61d8979"
      
      			}
      		},
      

      So it becomes

      		{
      			module: "weatherforecast",
      			position: "top_right",
      			header: "Weather Forecast",
      			config: {
      				location: "Aalborg",
      				locationID: "2624886",  
      				appid: "a59083d2a1c9da6e99d2395fb61d8979"
                                      fade: false
      			}
      		},
      

      Then MM says that my config is wrong.

      WARNING! Could not validate config file. Starting with default configuration. Please correct syntax errors at or above this line: /home/pi/MagicMirror/config/config.js:73
      fade: false
      
      SyntaxError: Unexpected identifier
          at new Script (vm.js:74:7)
          at createScript (vm.js:246:10)
          at Object.runInThisContext (vm.js:298:10)
          at Module._compile (internal/modules/cjs/loader.js:678:28)
          at Object.Module._extensions..js (internal/modules/cjs/loader.js:722:10)
          at Module.load (internal/modules/cjs/loader.js:620:32)
          at tryModuleLoad (internal/modules/cjs/loader.js:559:12)
          at Function.Module._load (internal/modules/cjs/loader.js:551:3)
          at Module.require (internal/modules/cjs/loader.js:658:17)
          at require (internal/modules/cjs/helpers.js:20:18)
      
      ^^^^
      
      

      Not sure on how to fix this, since I believe I’m writing it correctly. Anyone with a quick fix?

      I’m trying to remove the fade effect on the modules, aint working too great for me.

      posted in Troubleshooting
      D
      Doogain
    • RE: Error when trying to install the MagicMirror 2.

      @sdetweil
      You’re the man, worked like a charm. This solution needs to be more widely known!

      posted in Troubleshooting
      D
      Doogain
    • Error when trying to install the MagicMirror 2.

      Hi there.
      I was hoping that someone here might be of assistance, since Im completely new to this and I tried to install the MagicMirror2 on my Raspberry Pi 3.

      Its a SD card with a fresh installed Raspbian from this source https://www.raspberrypi.org/downloads/raspbian/
      Installed the desktop with recommened software version.

      I ranthis in order to install MagicMirror2
      bash -c “$(curl -sL https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh)”

      This is the error Im getting.

      npm WARN npm npm does not support Node.js v10.15.2
      npm WARN npm You should probably upgrade to a newer version of node as we
      npm WARN npm can't make any promises that npm will work with this version.
      npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9.
      npm WARN npm You can find the latest version at https://nodejs.org/
      npm WARN tar write after end
      npm WARN notice [SECURITY] randomatic has the following vulnerability: 1 low. Go here for more details: https://www.npmjs.com/advisories?search=randomatic&version=1.1.7 - Run `npm i npm@latest -g` to upgrade your npm version, and then `npm audit` to get more info.
      npm WARN tar write after end
      npm WARN notice [SECURITY] moment has the following vulnerability: 1 low. Go here for more details: https://www.npmjs.com/advisories?search=moment&version=2.18.1 - Run `npm i npm@latest -g` to upgrade your npm version, and then `npm audit` to get more info.
      npm ERR! cb() never called!
      
      npm ERR! This is an error with npm itself. Please report this error at:
      npm ERR!     <https://github.com/npm/npm/issues>
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/pi/.npm/_logs/2019-10-23T20_51_28_225Z-debug.log
      npm ERR! code ELIFECYCLE
      npm ERR! errno 1
      npm ERR! magicmirror@2.9.0 install: `cd vendor && npm install`
      npm ERR! Exit status 1
      npm ERR! 
      npm ERR! Failed at the magicmirror@2.9.0 install script.
      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/pi/.npm/_logs/2019-10-23T20_51_28_705Z-debug.log
      Unable to install dependencies!
      
      

      Once again, Im new to this whole raspberry pi world, never used one before yesterday. If you can answer me in terms that even a baby would understand, Id really appreciate it.

      Thanks in advance.

      posted in Troubleshooting error magicmirror2 newbie
      D
      Doogain
    • 1 / 1