Open bigdog-will opened 2 years ago
Not sure if you got this working in the end, but the problem was because this module has a dependency on "request" which was removed in magic mirror v2.16.0 as it is deprecated.
I run magic mirror in docker and got this working using instructions on the dockers FAQ page which were...
login into the container with docker exec -it mm bash and navigate into the folder of the module, e.g. cd modules/MMM-quote-of-the-day check with ls -la if the folder contains a file package.json, if not run npm init -y run npm install request
Hope that helps
Not sure if you got this working in the end, but the problem was because this module has a dependency on "request" which was removed in magic mirror v2.16.0 as it is deprecated.
I run magic mirror in docker and got this working using instructions on the dockers FAQ page which were...
login into the container with docker exec -it mm bash and navigate into the folder of the module, e.g. cd modules/MMM-quote-of-the-day check with ls -la if the folder contains a file package.json, if not run npm init -y run npm install request
Hope that helps
Sorry, for the slow reply, the module is working now, but not able to read temperatures for inside. "Inside: null C" Any idea how I get this resolved?
After installing this module, i get an error and a black screen, if I comment it out in the config.js. the other modules still work.
I have done the following steps as per the installation procedure: 1.) in ~MagicMirror/modules - git clone MMM-Hive. 2.) disabled the 2FA 3.) cd /home/pi 4.) sudo apt-get install npm 5.) npm install amazon-user-pool-srp-client --save 6.) npm install axios --save 7.) cd ~MagicMirror/modules/MMM-Hive/tokenGeneration 8.) cp index.js /home/pi/node_modules/amazon-user-pool-srp-client/index.js 9.) nano /home/pi/node_modules/amazon-user-pool-srp-client/index.js
In the mm-error.log i get the following message
[ERROR] WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module 'request' Require stack:
The file is there
ls -al /home/pi/MagicMirror/modules/MMM-Hive/node_helper.js -rw-r--r-- 1 pi pi 4599 Jan 4 16:50 /home/pi/MagicMirror/modules/MMM-Hive/node_helper.js
What else can I check to get this working?
thanks