scottcl88 / MMM-DynamicWeather

A heavily configurable MagicMirror Module to display different animations based on current weather and show customized event effects.
MIT License
30 stars 8 forks source link

MM Black Screen with 'Electron' window showing #45

Closed iamevl closed 6 months ago

iamevl commented 3 years ago

Have you tried all steps under Troublehsooting? Yes

Describe the bug Installed DynamicWeather onto my MM and did an NPM install in the module folder for good measure. Added module config into my config file. Then a restart of the mm.sh caused a blank black screen with the title 'ELECTRON'

Configuration { module: 'MMM-DynamicWeather', position: 'fullscreen_above', config: { // See https://github.com/scottcl88/MMM-DynamicWeather for more information. api_key: "*******************************", locationID: "8224783", effects: [ { month: "2", day: "14", year: "2022", images: ["heart1.png", "heart2.png"], direction: "up" } ], } },

Expected behavior Expected module to load

Screenshots image

Additional context Raspbian Stretch with MM current version as at today

iamevl commented 3 years ago

After some investigation i resolved the issue and enabled Dynamicweather by ...

CD ~/MagicMirror/modules/MMM-DynamicWeather npm install request --save

and then reloading the mm

iamevl commented 3 years ago

Re-open in case this dependency needs to be added for other users.

sdetweil commented 9 months ago

just do the npm install request , commit the package.json and and push it.. then users won't have this problem

we removed request in version 2.16, over 2 years ago.. its not coming back

scottcl88 commented 6 months ago

I just pushed a fix for this, it should work now. Thanks all for the help, closing.

sdetweil commented 6 months ago

also need to update the readme as users need to do the npm install now in the module folder after the git clone