Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

node sonus.js #82

Open
jisu-1111 opened this issue Apr 25, 2018 · 5 comments
Open

node sonus.js #82

jisu-1111 opened this issue Apr 25, 2018 · 5 comments

Comments

@jisu-1111
Copy link

jisu-1111 commented Apr 25, 2018

$ npm run sonus

[email protected] sonus /home/pi/test-smart-mirror/smart-mirror
node sonus.js

module.js:549
throw err;
^

Error: Cannot find module '/home/pi/test-smart-mirror/smart-mirror/node_modules/snowboy/lib/node/binding/Release/node-v57-linux-arm/snowboy.node'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object. (/home/pi/test-smart-mirror/smart-mirror/node_modules/snowboy/lib/node/index.js:8:29)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] sonus: node sonus.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] sonus script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/pi/.npm/_logs/2018-04-25T08_11_43_432Z-debug.log

what's problem?
node is latest version 8.xx and npm version is 5.6.0
please , help me

@jisu-1111 jisu-1111 changed the title hi evan node sonus.js Apr 25, 2018
@evancohen
Copy link
Owner

This looks like a smart mirror related issue - I'd recommend that you try reinstalling snowboy from within your test-smart-mirror directory.

npm rm snowboy
npm install snowboy

@jisu-1111
Copy link
Author

Thank you for your reply.But there was another problem.
How can i fix it?

Error: libcblas.so.3: cannot open shared object file: No such file or directory
at Object.Module._extensions..node (module.js:681:18)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object. (/home/pi/test-smart-mirror/smart-mirror/node_modules/snowboy/lib/node/index.js:8:29)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] sonus: node sonus.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] sonus script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/pi/.npm/_logs/2018-05-02T08_38_45_837Z-debug.log

@evancohen
Copy link
Owner

Looks like you're missing the native dependencies. Double check that you have them all installed

@jisu-1111
Copy link
Author

Thank you for your reply.But there was another problem.
How can i fix it? help me plz

npm run sonus

[email protected] sonus /home/pi/smart-mirror
node sonus.js

!
!h: 1

!f:
!e: { streamingError:
{ Error: 3 INVALID_ARGUMENT: Invalid recognition 'config': bad language code.
at Object.exports.createStatusError (/home/pi/smart-mirror/node_modules/grpc/src/common.js:87:15)
at ClientDuplexStream._emitStatusIfDone (/home/pi/smart-mirror/node_modules/grpc/src/client.js:235:26)
at ClientDuplexStream._readsDone (/home/pi/smart-mirror/node_modules/grpc/src/client.js:201:8)
at /home/pi/smart-mirror/node_modules/grpc/src/client_interceptors.js:720:15
code: 3,
metadata: Metadata { _internal_repr: [Object] },
details: 'Invalid recognition 'config': bad language code.' } }

@evancohen
Copy link
Owner

What's the language code (eg: en-US) you are using in your smart mirror config? Make sure what you are using is supported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants