@Sean It ended up being one of the changes I made to set up the pi for the screensaver edit. I did try passwd though. thanks eveyone. I got it up and running. I have another post for a module problem, once I get that figured out, I will start on the hardware.
Read the statement by Michael Teeuw here.
Posts
-
RE: Setting up Magic Mirror remotely?
-
added new module/not showing up
Added the module to the config file, it shows in the list below that is there, but says no helper, What is this and how do I fix it?
Starting MagicMirror: v2.1.3
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: MMM-JEOPARDY.
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 …
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 …Ready to go! Please point your browser to: http://localhost:8080
Create new calendar fetcher for url: http://www.calendarlabs.com/templates/ical/US-Holidays.ics - Interval: 300000
Create new news fetcher for url: http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml - Interval: 300000 -
RE: Setting up Magic Mirror remotely?
fixed the light display thing by rebooting with hdmi unplugged, then repluging it in, then rebooting, but the ssh message still there
-
RE: Setting up Magic Mirror remotely?
I got it to work, but then I went through the pi setup stuff to turn on the screensaver and wifi sleep, now when i tried to reboot, it says
[FAILED] Failed to start Light Display Manager
SSH is enabled and the default password for the ‘pi’ user has not been changed. This is a security risk - please login as the ‘pi’ user and type passwd to set a new password.
pi@raspberrypi: $How do i get it to continue to the desktop screen?
-
RE: Setting up Magic Mirror remotely?
ok read some on the repository, was able to run the serveronly and got this
Magic Mirror2
Please create a config file.
See README for more information.
If you get this message while your config file is already
created, your config file probably contains an error.
Use a JavaScript linter to validate your file.what next?
-
RE: Setting up Magic Mirror remotely?
Went back to the website and read, and found something about npm install, so ran that, it looked like it installed something, then ran npm start again and got:
magicmirror@2.1.3 start /home/pi/MagicMirror
sh run-start.sh
/home/pi/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/pi/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/pi/MagicMirror/node_modules/electron/cli.js:3:16)
at Module._compile (module.js:570:32)
npm ERR! Linux 4.9.35-v7+
npm ERR! argv “/usr/bin/node” “/usr/bin/npm” “start”
npm ERR! node v6.11.5
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! magicmirror@2.1.3 start:sh run-start.sh
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the magicmirror@2.1.3 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.
npm ERR! Please include the following file with any support request:
npm ERR! /home/pi/MagicMirror/npm-debug.log
pi@raspberrypi:~/MagicMirror $npm-debug.log
0 info it worked if it ends with ok
1 verbose cli [ ‘/usr/bin/node’, ‘/usr/bin/npm’, ‘start’, ‘dev’ ]
2 info using npm@3.10.10
3 info using node@v6.11.5
4 verbose run-script [ ‘prestart’, ‘start’, ‘poststart’ ]
5 info lifecycle magicmirror@2.1.3~prestart: magicmirror@2.1.3
6 silly lifecycle magicmirror@2.1.3~prestart: no script for prestart, continuing
7 info lifecycle magicmirror@2.1.3~start: magicmirror@2.1.3
8 verbose lifecycle magicmirror@2.1.3~start: unsafe-perm in lifecycle true
9 verbose lifecycle magicmirror@2.1.3~start: PATH: /usr/lib/node_modules/npm/bi$
10 verbose lifecycle magicmirror@2.1.3~start: CWD: /home/pi/MagicMirror
11 silly lifecycle magicmirror@2.1.3~start: Args: [ ‘-c’, 'sh run-start.sh "dev$
12 silly lifecycle magicmirror@2.1.3~start: Returned: code: 1 signal: null
13 info lifecycle magicmirror@2.1.3~start: Failed to exec start script
14 verbose stack Error: magicmirror@2.1.3 start:sh run-start.sh "dev"
14 verbose stack Exit status 1
14 verbose stack at EventEmitter. (/usr/lib/node_modules/npm/lib$
14 verbose stack at emitTwo (events.js:106:13)
14 verbose stack at EventEmitter.emit (events.js:191:7)
[ Read 45 lines ] -
RE: Setting up Magic Mirror remotely?
tried again today with the hdmi screen, it got to where it said something about it was loading a file that had 715 at the end and froze. so restarted removed the folder, and restarted installing remotely. it got to loading depandencies and gave me this :
Installing dependencies …
npm WARN prefer global coffee-script@1.10.0 should be installed with -g
npm WARN prefer global jsonlint@1.6.2 should be installed with -guws@0.14.5 install /home/pi/MagicMirror/node_modules/uws
node-gyp rebuild > build_log.txt 2>&1 || exit 0
Unable to install dependencies!tried starting npm remotely got this:
pi@raspberrypi:~ $ npm start
npm ERR! Linux 4.9.35-v7+
npm ERR! argv “/usr/bin/node” “/usr/bin/npm” “start”
npm ERR! node v6.11.5
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.logtried starting from the hdmi screen same thing.
tried starting from with the magicmirror folder, got this:
pi@raspberrypi:~/MagicMirror $ npm start
magicmirror@2.1.3 start /home/pi/MagicMirror
sh run-start.sh
/home/pi/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/pi/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/pi/MagicMirror/node_modules/electron/cli.js:3:16)
at Module._compile (module.js:570:32)
npm ERR! Linux 4.9.35-v7+
npm ERR! argv “/usr/bin/node” “/usr/bin/npm” “start”
npm ERR! node v6.11.5
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! magicmirror@2.1.3 start:sh run-start.sh
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the magicmirror@2.1.3 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.
npm ERR! Please include the following file with any support request:
npm ERR! /home/pi/MagicMirror/npm-debug.log
pi@raspberrypi:~/MagicMirror $
Can anyone point me in the direction to correct? I have already upgraded Node.js so i know it cant be that.npm-bug.log:
0 info it worked if it ends with ok
1 verbose cli [ ‘/usr/bin/node’, ‘/usr/bin/npm’, ‘start’ ]
2 info using npm@3.10.10
3 info using node@v6.11.5
4 verbose run-script [ ‘prestart’, ‘start’, ‘poststart’ ]
5 info lifecycle magicmirror@2.1.3~prestart: magicmirror@2.1.3
6 silly lifecycle magicmirror@2.1.3~prestart: no script for prestart, continuing
7 info lifecycle magicmirror@2.1.3~start: magicmirror@2.1.3
8 verbose lifecycle magicmirror@2.1.3~start: unsafe-perm in lifecycle true
9 verbose lifecycle magicmirror@2.1.3~start: PATH: /usr/lib/node_modules/npm/bi$
10 verbose lifecycle magicmirror@2.1.3~start: CWD: /home/pi/MagicMirror
11 silly lifecycle magicmirror@2.1.3~start: Args: [ ‘-c’, ‘sh run-start.sh’ ]
12 silly lifecycle magicmirror@2.1.3~start: Returned: code: 1 signal: null
13 info lifecycle magicmirror@2.1.3~start: Failed to exec start script
14 verbose stack Error: magicmirror@2.1.3 start:sh run-start.sh
14 verbose stack Exit status 1
14 verbose stack at EventEmitter. (/usr/lib/node_modules/npm/lib$
14 verbose stack at emitTwo (events.js:106:13)
14 verbose stack at EventEmitter.emit (events.js:191:7)
[ Read 45 lines ] -
RE: Setting up Magic Mirror remotely?
@yawns Via VNC, It froze when it did the two warnings. the pi prompt never returned. I just shut it down. Had to leave. Will try again when I have time, next time via the hdmi screen.
-
Setting up Magic Mirror remotely?
Today I tried setting up my pi remotely from a laptop, It went thru a lot of stuff then all of a sudden gave two warnings, something about something needed loaded with -g. I didnt screen capture it. Do I have to have the hdmi screen hooked up and do it from there, or is doing it remotely ok?