darickc / MMM-BackgroundSlideshow

MIT License
135 stars 78 forks source link

where to set unhandled-rejections=strict #150

Closed atlantus-eng closed 5 months ago

atlantus-eng commented 5 months ago

Get following error: D:\MagicMirror>npm run start

magicmirror@2.25.0 start .\node_modules.bin\electron js\electron.js

[26.01.2024 08:01.45.940] [LOG] Starting MagicMirror: v2.25.0 [26.01.2024 08:01.45.949] [LOG] Loading config ... [26.01.2024 08:01.45.971] [DEBUG] config template file not exists, no envsubst [26.01.2024 08:01.45.988] [LOG] Loading module helpers ... [26.01.2024 08:01.46.071] [ERROR] (node:15132) UnhandledPromiseRejectionWarning: Error: Cannot find module 'jimp' Require stack:

Where and how to fix?

KristjanESPERANTO commented 5 months ago

Seems that you have not installed the dependencies as described in the README.

KristjanESPERANTO commented 5 months ago

@atlantus-eng Did you run npm install in the module's directory?

atlantus-eng commented 5 months ago

Thanks, it works now!