Closed Robert-litts closed 8 months ago
I just encountered the same issue. The solution for me was to comment out line 11 in node_helper.js
// const fetch = require("fetch");
I only use local files myself but I tested switching to using "bing" and it gave me fetched wallpaper, so I think this could be a complete fix.
@apiontek This worked for me! Also I just pulled down the latest commit fixed the issue officially.
@kolbyjack as I stated above, this appears to be solved for me with you action. Thanks so much for the quick response and assistance!
Good Morning,
First, I've been running MagicMirror with MMM-Wallpaper for years, for the most part flawlessly. Thanks for all of the modules you maintain!
Last night, I upgraded my MagicMirror to 2.25 and at the same time, had to upgrade my node from v16 to v20. After the upgrade, my mirror was unable to start and threw the following error:
Commenting MMM-Wallpaper out from config.js allowed the mirror to start. I then went into MagicMirror main directory and ran "npm install fetch", which ran fine. I then un-commented MMM-Wallpaper from my config and was able to run and start my mirror fine, but had no wallpaper showing up.
Reviewing my logs, I am now receiving the following errors:
Do you think this is an error with MMM-Wallpaper or with MagicMirror itself? I noticed that the release notes stated: "Replace node-fetch with internal fetch (https://github.com/MichMich/MagicMirror/issues/2649) and remove digest-fetch", so not sure if that is related. However, the fact that I had to manually install 'fetch'
Thank you!