MMM-IPCam icon indicating copy to clipboard operation
MMM-IPCam copied to clipboard

Error: Cannot find module 'request'

Open Chr1sDub opened this issue 4 years ago • 1 comments

Hey there I´m encountering this failure, see attached below. Already found the solution: https://github.com/MichMich/MagicMirror/issues/2468

Will there be a fix for your module?

1|mm | Error: Cannot find module 'request' 1|mm | Require stack: 1|mm | - /home/pi/MagicMirror/modules/MMM-IPCam/node_helper.js 1|mm | - /home/pi/MagicMirror/js/app.js 1|mm | - /home/pi/MagicMirror/js/electron.js 1|mm | - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js

Chr1sDub avatar Nov 10 '21 22:11 Chr1sDub

i resolved this issue by doing the following cd to MagicMirror/modules/MMM-IPCam npm install request

i still can't get this going because of error "undefined"

[21.09.2022 12:11.08.851] [LOG] Notification: GET_CAM Payload: │ │ ││ mm > [21.09.2022 12:11.08.862] [LOG] │ │ ││ mm > { undefined: 'undefined' } │ │ ││ mm > [21.09.2022 12:11.18.863] [LOG] │ │ ││ mm > Notification: GET_CAM Payload: [object Object] │ │ ││ mm > [21.09.2022 12:11.18.877] [LOG] │ │ ││ mm > { undefined: 'undefined' } │ │ ││ mm > [21.09.2022 12:11.28.881] [LOG] │ │ ││ mm > Notification: GET_CAM Payload: [object Object] │ │ ││ mm > [21.09.2022 12:11.28.891] [LOG] │ │ ││ mm > { undefined: 'undefined' } │ │ ││ mm > [21.09.2022 12:11.38.895] [LOG] │ │ ││ mm > Notification: GET_CAM Payload: [object Object] │ │ ││ mm > [21.09.2022 12:11.38.908] [LOG] │ │ ││ mm > { undefined: 'undefined' }

cfssmps avatar Sep 21 '22 16:09 cfssmps