MMM-quote-of-the-day icon indicating copy to clipboard operation
MMM-quote-of-the-day copied to clipboard

Install fails with node v16.13.1 and npm 8.3.0

Open mlewus opened this issue 3 years ago • 0 comments

npm install and/or run time (report in mm-error.log) will fail with a message saying request is missing. Sorry, I don’t remember whether it failed at install or runtime and I don’t want to reinstall it.

The problem is, ‘request’ is not being installed. I’m a noob when it comes to node so I don’t know if the developer can fix this with a change to package-lock.json or not. Request has been deprecated, see here: [https://github.com/request/request/issues/3142]

Either way, there is a workaround. First, install MMM-quote-of-the-day with: cd /MagicMirror/modules git clone https://github.com/Sispheor/MMM-quote-of-the-day.git cd MMM-quote-of-the-day npm install Then, in the same directory: npm install request

Configure config.js per instructions in README.md as usual.

mlewus avatar Jan 02 '22 02:01 mlewus