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

    Posts

    Recent Best Controversial
    • RE: Blank screen when Running Magic Mirror on Raspian and RP3.

      @Mykle1 Ok after that, I went to update node which updated npm.
      Using this script for raspberry pi:

      curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash -

      I then deleted the magicmirror home directory, downloaded the installer script from the GIT repo, checked it again for versions and installs.

      1. I ran the script as a normal user. It completed successfully.
      2. Then ran the npm start command.
      3. Now magic Mirror is working.

      Thanks!

      posted in Troubleshooting
      L
      lagoon7
    • RE: Blank screen when Running Magic Mirror on Raspian and RP3.

      @cowboysdude yes I did.

      posted in Troubleshooting
      L
      lagoon7
    • RE: Blank screen when Running Magic Mirror on Raspian and RP3.

      @Mykle1 Yeah I realize that, however I do not get any “modules” to load. Here is the output from the command and I ran the install of electron as sudo and checked to see if any of the permissions changed. However I didn’t get any errors when I ran it under “sudo”

      pi@pi314159:~/MagicMirror $ sudo npm install electron
      npm WARN engine deep-extend@0.4.2: wanted: {“node”:“>=0.12.0”,“iojs”:“>=1.0.0”} (current: {“node”:“0.10.29”,“npm”:“1.4.21”})
      |

      electron@1.6.7 postinstall /home/pi/MagicMirror/node_modules/electron
      node install.js

      electron@1.6.7 node_modules/electron
      ├── extract-zip@1.6.5 (debug@2.2.0, mkdirp@0.5.0, yauzl@2.4.1, concat-stream@1.6.0)
      └── electron-download@3.3.0 (home-path@1.0.5, semver@5.3.0, minimist@1.2.0, rc@1.2.1, debug@2.6.6, path-exists@2.1.0, sumchecker@1.3.1, fs-extra@0.30.0, nugget@2.0.1)

      pi@matrix314159:~/MagicMirror $ npm start

      magicmirror@2.1.1 start /home/pi/MagicMirror
      sh run-start.sh

      Starting MagicMirror: v2.1.1
      Loading config …
      Loading module helpers …
      No helper found for module: alert.
      Initializing new module helper …
      Module helper loaded: updatenotification
      No helper found for module: clock.
      Initializing new module helper …
      Module helper loaded: calendar
      No helper found for module: compliments.
      No helper found for module: currentweather.
      No helper found for module: weatherforecast.
      Initializing new module helper …
      Module helper loaded: newsfeed
      All module helpers loaded.
      Starting server on port 8080 …
      Starting server op port 8080 …
      Server started …
      Connecting socket for: updatenotification
      Connecting socket for: calendar
      Starting node helper for: calendar
      Connecting socket for: newsfeed
      Starting module: newsfeed
      Sockets connected & modules started …
      Launching application.

      • 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
      L
      lagoon7
    • Blank screen when Running Magic Mirror on Raspian and RP3.

      Installed the latest Magic Mirror on a new RP3 with the latest Raspian OS. I used the manual install, since there was something not right with the raspberry pi that’s on the github. I copied the config.js.sample to config.js due to the warning screen. I should see at least 5 modules running? I have a blank screen and nothing in the console nor in the terminal when I close the app, that indicates an error. Is there a directory of somesorts that has logging information?

      What diags can I provide to help?

      posted in Troubleshooting
      L
      lagoon7
    • RE: Installing MagicMirror2 on Ubuntu Mate 16.04 issue with electron

      Still coming up with a blank screen. However no messages from the console. I am using the sample config file as well.

      posted in Troubleshooting
      L
      lagoon7
    • Installing MagicMirror2 on Ubuntu Mate 16.04 issue with electron

      Having an install issue with electron on Ubuntu MATE 16.04 LTS. I have installed via the raspberry pi script 2 times but this error is different.

      I am installing this on a brand new raspberry pi 3.

      Can anyone help with the electron issue?

      > sh run-start.sh
      
      /home/neo/MagicMirror/node_modules/electron/index.js:9
        throw new Error('Electron failed to install correctly, please delete node_modules/electron and try installing again')
        ^
      
      Error: Electron failed to install correctly, please delete node_modules/electron and try installing again
          at Object. (/home/neo/MagicMirror/node_modules/electron/index.js:9:9)
          at Module._compile (module.js:570:32)
          at Object.Module._extensions..js (module.js:579:10)
          at Module.load (module.js:487:32)
          at tryModuleLoad (module.js:446:12)
          at Function.Module._load (module.js:438:3)
          at Module.require (module.js:497:17)
          at require (internal/module.js:20:19)
          at Object. (/home/neo/MagicMirror/node_modules/electron/cli.js:3:16)
          at Module._compile (module.js:570:32)
      
      npm ERR! Linux 4.4.38-v7+
      npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "start"
      npm ERR! node v6.10.3
      npm ERR! npm  v3.10.10
      npm ERR! code ELIFECYCLE
      npm ERR! magicmirror@2.1.1 start: `sh run-start.sh`
      npm ERR! Exit status 1
      npm ERR! 
      npm ERR! Failed at the magicmirror@2.1.1 start script 'sh run-start.sh'.
      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 magicmirror package,
      npm ERR! not with npm itself.
      npm ERR! Tell the author that this fails on your system:
      npm ERR!     sh run-start.sh
      npm ERR! You can get information on how to open an issue for this project with:
      npm ERR!     npm bugs magicmirror
      npm ERR! Or if that isn't available, you can get their info via:
      npm ERR!     npm owner ls magicmirror
      npm ERR! There is likely additional logging output above.
      
      posted in Troubleshooting
      L
      lagoon7
    • 1 / 1