Ok, turned out It was a silly mistake, I forget to change the region in the MirrorMirror.js.
I don’t have that exception anymore.
However, even though the module launch without crash, nothing is happening. I say to my mic “Alexa on the wall” but nothing is happening. (The log doesn’t say anything). Any idea why ?
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
Posts
-
RE: MMM-MirrorMirrorOnTheWall expection
-
MMM-MirrorMirrorOnTheWall expection
Hello, I got the exception when using the MMM-MirrorMirrorOnTheWall Module
Here is my logs:0|mm | Whoops! There was an uncaught exception... 0|mm | { Error: write EPROTO 1950990336:error:14094416:SSL routines:ssl3_read_bytes:sslv3 alert certificate unknown:../../vendor/node/deps/openssl/openssl/ssl/s3_pkt.c:1472:SSL alert number 46 0|mm | 1950990336:error:1409E0E5:SSL routines:ssl3_write_bytes:ssl handshake failure:../../vendor/node/deps/openssl/openssl/ssl/s3_pkt.c:656: 0|mm | at exports._errnoException (util.js:1026:11) 0|mm | at WriteWrap.afterWrite (net.js:795:14) code: 'EPROTO', errno: 'EPROTO', syscall: 'write' }'"
I do have an internet connection for sure. I have the folder “certs” . Here is my MMM-MirrorMirrorOnTheWall folder achitecture.
. ├── certs │ ├── keys.json │ ├── keys_sample.json │ ├── MagicMirror.cert.pem │ ├── MagicMirror.private.key │ ├── MagicMirror.public.key │ └── root-CA.crt ├── LICENSE.txt ├── MirrorMirror.js ├── MMM-MirrorMirrorOnTheWall.css ├── MMM-MirrorMirrorOnTheWall.js ├── ModuleNames.json ├── node_helper.js ├── node_modules ├── package.json
(The node_modules have a lot of folder in it so I chose not to past the content of it here for better visibility)
What does this exception mean ? How can I solve it ?
-
npm start dev doesn't work
When I try to run “npm start dev” or “DISPLAY=:0 npm start dev” I got an error tellming me that “start” doesn’t exist
pi@raspberrypi:~ $ npm start dev pm ERR! missing script: start npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2017-03-30T15_11_52_091Z-debug.log
The log file mentioned in that message contain:
pi@raspberrypi:~ $ cat /home/pi/.npm/_logs/2017-03-30T15_11_52_091Z-debug.log 0 info it worked if it ends with ok 1 verbose cli [ '/usr/bin/nodejs', '/usr/bin/npm', 'start', 'dev' ] 2 info using npm@4.4.4 3 info using node@v6.9.4 4 verbose config Skipping project config: /home/pi/.npmrc. (matches userconfig) 5 verbose stack Error: missing script: start 5 verbose stack at run (/usr/lib/node_modules/npm/lib/run-script.js:151:19) 5 verbose stack at /usr/lib/node_modules/npm/lib/run-script.js:61:5 5 verbose stack at /usr/lib/node_modules/npm/node_modules/read-package-json/read-json.js:356:5 5 verbose stack at checkBinReferences_ (/usr/lib/node_modules/npm/node_modules/read-package-json/read-json.js:320:45) 5 verbose stack at final (/usr/lib/node_modules/npm/node_modules/read-package-json/read-json.js:354:3) 5 verbose stack at then (/usr/lib/node_modules/npm/node_modules/read-package-json/read-json.js:124:5) 5 verbose stack at ReadFileContext. (/usr/lib/node_modules/npm/node_modules/read-package-json/read-json.js:295:20) 5 verbose stack at ReadFileContext.callback (/usr/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:78:16) 5 verbose stack at FSReqWrap.readFileAfterOpen [as oncomplete] (fs.js:365:13) 6 verbose cwd /home/pi 7 verbose Linux 4.4.21-v7+ 8 verbose argv "/usr/bin/nodejs" "/usr/bin/npm" "start" "dev" 9 verbose node v6.9.4 10 verbose npm v4.4.4 11 error missing script: start 12 verbose exit [ 1, true ]
How can I fix that issue ?