@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.
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;}