KirAsh4 / calendar_monthly

A compact monthly calendar view for the MagicMirror project (https://github.com/MichMich/MagicMirror)
MIT License
70 stars 33 forks source link

Compile Errors #17

Open whashburn opened 4 years ago

whashburn commented 4 years ago

Hi - I am not able to compile calendar_monthly.js. I am running:

I am receiving several Geany-Lint compile error messages: var i, and var bodyTD already defined. Is occurs when the var statements are within for loops I renamed the later vars of "i" and "bodyTD" to i_a and bodyTD_a within the loops (just to remove the compile errors)

The screen appears as totally black.

Using View Toggle Developers Tools I also see the following error message

"Refused to apply style from 'http://0.0.0.0:8080/css/custom.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled."

The default modules of MM work as expected,

Does anyone have any suggestions what should or need to do?

Thanks very much.

+--------------------------------------------------------+ The entire copy of the developer tool output is: Initializing MagicMirror. translator.js:202 Loading core translation file: translations/en.json translator.js:225 Loading core translation fallback file: translations/en.json loader.js:179 Load script: modules/calendar_monthy//calendar_monthy.js calendar_monthy.js:1 Failed to load resource: the server responded with a status of 404 (Not Found) loader.js:187 Error on loading script: modules/calendar_monthy//calendar_monthy.js loader.js:194 Load stylesheet: css/custom.css (index):1 Refused to apply style from 'http://0.0.0.0: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 main.js:473 All modules started! /home/pi/MagicMirror…rity-warnings.js:95 Electron Security Warning (Insecure Resources) This renderer process loads resources using insecure protocols.This exposes users of this app to unnecessary security risks. Consider loading the following resources over HTTPS or FTPS.

For more information and help, consult https://electronjs.org/docs/tutorial/security. This warning will not show up once the app is packaged. /home/pi/MagicMirror…ity-warnings.js:145 Electron Security Warning (Insecure Content-Security-Policy) This renderer process has either no Content Security Policy set or a policy with "unsafe-eval" enabled. This exposes users of this app to unnecessary security risks.

For more information and help, consult https://electronjs.org/docs/tutorial/security. This warning will not show up once the app is packaged. (index):1 Refused to apply style from 'http://0.0.0.0:8080/css/custom.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.