Skip to content
This repository has been archived by the owner on Feb 8, 2019. It is now read-only.

Urgent Issue on installation

Seongnoh Sean Yi edited this page Nov 22, 2017 · 4 revisions

Issues

This is urgent issue page for solving problems

no repository, no license warning on Step 2.

That is not important, just ignore them.

Cannot find module... (esp. related with electron ver 1.7)

This is caused by a difference between versions of electron of MagicMirror and dependencies.

In this case, you should re-install many things manually. (Sorry, This is urgent fix.) First, you should copy resouces/token.js and your keyFile.json(Google cloud speech account key file) to safe area.

cd ~/MagicMirror/modules
rm -rf MMM-Assistant
git clone https://github.com/eouia/MMM-Assistant
cd MMM-Assistant
npm install @google-cloud/speech
npm install --build-from-source google-assistant
npm install node-aplay
npm install node-record-lpcm16
npm install speaker
npm install snowboy
npm install electron-rebuild
./node_modules/.bin/electron-rebuild --pre-gyp-fix
cd node_modules/grpc
npm install --build-from-source

It will take long time. Then, restore your copied files to the proper position.

There could be many WARN and Errors. But most of all could be ignored.