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 -
S sdetweil has marked this topic as solved on
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login