Skip to content

MMM-Nextcloud-Tasks  #1

@peanutlasko

Description

@peanutlasko

Hey starlingfire,

Apologies for opening an issue on this other project. I couldnt find another way to contact you, or report an issue with the fork you have of MMM-NextCloud-Tasks.

I'm trying to run this on my MM2 and running into the below error:

[31.07.2023 10:25.27.086] [ERROR] (node:10945) UnhandledPromiseRejectionWarning: Error [ERR_REQUIRE_ESM]: require() of ES Module /home/home/MagicMirror/node_modules/webdav/dist/node/index.js from /home/home/MagicMirror/modules/MMM-NextCloud-Tasks/webDavHelper.js not supported.
Instead change the require of index.js in /home/home/MagicMirror/modules/MMM-NextCloud-Tasks/webDavHelper.js to a dynamic import() which is available in all CommonJS modules.
at f._load (node:electron/js2c/asar_bundle:2:13330)
at Object. (/home/home/MagicMirror/modules/MMM-NextCloud-Tasks/webDavHelper.js:2:26)
at f._load (node:electron/js2c/asar_bundle:2:13330)
at Object. (/home/home/MagicMirror/modules/MMM-NextCloud-Tasks/node_helper.js:10:34)
at f._load (node:electron/js2c/asar_bundle:2:13330)
at loadModule (/home/home/MagicMirror/js/app.js:180:19)
at loadModules (/home/home/MagicMirror/js/app.js:210:10)
at async App.start (/home/home/MagicMirror/js/app.js:258:3)
(Use electron --trace-warnings ... to show where the warning was created)
[31.07.2023 10:25.27.088] [ERROR] (node:10945) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)

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