@cowboysdude said in trouble with config file:
@II12yanII said in trouble with config file:
@nuckinfutz said in trouble with config file:
If you still haven’t gotten anywhere I’ll zip up and send you my entire directory structure and a step by step instruction sheet I wrote for myself to get the basic mirror up and running. You can compare them to yours and see where we differ. That should give you some insight.
that would be awesome. i still havent gotten anywhere. i reinstalled node.js along with reinstalling magic mirror and so on. the only thing i havent tried reinstalling is raspbain. but i still get the same startup script failed electron.js
My suggestion would be this…
Format your card using this [please read the entire thing]->
https://forum.magicmirror.builders/topic/236/complete-setup-tutorial/3
and reinstall raspbian… This one -> RASPBIAN JESSIE WITH PIXEL from: https://www.raspberrypi.org/downloads/raspbian/
From there open a terminal window and run:
[Download and install the latest Node.js version]
curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
sudo apt-get install -y nodejs
After that is done then:
git clone https://github.com/MichMich/MagicMirror.git
go to the MagicMirror folder and run:
npm install
Once that’s completed run:
npm start
IF you get any errors post a screen shot as that helps VERY much :)
Thanks so much that fixed it for me. it now runs without errors. but im back to my original problem of my config file. the weather and news just stay at loading … and never update. here is a copy of my config file. i believe i put in my api key and everything correctly.
Edit. i got the fox news portion of my config file to work but the weather still doesn’t update at all.
/* Magic Mirror Config Sample
*
var config = {
port: 8080,
language: 'en',
timeFormat: 12,
units: 'imperial',
modules: [
{
module: 'alert',
},
{
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: 'Brunswick',
locationID: '23', //ID from http://www.openweathermap.org
appid: 'cea6dc928b7d5437e5883dcda250fa8e'
}
},
{
module: 'weatherforecast',
position: 'top_right',
header: 'Weather Forecast',
config: {
location: 'Brunswick',
locationID: '23', //ID from http://www.openweathermap.org
appid: 'cea6dc928b7d5437e5883dcda250fa8e'
}
},
{
module: 'newsfeed',
position: 'bottom_bar',
config: {
feeds: [
{
title: "Fox News",
url: "http://www.foxnews.com/about/rss/"
}
],
showSourceTitle: true,
showPublishDate: true
}
},
]
};
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== ‘undefined’) {module.exports = config;}