Open mdemant opened 3 years ago
Hi,
It seems that the npm installation of the MMM-Todoist git is missing showdown as a dependency. My experience:
I just installed Magic Mirror on my RPi 3. I did so on a clean Rasbian install using the automated script: bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/raspberry.sh)" from https://github.com/sdetweil/MagicMirror_scripts
I continued to add this module MMM-Todoist via the 2 installation steps here on this github project.
When I tried adding the module configuration to the config.js I could not get MagicMirror to run. If I removed it would start.
Checking the logs of pm2 i found this:
[01.08.2021 19:31.58.516] [ERROR] WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module 'showdown' Require stack: - /home/pi/MagicMirror/modules/MMM-Todoist/node_helper.js - /home/pi/MagicMirror/js/app.js - /home/pi/MagicMirror/serveronly/index.js [01.08.2021 19:31.58.531] [ERROR] Whoops! There was an uncaught exception... [01.08.2021 19:31.58.543] [ERROR] Error: Cannot find module 'showdown'
After running "npm install showdown" I could configure the config.js file and everything works.
Hi,
It seems that the npm installation of the MMM-Todoist git is missing showdown as a dependency. My experience:
I just installed Magic Mirror on my RPi 3. I did so on a clean Rasbian install using the automated script: bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/raspberry.sh)" from https://github.com/sdetweil/MagicMirror_scripts
I continued to add this module MMM-Todoist via the 2 installation steps here on this github project.
When I tried adding the module configuration to the config.js I could not get MagicMirror to run. If I removed it would start.
Checking the logs of pm2 i found this:
After running "npm install showdown" I could configure the config.js file and everything works.