Read the statement by Michael Teeuw here.
Starter problem
-
@strawberry-3.141
Thank you strawberry, but how about this now?pi@raspberrypi:~ $ DISPLAY=:0 npm start npm ERR! Linux 4.4.38-v7+ npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "start" npm ERR! node v6.9.4 npm ERR! npm v3.10.10 npm ERR! path /home/pi/package.json npm ERR! code ENOENT npm ERR! errno -2 npm ERR! syscall open npm ERR! enoent ENOENT: no such file or directory, open '/home/pi/package.json' npm ERR! enoent ENOENT: no such file or directory, open '/home/pi/package.json' npm ERR! enoent This is most likely not a problem with npm itself npm ERR! enoent and is related to npm not being able to find a file. npm ERR! enoent npm ERR! Please include the following file with any support request: npm ERR! /home/pi/npm-debug.log
Note from admin: Please use Markdown on code snippets for easier reading!
-
@kurt you are in the wrong directory again :D
cd ~MagicMirror
first -
@strawberry-3.141
Sorry , but now get the starting logo with the" Please create a config file"
Thank youpi@raspberrypi:~ $ cd ~/MagicMirror pi@raspberrypi:~/MagicMirror $ DISPLAY=:0 npm start > magicmirror@2.1.0 start /home/pi/MagicMirror > electron js/electron.js Starting MagicMirror: v2.1.0 Loading config ... WARNING! Could not find config file. Please create one. Starting with default configuration. Loading module helpers ... Initializing new module helper ... No helper found for module: helloworld. All module helpers loaded. Starting server op port 8080 ... Server started ... Connecting socket for: updatenotification Sockets connected & modules started ... Launching application.
Note from admin: Please use Markdown on code snippets for easier reading!
-
@kurt are you sure you have a config file in
/home/pi/MagicMirror/config
-
@strawberry-3.141 I’m allready working on that mistake.
you a right, don’t know who took this fike from that place.
Change the config, file and place over there.
Mystery…
Thanks
Kurt -
@strawberry-3.141
I’m working with File Zilla to transfer the files.
By now I guess he the one who makes the config folder dissapear. Have you ever heard of something like that? or can you recommend an other tool to upload files? I tried Cyberduck, but won’t work.
Thanks -
@kurt im using filezilla or an usb stick
-
@strawberry-3.141
Anyway, I copied the folder again to the pi.
calender, changed compliments and newsfeed appear.
Do you have an idea, why the weather and the forecast dont show?
Thanks/* 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"], language: 'de', 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: 'Vienna', locationID: '2761369', //ID from http://www.openweathermap.org appid: 'xxxxxxxxxxxxxxxxxx' } }, { module: 'weatherforecast', position: 'top_right', header: 'Das Wetter', config: { location: 'Vienna', locationID: '2761369', //ID from http://www.openweathermap.org appid: 'xxxxxxxxxxxxxxxxx' } }, { module: 'newsfeed', position: 'bottom_bar', config: { feeds: [ { title: "Der Standard", url: "http://derStandard.at/?page=rss&ressort=Seite1" } ], showSourceTitle: true, showPublishDate: true } }, ] };
Note from admin: Please use Markdown on code snippets for easier reading!
-
@kurt do you get any errors in the terminal, maybe your api key is incorrect etc.
-
@strawberry-3.141 Thank you for todays help, can’t find the reason,
and no, I get no messages.
Thanks a lot