Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing dependency showdown #96

Open
mdemant opened this issue Aug 1, 2021 · 0 comments
Open

Missing dependency showdown #96

mdemant opened this issue Aug 1, 2021 · 0 comments

Comments

@mdemant
Copy link

mdemant commented Aug 1, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant