ianperrin / MMM-Formula1

A MagicMirror Module for displaying Formula 1 driver and constructor standings.
MIT License
30 stars 13 forks source link

Error found: Error: Cannot find module 'f1-api' #34

Closed JOLLY6R33NGIANT closed 2 years ago

JOLLY6R33NGIANT commented 2 years ago

After installing the module when I go to use it I get the error: "Error found: Error: Cannot find module 'f1-api'" and a black screen with only the cursor visible.

ianperrin commented 2 years ago

@JOLLY6R33NGIANT

thanks for raising the issue.

if you have recently installed (or updated) the MMM-Formula1 module, can you check you have installed the dependencies


cd ~/MagicMirror/modules/MMM-Formula1
npm install --production
JOLLY6R33NGIANT commented 2 years ago

I had installed them but in the wrong place. Works perfectly now. Thanks.

ianperrin commented 2 years ago

Glad it’s sorted. I’ll tweak the notes In the ReadMe to help others hopefully avoid similar issues 👍🏼