Read the statement by Michael Teeuw here.
MMM-NewsFeedTicker
-
I run MM on a dedicated Intel NUC and I still occure this stuttering you are talking about. I noticed that the suttering appears when “MMM-ImagesPhotos” loads new pictures in slideshow mode. I was able to reduce this stuttering by reducing the size of the images…
What I try to say “the power” does not help. I think the code is sometimes “sloppy”. Not that I could do anything better in terms of coding but just my 2cent…
-
Hi guys! I know that this topic is quite old, but I am trying to add this module to my magic mirror unsuccesfully.
I added in the “config.js” file the module but it doesn’t show up. Any ideas on what i’ve done wrong?modules: [ { module: "alert", }, { module: "updatenotification", position: "top_bar" }, { module: "clock", position: "top_left" }, { module: "calendar", header: "Calendario di Google", position: "top_left", config: { calendars: [ { symbol: "calendar-check", url: "MY CALENDAR" } ] } }, { module: "compliments", position: "lower_third" }, { module: "currentweather", position: "top_right", config: { location: "Savona, Italy", locationID: "6542009", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city appid: "MYAPPID" } }, { module: "weatherforecast", position: "top_right", header: "Previsioni Meteo:", config: { location: "Savona, Italy", locationID: "6542009", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city appid: "MYAPPID" } }, { module: "newsfeed", position: "bottom_bar", config: { feeds: [ { title: "ANSA", url: "https://www.ansa.it/sito/ansait_rss.xml" } ], showSourceTitle: true, showPublishDate: true, broadcastNewsFeeds: true, broadcastNewsUpdates: true } },
{
disabled: false,
module: “MMM-NewsFeedTicker”,
position: “bottom_bar”,
//classes: “day_scheduler”,
config: {
feeds: [
{
title: “New York Times”,
url: “http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml”,
customLogo: “NYT_logo_rss_250x40.png”
},
{
title: “USA Today”,
url: “http://rssfeeds.usatoday.com/UsatodaycomNation-TopStories”,
customLogo: “RSS_Syndication_Logo-USATN.png”
},
{
title: “BBC World News”,
url: “http://feeds.bbci.co.uk/news/world/rss.xml#”,
customLogo: “bbc_news_120x60.gif”
}
]
}
},]
};
Thanks in advance!
-
@Giarry88 from the MagicMirror folder do
npm run check:config
-
@sdetweil said in MMM-NewsFeedTicker:
@Giarry88 from the MagicMirror folder do
npm run check:config
Thanks sdetweil.
the terminal says:
pi@raspberrypi:~/magicmirror $ npm run check:config
npm ERR! missing script: check:confignpm ERR! A complete log of this run can be found in:
npm ERR! /home/pi/.npm/_logs/2020-04-22T00_59_46_184Z-debug.logthe log says:
0 info it worked if it ends with ok
1 verbose cli [ ‘/usr/bin/node’, ‘/usr/bin/npm’, ‘run’, ‘check:config’ ]
2 info using npm@6.14.4
3 info using node@v10.20.1
4 verbose stack Error: missing script: check:config
4 verbose stack at run (/usr/lib/node_modules/npm/lib/run-script.js:155:19)
4 verbose stack at /usr/lib/node_modules/npm/lib/run-script.js:63:5
4 verbose stack at /usr/lib/node_modules/npm/node_modules/read-package-json/read-json.js:116:5
4 verbose stack at /usr/lib/node_modules/npm/node_modules/read-package-json/read-json.js:436:5
4 verbose stack at checkBinReferences_ (/usr/lib/node_modules/npm/node_modules/read-package-json/read-json.js:391:45)
4 verbose stack at final (/usr/lib/node_modules/npm/node_modules/read-package-json/read-json.js:434:3)
4 verbose stack at then (/usr/lib/node_modules/npm/node_modules/read-package-json/read-json.js:161:5)
4 verbose stack at /usr/lib/node_modules/npm/node_modules/read-package-json/read-json.js:382:12
4 verbose stack at /usr/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:115:16
4 verbose stack at FSReqWrap.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:53:3)
5 verbose cwd /home/pi/magicmirror
6 verbose Linux 4.19.97-v7l+
7 verbose argv “/usr/bin/node” “/usr/bin/npm” “run” “check:config”
8 verbose node v10.20.1
9 verbose npm v6.14.4
10 error missing script: check:config
11 verbose exit [ 1, true ]What does “check.config” do?
-
@Giarry88 ok, I hate this thing.
npm run config:check -
-
@sdetweil said in MMM-NewsFeedTicker:
@Giarry88 said in MMM-NewsFeedTicker:
What does “check.config” do?
It checks the config.js file
Ok, i’ve checked and corrected it with geanie and now the syntax is correct but it still doesn’t show it on mm
-
@Giarry88 open the developers window ctrl-shift-i on the keyboard, and select the console tab and scroll up to see any errors.
-
@sdetweil said in MMM-NewsFeedTicker:
@Giarry88 open the developers window ctrl-shift-i on the keyboard, and select the console tab and scroll up to see any errors.
yes,
Load script: modules/MMM-NewsFeedTicker//MMM-NewsFeedTicker.js
:8080/modules/MMM-NewsFeedTicker//MMM-NewsFeedTicker.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
loader.js:187 Error on loading script: modules/MMM-NewsFeedTicker//MMM-NewsFeedTicker.js
script.onerror @ loader.js:187
loader.js:194 Load stylesheet: css/custom.css
(index):1 Refused to apply style from ‘http://localhost:8080/css/custom.css’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.
loader.js:203 Error on loading stylesheet: css/custom.css -
@Giarry88 sounds like u didn’t install the module in the right place