Read the statement by Michael Teeuw here.
MMM-Voice-Control - only black screen after installation.
-
After I installed the module, the display remains completely black when the MM2 started.
Can someone help me?
npm start -dev
magicmirror@2.1.0 start /home/pi/MagicMirror
electron js/electron.js
Starting MagicMirror: v2.1.0
Loading config …
Loading module helpers …
No helper found for module: MMM-Voice-Control.
No helper found for module: alert.
Initializing new module helper …
No helper found for module: clock.
Initializing new module helper …
No helper found for module: currentweather.
No helper found for module: weatherforecast.
Initializing new module helper …
Initializing new module helper …
Initializing new module helper …
Initializing new module helper …
Initializing new module helper …
Initializing new module helper …
Initializing new module helper …
All module helpers loaded.
Starting server op port 8080 …
Server started …
Connecting socket for: updatenotification
Connecting socket for: calendar
Starting node helper for: calendar
Connecting socket for: MMM-DWD-WarnWeather
MMM-DWD-WarnWeather helper started…
Connecting socket for: newsfeed
Starting module: newsfeed
Connecting socket for: MMM-WatchDog
Staring module helper: MMM-WatchDog
Connecting socket for: MMM-FRITZ-Box-Callmonitor
Starting module: MMM-FRITZ-Box-Callmonitor
Connecting socket for: MMM-Remote-Control
Starting node helper for: MMM-Remote-Control
Connecting socket for: MMM-Admin-Interface
Starting node helper for: MMM-Admin-Interface
Connecting socket for: MMM-Fuel
Starting module: MMM-Fuel
Sockets connected & modules started …
Launching application./home/pi/.pm2/logs/mm-error-0.log
without content -
@Q14siX can you start the mirror with
npm start dev
and check if you can spot an error in the console there? the log you posted looks fine cant see an issue here -
No changes…
npm start dev
magicmirror@2.1.0 start /home/pi/MagicMirror
electron js/electron.js “dev”
Starting MagicMirror: v2.1.0
Loading config …
Loading module helpers …
No helper found for module: MMM-Voice-Control.
No helper found for module: alert.
Initializing new module helper …
No helper found for module: clock.
Initializing new module helper …
No helper found for module: currentweather.
No helper found for module: weatherforecast.
Initializing new module helper …
Initializing new module helper …
Initializing new module helper …
Initializing new module helper …
Initializing new module helper …
Initializing new module helper …
Initializing new module helper …
Initializing new module helper …
All module helpers loaded.
Starting server op port 8080 …
Server started …
Connecting socket for: updatenotification
Connecting socket for: calendar
Starting node helper for: calendar
Connecting socket for: MMM-DWD-WarnWeather
MMM-DWD-WarnWeather helper started…
Connecting socket for: MMM-SystemStats
Connecting socket for: newsfeed
Starting module: newsfeed
Connecting socket for: MMM-WatchDog
Staring module helper: MMM-WatchDog
Connecting socket for: MMM-FRITZ-Box-Callmonitor
Starting module: MMM-FRITZ-Box-Callmonitor
Connecting socket for: MMM-Remote-Control
Starting node helper for: MMM-Remote-Control
Connecting socket for: MMM-Admin-Interface
Starting node helper for: MMM-Admin-Interface
Connecting socket for: MMM-Fuel
Starting module: MMM-Fuel
Sockets connected & modules started …
Launching application. -
@Q14siX you are posting the terminal log but when you start with npm start dev you have a window on the side which has also a console log
-
Initializing MagicMirror.
translator.js:182 Loading core translation file: translations/de.json
translator.js:204 Loading core translation fallback file: translations/en.json
loader.js:182 Load script: modules/MMM-Voice-Control//MMM-Voice-Control.js
module.js:415 Module registered: MMM-Voice-Control
loader.js:152 Bootstrapping module: MMM-Voice-Control
loader.js:182 Load script: modules/MMM-Voice-Control//node_modules/annyang/annyang.js
annyang.js Failed to load resource: the server responded with a status of 404 (Not Found) -
@Q14siX did you run
npm install
in the module directory? -
Yes, already several times.
But:
npm install
npm WARN enoent ENOENT: no such file or directory, open ‘/home/pi/MagicMirror/modules/package.json’
npm WARN enoent ENOENT: no such file or directory, open ‘/home/pi/MagicMirror/modules/node_modules/node_helper/package.json’
npm WARN modules No description
npm WARN modules No repository field.
npm WARN modules No README data
npm WARN modules No license field.And:
~/MagicMirror/modules/MMM-Voice-Control $ npm install
Magic-Mirror-Module-Voice-Control@1.0.0 /home/pi/MagicMirror/modules/MMM-Voice-Control
└── annyang@2.6.0 -
@Q14siX the second should fix your issue
-
In the module is an error.
The annyang.js file must be manually copied from the directory “dist” to the directory of the module.