MMM-awesome-alexa
MMM-awesome-alexa copied to clipboard
Error after NPM INSTALL
If you know how to fix the issue, make a pull request instead.
- [ ] Before submitting your issue add logs from your MagicMirror by running command
pm2 log MagicMirror
after fresh install of magic mirror on pi 3b trying to get awesome Alexa ,but at the (npm install ) i get this error " /MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy $ npm install
[email protected] install /home/pi/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy node-pre-gyp install --fallback-to-build
node-pre-gyp WARN Using request for node-pre-gyp https download
[snowboy] Success: "/home/pi/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy/lib/node/binding/Release/node-v64-linux-arm/snowboy.node" already installed
Pass --update-binary to reinstall or --build-from-source to recompile
npm WARN prepublish-on-install As of npm@5, prepublish
scripts are deprecated.
npm WARN prepublish-on-install Use prepare
for build steps and prepublishOnly
for upload-only.
npm WARN prepublish-on-install See the deprecation note in npm help scripts
for more information.
[email protected] prepublish /home/pi/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy tsc --listFiles
../../../../node_modules/@types/unist/index.d.ts:31:20 - error TS2304: Cannot find name 'unknown'.
31 [key: string]: unknown; ~~~~~~~
../../../../node_modules/@types/unist/index.d.ts:40:20 - error TS2304: Cannot find name 'unknown'.
40 [key: string]: unknown; ~~~~~~~
../../../../node_modules/@types/unist/index.d.ts:97:12 - error TS2304: Cannot find name 'unknown'.
97 value: unknown; ~~~~~~~
../../../../node_modules/@types/vfile-message/index.d.ts:69:24 - error TS2304: Cannot find name 'unknown'.
69 [key: string]: unknown; ~~~~~~~
../../../../node_modules/@types/vfile/index.d.ts:48:15 - error TS2304: Cannot find name 'unknown'.
48 data: unknown; ~~~~~~~
/home/pi/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy/node_modules/typescript/lib/lib.es6.d.ts
/home/pi/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy/lib/node/index.ts
/home/pi/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy/lib/node/node-pre-gyp.d.ts
/home/pi/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy/lib/node/SnowboyDetectNative.d.ts
/home/pi/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy/node_modules/@types/node/base.d.ts
/home/pi/MagicMirror/modules/MMM-awesome-alexa/node_modules/snowboy/node_modules/@types/node/index.d.ts
/home/pi/MagicMirror/node_modules/@types/events/index.d.ts
/home/pi/MagicMirror/node_modules/@types/minimatch/index.d.ts
/home/pi/MagicMirror/node_modules/@types/glob/index.d.ts
/home/pi/MagicMirror/node_modules/@types/unist/index.d.ts
/home/pi/MagicMirror/node_modules/@types/vfile-message/index.d.ts
/home/pi/MagicMirror/node_modules/@types/vfile/index.d.ts
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! [email protected] prepublish: tsc --listFiles
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] prepublish 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/2019-09-09T21_34_36_165Z-debug.log please any help
I too faced the same issue. As a pi newbie I'm completely lost!
Did you manage to resolve it?
No still the same problem
Same here - Mac Pro - 2009 Ubuntu 16.04 Nodes 8 I managed to complete the installation and alex is live and well for a very short time then Just stuck on on
transiting to status : busy
And it not the electron.js problem of crome - checked that. Thinking its this 3 rd time re-configuring the module ,any help will be appreciated. Thanks
npm ERR! code ELIFECYCLE npm ERR! errno 2 npm ERR! [email protected] prepublish:
tsc --listFiles npm ERR! Exit status 2 npm ERR! npm ERR! Failed at the [email protected] prepublish script.
Any news ???
Same here - Mac Pro - 2009 Ubuntu 16.04 Nodes 8 I managed to complete the installation and alex is live and well for a very short time then Just stuck on on
transiting to status : busy
And it not the electron.js problem of crome - checked that. Thinking its this 3 rd time re-configuring the module ,any help will be appreciated. Thanks
npm ERR! code ELIFECYCLE npm ERR! errno 2 npm ERR! [email protected] prepublish:
tsc --listFilesnpm ERR! Exit status 2 npm ERR! npm ERR! Failed at the [email protected] prepublish script.
how do you complete the installation?
Hi no news yet ..any assistance will be appreciate
I just continued with the installation process after the error and it work for a while Then hangs Hope someone picks up this thread and offer some help.....
Hi, the same for me. if any solution found I appreciate, too many installations with always the same error. is this in relation with version of Raspian for Rasberry PI ? buster, stretch, jessie ? Erreur.npm.install.txt
I gave up on this module as I don't think it's maintained anymore. I'd recommend trying AlexaPi. I haven't tried it myself yet but it's supposed to work with MagicMirror. https://github.com/alexa-pi/AlexaPi
I install AlexaPi (AMAZON version) on a raspberry PI3 with Strecht, IT WORKS, but I think that interactions with the Magic Mirror screen are not supported. And https://github.com/respeaker/avs is somebody know ?
Try with node -v 10.16.0
sudo npm install -g n sudo n 10.16.0 And then try to install