Read the statement by Michael Teeuw here.
MMM-NewsFeedTicker
-
@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
-
@sdetweil said in MMM-NewsFeedTicker:
@Giarry88 sounds like u didn’t install the module in the right place
I’ve nstalled it in the Modules folders (outside of the Default folder, correct?)
-
@Giarry88 :8080/modules/MMM-NewsFeedTicker//MMM-NewsFeedTicker.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
says file not there
you can get rid of this one by creating an empty custom.css (my installation script does this)
: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
touch ~/MagicMirror/css/custom.css
-
@sdetweil said in MMM-NewsFeedTicker:
@Giarry88 :8080/modules/MMM-NewsFeedTicker//MMM-NewsFeedTicker.js:1 Failed to load resource: the server responded with a status of 404 (Not Found)
says file not there
you can get rid of this one by creating an empty custom.css (my installation script does this)
: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
touch ~/MagicMirror/css/custom.css
so…
I created the custom.css (but I’ve added the command for removing the borders, because I had it in the main.css - yes…i know…my bad :grimacing_face: - also it seems I can’t remove the spacing at the top, but this is a ittle bit OT) now as you said it previously that error disappeared.Now I have only
Load script: modules/MMM-NewsFeedTicker//MMM-NewsFeedTicker.js
GET http://localhost:8080/modules/MMM-NewsFeedTicker//MMM-NewsFeedTicker.js net::ERR_ABORTED 404 (Not Found)
Error on loading script: modules/MMM-NewsFeedTicker//MMM-NewsFeedTicker.jsBut this morning I’ve installed an other module (MMM-networrk-signal) in the same way and it is working properly
Load script: modules/MMM-network-signal//MMM-network-signal.js
Module registered: MMM-network-signalI am confused…
EDIT
My mistake was that I didn’t put capital letters in the name of the folder (I didn’t think it would have mattered)…
Now I can see the red bar with “Loading” and in the console it keeps showing :MMM-NewsFeedTicker - unknown notification, ignoring: CLOCK_SECOND
MMM-NewsFeedTicker - received notification: CLOCK_SECOND -
@Giarry88 said in MMM-NewsFeedTicker:
(I didn’t think it would have mattered)…
linux is case sensitive… windows is not
look in the console where u start ed MagicMirror
if pm2, the use the pm2 logs --lines=100 command to view the logs…
the error more than likely is a bad url, ???