Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

newsfeed module not found #57

Open
sarus3749 opened this issue Jan 7, 2022 · 0 comments
Open

newsfeed module not found #57

sarus3749 opened this issue Jan 7, 2022 · 0 comments

Comments

@sarus3749
Copy link

Hello.
First of all, thank you for your work ! It's really usefull :)

I've an issue since v2.15 (no issue with v2.14.0)
With the same config file, the latest version tells me that :

[07.01.2022 14:09.50.380] [LOG] Starting MagicMirror: v2.15.0
[07.01.2022 14:09.50.386] [LOG] Loading config ...
[07.01.2022 14:09.50.392] [LOG] Loading module helpers ...
[07.01.2022 14:09.50.394] [LOG] No helper found for module: alert.
[07.01.2022 14:09.50.395] [LOG] No helper found for module: MMM-Globe.
[07.01.2022 14:09.50.550] [LOG] Initializing new module helper ...
[07.01.2022 14:09.50.551] [LOG] Module helper loaded: updatenotification
[07.01.2022 14:09.50.552] [LOG] No helper found for module: clock.
[07.01.2022 14:09.50.553] [LOG] No helper found for module: currentweather.
[07.01.2022 14:09.50.554] [LOG] No helper found for module: weatherforecast.
[07.01.2022 14:09.50.557] [ERROR] WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module 'valid-url'
Require stack:

  • /opt/magic_mirror/modules/default/newsfeed/node_helper.js
  • /opt/magic_mirror/js/app.js
  • /opt/magic_mirror/serveronly/index.js
    [07.01.2022 14:09.50.558] [LOG] Loading module helpers ...
    [07.01.2022 14:09.50.559] [LOG] No helper found for module: alert.
    [07.01.2022 14:09.50.560] [LOG] No helper found for module: MMM-Globe.
    [07.01.2022 14:09.50.561] [LOG] Initializing new module helper ...
    [07.01.2022 14:09.50.562] [LOG] Module helper loaded: updatenotification
    [07.01.2022 14:09.50.563] [LOG] No helper found for module: clock.
    [07.01.2022 14:09.50.563] [LOG] No helper found for module: currentweather.
    [07.01.2022 14:09.50.564] [LOG] No helper found for module: weatherforecast.
    [07.01.2022 14:09.50.567] [ERROR] Whoops! There was an uncaught exception...
    [07.01.2022 14:09.50.573] [ERROR] Error: Cannot find module 'valid-url'
    Require stack:
  • /opt/magic_mirror/modules/default/newsfeed/node_helper.js
  • /opt/magic_mirror/js/app.js
  • /opt/magic_mirror/serveronly/index.js
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15)
    at Function.Module._resolveFilename (/opt/magic_mirror/node_modules/module-alias/index.js:49:29)
    at Function.Module._load (internal/modules/cjs/loader.js:667:27)
    at Module.require (internal/modules/cjs/loader.js:887:19)
    at require (internal/modules/cjs/helpers.js:74:18)
    at Object. (/opt/magic_mirror/modules/default/newsfeed/node_helper.js:9:18)
    at Module._compile (internal/modules/cjs/loader.js:999:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
    at Module.load (internal/modules/cjs/loader.js:863:32)
    at Function.Module._load (internal/modules/cjs/loader.js:708:14) {
    code: 'MODULE_NOT_FOUND',
    requireStack: [
    '/opt/magic_mirror/modules/default/newsfeed/node_helper.js',
    '/opt/magic_mirror/js/app.js',
    '/opt/magic_mirror/serveronly/index.js'
    ]
    }
    [07.01.2022 14:09.50.574] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
    [07.01.2022 14:09.50.575] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues

when I remove newsfeed from the config file it's working.
Here is the part of the config :
{
module: 'newsfeed',
position: 'bottom_right',
config: {
feeds: [
{
title: 'France info',
url: 'https://www.francetvinfo.fr/titres.rss'
}
],
animationSpeed: 5000
}
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant