Here is the debug log:
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/nodejs', '/usr/bin/npm', 'start' ]
2 info using email@example.com
3 info using firstname.lastname@example.org
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle email@example.com~prestart: firstname.lastname@example.org
6 silly lifecycle email@example.com~prestart: no script for prestart, continuing
7 info lifecycle firstname.lastname@example.org~start: email@example.com
8 verbose lifecycle firstname.lastname@example.org~start: unsafe-perm in lifecycle true
9 verbose lifecycle email@example.com~start: PATH: /usr/lib/node_modules/npm/bin/node-gyp-bin:/root/MagicMirror/node_modules/.bin:/usr/bin:/usr/local/sbin:/usr/local/b$
10 verbose lifecycle firstname.lastname@example.org~start: CWD: /root/MagicMirror
11 silly lifecycle email@example.com~start: Args: [ '-c', 'electron js/electron.js' ]
12 silly lifecycle firstname.lastname@example.org~start: Returned: code: 1 signal: null
13 info lifecycle email@example.com~start: Failed to exec start script
14 verbose stack Error: firstname.lastname@example.org start: `electron js/electron.js`
14 verbose stack Exit status 1
14 verbose stack at EventEmitter. (/usr/lib/node_modules/npm/lib/utils/lifecycle.js:245:16)
14 verbose stack at emitTwo (events.js:106:13)
14 verbose stack at EventEmitter.emit (events.js:191:7)
14 verbose stack at ChildProcess. (/usr/lib/node_modules/npm/lib/utils/spawn.js:24:14)
14 verbose stack at emitTwo (events.js:106:13)
14 verbose stack at ChildProcess.emit (events.js:191:7)
14 verbose stack at maybeClose (internal/child_process.js:850:16)
14 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:5)
15 verbose pkgid email@example.com
16 verbose cwd /root/MagicMirror
17 error Linux 4.4.9-v7+
18 error argv "/usr/bin/nodejs" "/usr/bin/npm" "start"
19 error node v6.2.0
20 error npm v3.8.9
21 error code ELIFECYCLE
22 error firstname.lastname@example.org start: `electron js/electron.js`
22 error Exit status 1
23 error Failed at the email@example.com start script 'electron js/electron.js'.
23 error Make sure you have the latest version of node.js and npm installed.
23 error If you do, this is most likely a problem with the magicmirror package,
23 error not with npm itself.
23 error Tell the author that this fails on your system:
23 error electron js/electron.js
Note from admin: Please use Markdown on code snippets so it is easier to read!
@MichMich I tried the jshint and jslint but, was not successful because of my lack of knowledge in this language. I fixed it but basically scrapping the whole file and doing one section at a time. I learnt a whole lot in two hours though haha
I tried to use the HTML tag to call a normal BitMap, but it just returns on the screen as a square with the normal icon that an image cannot be loaded or found…
I have the BitMap within the same directory as the index.html file and still this does not work, I think thought I would test the idea of loading a random image from google image using the exact link…
This worked straight away for me, but I cannot seem to get it to load regardless of the directory I use where the image is placed within the MagicMirror directory
If anyone cold help, put me straight that would be awesome!
Fairly new to MagicMirror2, everything is installed, current version, works a treat, looks awesome too!
Anyway I added this code as an tag within a tag, now this is the strange part if I open the index.html file using firefox itself runs as it should and plays the complete playlist, auto plays, repeats… Everything is fine.
But once it is opened as it should be on my Raspberry Pi 2 B, it will cue to autoplay the first song/video but then just show a revolving icon meaning it is loading and nothing more. However if I use tab on my keyb and hit the pause button and then hit the enter button again it is quite happy to play the next song/video for me until the end of that said track.
Here is the exact HTML
You can insert that within a tag if you wish and see if that will play the next track after the first automatically yourself if you wish…
Just the mind is boggling here and I’m not sure how or why this is happening…
Anyhelp of an example would be awesome
pi@raspberrypi ~ $ date
Sat May 14 09:32:09 EDT 2016
pi@raspberrypi ~ $
and here is the screenshot. if i wake up every day at 9am, i would not notice the 8hrs delay.
but since i wake up at 6am, thats when i noticed the delay as seen in previous screenshots
I can also verify this as I just setup a brand new rPi yesterday. Downloaded a fresh copy of jessie, booted up the rPi, did the setup for it, made sure all apps were up to date (with 'sudo apt-get update ; sudo apt-get upgrade' then installed MM as per the wiki’s instructions. Done.