I have a matrix creator on a Raspberry Pi 3. I went through the ODAS demo setup in https://www.hackster.io/matrix-labs/direction-of-arrival-for-matrix-voice-creator-using-odas-b7a15band it appeared to be working, but when testing it I found that LEDs D22 through 35 don’t light up. It seems to be tracking sounds ok and follows the sound of me scratching my fingers on the desk, but sound sources opposite D22 through 35 don’t cause the leds to light.
I thought maybe I could troubleshoot by installing ODAS-WEB but this is not working for me either. When I try to do the nrpm install I get a raft of errors.
Any ideas on how to fix?
windows log of ODAS-WEB install
c:\GitHubRepos\odas_web>npm install
npm WARN engine grpc@1.23.3: wanted: {“node”:">=4"} (current: {“node”:“0.12.2”,“npm”:“2.7.4”})
npm WARN engine electron@5.0.10: wanted: {“node”:">= 4.0"} (current: {“node”:“0.12.2”,“npm”:“2.7.4”})
npm WARN engine electron-download@4.1.1: wanted: {“node”:">= 4.0"} (current: {“node”:“0.12.2”,“npm”:“2.7.4”})
npm WARN engine env-paths@1.0.0: wanted: {“node”:">=4"} (current: {“node”:“0.12.2”,“npm”:“2.7.4”})
npm WARN engine path-exists@3.0.0: wanted: {“node”:">=4"} (current: {“node”:“0.12.2”,“npm”:“2.7.4”})
npm WARN engine sumchecker@2.0.2: wanted: {“node”:">= 4.0"} (current: {“node”:“0.12.2”,“npm”:“2.7.4”})
npm WARN engine deep-extend@0.6.0: wanted: {“node”:">=4.0.0"} (current: {“node”:“0.12.2”,“npm”:“2.7.4”})
npm WARN engine request@2.88.0: wanted: {“node”:">= 4"} (current: {“node”:“0.12.2”,“npm”:“2.7.4”})
npm WARN engine universalify@0.1.2: wanted: {“node”:">= 4.0.0"} (current: {“node”:“0.12.2”,“npm”:“2.7.4”})
npm WARN engine har-validator@5.1.3: wanted: {“node”:">=6"} (current: {“node”:“0.12.2”,“npm”:“2.7.4”})
npm WARN engine har-schema@2.0.0: wanted: {“node”:">=4"} (current: {“node”:“0.12.2”,“npm”:“2.7.4”})
npm WARN engine punycode@2.1.1: wanted: {“node”:">=6"} (current: {“node”:“0.12.2”,“npm”:“2.7.4”})
> electron@5.0.10 postinstall c:\GitHubRepos\odas_web\node_modules\electron
> node install.js
c:\GitHubRepos\odas_web\node_modules\electron\node_modules\electron-download\lib\index.js:3
const arch = require('./arch')
^^^^^
SyntaxError: Use of const in strict mode.
at exports.runInThisContext (vm.js:73:16)
at Module._compile (module.js:443:25)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object.<anonymous> (c:\GitHubRepos\odas_web\node_modules\electron\install.js:9:16)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
/
> grpc@1.23.3 install c:\GitHubRepos\odas_web\node_modules\grpc
> node-pre-gyp install --fallback-to-build --library=static_library
node-pre-gyp WARN Using needle for node-pre-gyp https download
node-pre-gyp ERR! UNCAUGHT EXCEPTION
node-pre-gyp ERR! stack c:\GitHubRepos\odas_web\node_modules\grpc\node_modules\tar\lib\create.js:4
node-pre-gyp ERR! stack const hlo = require('./high-level-opt.js')
node-pre-gyp ERR! stack ^^^^^
node-pre-gyp ERR! stack SyntaxError: Use of const in strict mode.
node-pre-gyp ERR! stack at exports.runInThisContext (vm.js:73:16)
node-pre-gyp ERR! stack at Module._compile (module.js:443:25)
node-pre-gyp ERR! stack at Object.Module._extensions..js (module.js:478:10)
node-pre-gyp ERR! stack at Module.load (module.js:355:32)
node-pre-gyp ERR! stack at Function.Module._load (module.js:310:12)
node-pre-gyp ERR! stack at Module.require (module.js:365:17)
node-pre-gyp ERR! stack at require (module.js:384:17)
node-pre-gyp ERR! stack at Object.<anonymous> (c:\GitHubRepos\odas_web\node_modules\grpc\node_modules\tar\index.js:4:30)
node-pre-gyp ERR! stack at Module._compile (module.js:460:26)
node-pre-gyp ERR! stack at Object.Module._extensions..js (module.js:478:10)
node-pre-gyp ERR! System Windows_NT 6.3.9600
node-pre-gyp ERR! command "node" "c:\\GitHubRepos\\odas_web\\node_modules\\grpc\\node_modules\\node-pre-gyp\\bin\\node-pre-gyp" "install" "--fallback-to-build" "--library=static_library"
node-pre-gyp ERR! cwd c:\GitHubRepos\odas_web\node_modules\grpc
node-pre-gyp ERR! node -v v0.12.2
node-pre-gyp ERR! node-pre-gyp -v v0.13.0
node-pre-gyp ERR! This is a bug in `node-pre-gyp`.
node-pre-gyp ERR! Try to update node-pre-gyp and file an issue if it does not help:
node-pre-gyp ERR! <https://github.com/mapbox/node-pre-gyp/issues>
npm ERR! Windows_NT 6.3.9600
npm ERR! argv "C:\\Program Files (x86)\\nodejs\\\\node.exe" "C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install"
npm ERR! node v0.12.2
npm ERR! npm v2.7.4
npm ERR! code ELIFECYCLE
npm ERR! electron@5.0.10 postinstall: `node install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the electron@5.0.10 postinstall script 'node install.js'.
npm ERR! This is most likely a problem with the electron package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node install.js
npm ERR! You can get their info via:
npm ERR! npm owner ls electron
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! c:\GitHubRepos\odas_web\npm-debug.log
c:\GitHubRepos\odas_web>