MagicMirror icon indicating copy to clipboard operation
MagicMirror copied to clipboard

When i put a module it wont work

Open JosefVega opened this issue 3 years ago • 3 comments

i have git cloned it this is an example error ] WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module 'request' Require stack:

  • /home/pi/MagicMirror/modules/MMM-CoinMarketCap/node_helper.js
  • /home/pi/MagicMirror/js/app.js
  • /home/pi/MagicMirror/js/electron.js
  • /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js

code: 'MODULE_NOT_FOUND', requireStack: [ '/home/pi/MagicMirror/modules/MMM-CoinMarketCap/node_helper.js', '/home/pi/MagicMirror/js/app.js', '/home/pi/MagicMirror/js/electron.js', '/home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js',

JosefVega avatar May 30 '22 06:05 JosefVega

Try npm install request from within your MagicMirror folder.

MichMich avatar May 30 '22 07:05 MichMich

Try npm install request from within your MagicMirror folder.

Thanks it works now :)

JosefVega avatar May 30 '22 10:05 JosefVega

@JosefVega can u close this issue?

sdetweil avatar Sep 13 '22 13:09 sdetweil

should be closed @MichMich

khassel avatar Oct 02 '22 21:10 khassel