Hi all,
happy to have my two new Matrix Voice. I plugged them on a new Rasp Pi3 installed Raspberry Stretch and wanted to play around.
But actually I got stuck when I just followed the Get Started Section of Matrix Core.
https://matrix-io.github.io/matrix-documentation/matrix-core/getting-started/hello-world/
I did all the steps:
git clone https://github.com/matrix-io/matrix-creator-malos;
cd matrix-creator-malos;
git submodule update --init;
cd src/js_test;
then when running npm install I receive the following error:
npm ERR! 404 Not Found
npm ERR! 404
npm ERR! 404 'protobufjs/fetch' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it
npm ERR! 404 It was specified as a dependency of 'protobufjs'
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, or http url, or git url.
npm ERR! System Linux 4.9.59-v7+
npm ERR! command "/usr/bin/nodejs" "/usr/bin/npm" "install"
npm ERR! cwd /home/pi/matrix-creator-malos/src/js_test
npm ERR! node -v v4.8.2
npm ERR! npm -v 1.4.21
npm ERR! code E404
|
> zmq@2.15.3 install /home/pi/matrix-creator-malos/src/js_test/node_modules/zmq
> node-gyp rebuild
gyp: Call to 'node -e "require('nan')"' returned exit status 1 while in binding.gyp. while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/usr/share/node-gyp/lib/configure.js:304:16)
gyp ERR! stack at emitTwo (events.js:87:13)
gyp ERR! stack at ChildProcess.emit (events.js:172:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:211:12)
gyp ERR! System Linux 4.9.59-v7+
gyp ERR! command "/usr/bin/nodejs" "/usr/bin/node-gyp" "rebuild"
gyp ERR! cwd /home/pi/matrix-creator-malos/src/js_test/node_modules/zmq
gyp ERR! node -v v4.8.2
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
npm WARN This failure might be due to the use of legacy binary "node"
npm WARN For further explanations, please read
/usr/share/doc/nodejs/README.Debian
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /home/pi/matrix-creator-malos/src/js_test/npm-debug.log
npm ERR! not ok code 0
Google’ed a lot but did find a helpful hint.
It seems I miss an essential step.
Any hint is highly appreciated.