sonus stopps working
Today after playing around, started smart-mirror:
npm start
[email protected] start /home/pi/smart-mirror electron main.js
ERROR me/pi/smart-mirror/sonus.js:4 const config = require(__dirname + "/config.js") ^^^^^ SyntaxError: Use of const in strict mode. at Module._compile (module.js:437:25) at Object.Module._extensions..js (module.js:467:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Module.runMain (module.js:492:10) at process.startup.processNextTick.process._tickCallback (node.js:244:9)
Excep voice recocizing everything works.
What version of Node are you using?
Now i am in real problems, tried to reinstall smart-mirror, but fails here:
npm ERR! Linux 4.4.21-v7+ npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" npm ERR! node v7.0.0 npm ERR! npm v3.10.8 npm ERR! code ELIFECYCLE
npm ERR! [email protected] install: node-pre-gyp install --fallback-to-build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script 'node-pre-gyp install --fallback-to-build'.
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 grpc package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-pre-gyp install --fallback-to-build
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs grpc
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls grpc
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request: npm ERR! /home/pi/smart-mirror/npm-debug.log Unable to install dependencies :(
Check out #427 You problem is with node 7.x
Have downgraded to node 6.9.1, but:
Installing smart-mirror dependencies... This may take a while. Go grab a beer :) npm WARN deprecated [email protected]: use uuid module instead
[email protected] preinstall /home/pi/smart-mirror/node_modules/.staging/snowboy-ae1258f3 npm install node-pre-gyp
Unable to install dependencies :(
I´ve installed electron by hand, then use npm install. Now it´s back working. Maybe there is something wrong in the "one click install script"
I hear that when you get those errors there's a debug log, can you please share it? The WARN is just that, only a warning, and should not cause any issues with installation.
This is 14 days old since the last update... @hyp3rx has this issue been resolved for you? if so please comment how it was resolved (hopefully @evancohen's comment helped) and close the issue. If it's not resolved please let us know how we can further help... Also please check us out on gitter.im if you haven't already...
If we don't hear anything over the next week we'll assume this is resolved and close the issue.
This should be solved by doing git pull && npm install within the smart-mirror directory...
I'm closing this as resolved...