MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. dhirajv12
    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 2
    • Posts 10
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: Black blank screen

      @Anhalter42
      After I found that it failed at electron. I installed it with
      sudo npm install electron:1.6.9 -g
      after that I did cd /MagicMirror npm start.
      MagicMirror did pop up but with a message that if did not find the config file. So there was a sample file in?magicMirror/config folder. I remaned it to config.js from config.js.sample.
      I ran it, then the screen went black…
      The contents of config file looks like this…

      • Magic Mirror Config Sample
      • By Michael Teeuw http://michaelteeuw.nl
      • MIT Licensed.
        */

      var config = {
      port: 8080,
      ipWhitelist: [“127.0.0.1”, “::ffff:127.0.0.1”, “::1”], // Set [] to allow all IP addresses.

      language: "en",
      timeFormat: 24,
      units: "metric",
      
      modules: [
      	{
      		module: "alert",
      	},
      	{
      		module: "updatenotification",
      		position: "top_bar"
      	},
      	{
      		module: "clock",
      		position: "top_left"
      	},
      	{
      		module: "calendar",
      		header: "US Holidays",
      		position: "top_left",
      		config: {
      			calendars: [
      				{
      					symbol: "calendar-check-o ",
      					url: "webcal://www.calendarlabs.com/templates/ical/US-Holidays.ics"
      				}
      			]
      		}
      	},
      	{
      		module: "compliments",
      		position: "lower_third"
      	},
      	{
      		module: "currentweather",
      		position: "top_right",
      		config: {
      			location: "New York",
      			locationID: "",  //ID from http://www.openweathermap.org/help/city_list.txt
      			appid: "YOUR_OPENWEATHER_API_KEY"
      		}
      	},
      	{
      		module: "weatherforecast",
      		position: "top_right",
      		header: "Weather Forecast",
      		config: {
      			location: "New York",
      			locationID: "5128581",  //ID from http://www.openweathermap.org/help/city_list.txt
      			appid: "YOUR_OPENWEATHER_API_KEY"
      		}
      	},
      	{
      		module: "newsfeed",
      		position: "bottom_bar",
      		config: {
      			feeds: [
      				{
      					title: "New York Times",
      					url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml"
      				}
      			],
      			showSourceTitle: true,
      			showPublishDate: true
      		}
      	},
      ]
      

      };

      /*************** DO NOT EDIT THE LINE BELOW ***************/
      if (typeof module !== “undefined”) {module.exports = config;}

      posted in Troubleshooting
      D
      dhirajv12
    • RE: Black blank screen

      @Anhalter42
      Now i did installation from scratch…
      these are the warnings
      Cloning MagicMirror Done!
      Installing dependencies …

      npm WARN stylelint-config-standard@16.0.0 requires a peer of stylelint@^7.8.0 but none was installed.
      npm ERR! code ELIFECYCLE
      npm ERR! errno 1
      npm ERR! electron@1.6.10 postinstall: node install.js
      npm ERR! Exit status 1
      npm ERR!
      npm ERR! Failed at the electron@1.6.10 postinstall script.
      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

      ╭─────────────────────────────────────╮
      │ │
      │ Update available 4.6.1 → 5.0.0 │
      │ Run npm i -g npm to update │
      │ │
      ╰─────────────────────────────────────╯

      npm ERR! A complete log of this run can be found in:
      npm ERR! /home/pi/.npm/_logs/2017-05-31T03_13_15_771Z-debug.log
      Unable to install dependencies!

      should I send u the log file… will it be of any help…
      this must be the 10th time I am instaling from scratch …I could not get it working…

      posted in Troubleshooting
      D
      dhirajv12
    • RE: Black blank screen

      No Node.js upgrade nessecery.
      chdir: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory

      these are certain comments which I feel should be notified…

      posted in Troubleshooting
      D
      dhirajv12
    • RE: Black blank screen

      @Anhalter42
      i tried a fresh installation with
      curl -sL https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh | bash
      it shows
      shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
      but later it shows the Magic Mirror2 logo and proceeds…

      is there a problem?

      posted in Troubleshooting
      D
      dhirajv12
    • Black blank screen

      Blank black screen

      Hi,
      I have the same black screen problem. I have not added any other modules. Just have renamed the config.js.sample to config.js
      The application launches with a black screen.

      In the terminal it says
      No helper found for module: clock
      no helper found for module: complements

      When i start the console
      With npm start dev following errors are found
      Uncaught reference error: moment is not defined
      At Class.getDom (clock.js:77)
      At updateDom (main.js:99)
      at Object.updateDom (main.js:470)
      at Class.updateDom (module.js:291)
      at clock.js:45

      Need help I am stuck
      Thanks

      For the black screen problem, I even did the git pull to update
      git pull https://github.com/MichMich/MagicMirror
      From https://github.com/MichMich/MagicMirror

      branch HEAD -> FETCH_HEAD
      Already up-to-date.
      

      Now where is the issue??? Stuck please help.
      If this is the problem with the config.js file please send me a working config file. I shall try and see if it works for me.

      posted in Troubleshooting black blank screen
      D
      dhirajv12
    • RE: Black Screen after Launching application.

      @dhirajv12
      For the black screen proble, I even did the git pull to update
      git pull https://github.com/MichMich/MagicMirror
      From https://github.com/MichMich/MagicMirror

      • branch HEAD -> FETCH_HEAD
        Already up-to-date.

      Now where is the issue??? Stuck please help

      posted in Troubleshooting
      D
      dhirajv12
    • RE: Black Screen after Launching application.

      When i start the console
      With npm start dev following errors are found
      Uncaught reference error: moment is not defined
      At Class.getDom (clock.js:77)
      At updateDom (main.js:99)
      at Object.updateDom (main.js:470)
      at Class.updateDom (module.js:291)
      at clock.js:45

      Need help I am stuck
      Thanks

      posted in Troubleshooting
      D
      dhirajv12
    • RE: Black Screen after Launching application.

      @dhirajv12
      In the terminal it says
      No helper found for module: clock
      no helper found for module: complements

      posted in Troubleshooting
      D
      dhirajv12
    • RE: Black Screen after Launching application.

      Hi,
      Even I have the same black screen problem. I have not added any other modules. Just have renamed the config.js.sample to config.js
      The application launches with a black screen.

      posted in Troubleshooting
      D
      dhirajv12
    • Magic Mirror Installation Problem

      Hello,
      I tried installing Magic Mirror both by auto installer and manually I have following errors during installation. It stops at electron. Please suggest me a work around. I am stuck.

      npm WARN stylelint-config-standard@16.0.0 requires a peer of stylelint@^7.8.0 but none was installed.
      npm WARN grunt-stylelint@0.8.0 requires a peer of stylelint@^7.8.0 but none was installed.
      npm ERR! Linux 4.9.24-v7+
      npm ERR! argv “/usr/bin/nodejs” “/usr/bin/npm” “install”
      npm ERR! node v6.10.3
      npm ERR! npm v3.10.10
      npm ERR! code ELIFECYCLE

      npm ERR! electron@1.6.10 postinstall: node install.js
      npm ERR! Exit status 1
      npm ERR!
      npm ERR! Failed at the electron@1.6.10 postinstall script ‘node install.js’.
      npm ERR! Make sure you have the latest version of node.js and npm installed.
      npm ERR! If you do, this is most likely a problem with the electron package,
      npm ERR! not with npm itself.
      npm ERR! Tell the author that this fails on your system:
      npm ERR! node install.js
      npm ERR! You can get information on how to open an issue for this project with:
      npm ERR! npm bugs electron
      npm ERR! Or if that isn’t available, you can get their info via:
      npm ERR! npm owner ls electron
      npm ERR! There is likely additional logging output above.

      npm ERR! Please include the following file with any support request:
      npm ERR! /home/pi/MagicMirror/npm-debug.log

      posted in Troubleshooting
      D
      dhirajv12
    • 1 / 1