Newsfeed error
See original GitHub issueI just installed Magic Mirror and I¡m fooling around with the modules. The sample config give me this error when loading newsfeed.
Starting MagicMirror: v2.1.2
Loading config ...
Loading module helpers ...
No helper found for module: alert.
No helper found for module: clock.
No helper found for module: compliments.
WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module 'node_helper'
Loading module helpers ...
No helper found for module: alert.
No helper found for module: clock.
No helper found for module: compliments.
App threw an error during load
Error: Cannot find module 'node_helper'
at Module._resolveFilename (module.js:470:15)
at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:35:12)
at Function.Module._load (module.js:418:25)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/home/pi/MagicMirror/modules/default/newsfeed/node_helper.js:8:18)
at Object.<anonymous> (/home/pi/MagicMirror/modules/default/newsfeed/node_helper.js:86:3)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
Whoops! There was an uncaught exception...
{ Error: Cannot find module 'node_helper'
at Module._resolveFilename (module.js:470:15)
at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:35:12)
at Function.Module._load (module.js:418:25)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/home/pi/MagicMirror/modules/default/newsfeed/node_helper.js:8:18)
at Object.<anonymous> (/home/pi/MagicMirror/modules/default/newsfeed/node_helper.js:86:3)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32) code: 'MODULE_NOT_FOUND' }
MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
Launching application.
My config looks like this
modules: [
{
module: "alert",
},
{
module: "clock",
position: "top_left"
},
{
module: "compliments",
position: "lower_third"
},
{
module: "newsfeed",
position: "bottom_bar", // This can be any of the regions. Best results in center regions.
config: {
feeds: [
{
title: "New York Times",
url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml",
},
{
title: "BBC",
url: "http://feeds.bbci.co.uk/news/video_and_audio/news_front_page/rss.xml?edition=uk",
},
]
}
}
]
Any idea why I get this error? If I remove the nodule:newsleef section everything is working properly. Besides, I got a similar error when loading the calenda module.
Thank you
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (1 by maintainers)
Top Results From Across the Web
How To Fix Facebook News Feed Not Working Issue
Are you experiencing the Facebook news feed not working issue? Don't worry as we will be helping you fix this particular problem.
Read more >How to Fix Facebook News Feed Not Loading [2022 Updated]
Method 2: Manual Refresh of Facebook App News Feed. Sometimes though you have a strong internet connection but the problem lies in your...
Read more >How to Fix Facebook News Feed not Working - Appuals.com
There are several different variations of the error including the following: The news feed doesn't work at all. The news feed keeps loading ......
Read more >Facebook News Feed Not Working: Quick Fix
Have you encountered the Facebook News Feed not working issue? Delete the browser cookies and cache in order to fix this problem.
Read more >Facebook News Feed Not Working? 10 Ways to Fix! - Dr.Fone
Amidst this transition, the concurrent use of Facebook and other social media platforms led to many problems. One such problem that many users...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yes it looks like your node_helper file for the news is missing. Can you check the modules/default/newsfeed directory has a node_helper in it.
I did not do any further investigation of the cause. I understood that modules should be cloned into the
modules
folder to work properly. Very uncomfortable. What I do is to maintain my own module in a separate repo, clone it insidemodules
, and develop from there. If you find an alternative I would like to know 😃