kevinatown / MMM-Screencast

A module to cast to the magic mirror
MIT License
166 stars 34 forks source link

Could not find module 'peer-dial' #84

Open mollyschilling opened 4 years ago

mollyschilling commented 4 years ago

I installed everything, but when i go to start up my mirror, none of the modules show up. I went back to review the code and it says that it cannot fine a module called peer-dial. Could anyone help me troubleshoot? Also does screen casting work with apple?

My code when trying to run:

[2020-08-20 10:24:30.782] [LOG] Module helper loaded: MMM-AlexaControl [2020-08-20 10:24:30.794] [ERROR] WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module 'peer-dial' Require stack:

kevinatown commented 4 years ago

Hi @mollyschilling!

Sorry to hear that you are having issues. I have a few questions to better help diagnose your issue:

  1. Did you install MMM-Screencast's dependencies? The directions should be on the readme, but pretty much you cd into MMM-Screencast's dir and run npm install there. (This is honestly what I think is wrong)
  2. Can you attach to this issue a copy of your config.js (with all API key's removed)? This could help with this issue: Could not load config file

Thanks! And good luck!!

DiDavid commented 4 years ago

Hi @kevinatown, I have the same problem, but I can't do "npm install", then i got this error:

npm WARN registry Unexpected warning for https://registry.npmjs.org/: Miscellaneous Warning ENODATA: Cache input stream was empty npm WARN registry Using stale data from https://registry.npmjs.org/ due to a request error during revalidation. npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 npm WARN deprecated har-validator@5.1.5: this library is no longer supported npm ERR! code EINTEGRITY npm ERR! errno EINTEGRITY npm ERR! Invalid response body while trying to fetch https://registry.npmjs.org/node-uuid: Integrity verification failed for sha512-sDjbdVLgpPrsMHC3QV3yM3tD4Q1lcHfoPgEDdvl4YJwiqvuA9FB8Q0mij4NCuBdTKf2luL6pcKGqVwibKIEV6g== (/home/pi/.npm/_cacache/content-v2/sha512/b0/38/db7552e0a4faec3070b7415df2337b43e10d657077e83e010376f978609c22aafb80f4507c4349a28f8342b8175329fda5b8bea970a1aa57089b288115ea)

npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2020-09-27T15_44_09_918Z-debug.log

I hope you can help me.