A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
Cannot find module 'request'
-
Hi all!
I’m using the docker solution for MagicMirror, running in Electron “mode”. Several modules that require fetching content seems to be relying on the “Request” NPM package. This is not installed in the docker MagicMirror package/solution.I’ve tried installing the package in the “mm” container, using
npm install request
- that did not resolve the issue.I was hoping someone should have a tip or two for me. Anyone had this issue before. Could not find anything in the forum.
Thanks for any help!
Cheers!
Rune -
-
@rune so you need to do that IN the module folder in the container
on the docker host
docker exec -it mm bash cd modules/modulename npm install request cd ../othermodulename npm install request exit
-
-
@karsten13 Thanks! That worked! Somehow I missed that FAQ :)
–
Rune -