Skip to content

Release 2.25.0 of MagicMirror breaks the module #40

@el97

Description

@el97

The latest version of MagicMirror breaks the module. I fixed it on my own by removing a few lines in calendarfetcher.js. I'm not sure if this is the right way and therefore I won't make a PR. Feel free to try this at your own risk.
The following lines I removed is

const fetch = require("fetch");
const digest = require("digest-fetch");
let fetcher = null;
			} else if (auth.method === "digest") {
				fetcher = new digest(auth.user, auth.pass).fetch(url, { headers: headers, agent: httpsAgent });
		if (fetcher === null) {
			fetcher = fetch(url, { headers: headers, agent: httpsAgent });
		}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions