Read the statement by Michael Teeuw here.
v2.18.0 update gave black screen, then nothing.
-
@richard238 In the MMM-MysqlQuery folder,
npm i mysql -
pi@magicmirror:~/MagicMirror/modules/MMM-MysqlQuery $ npm i mysql npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: mmm-mysqlquery@1.0.0 npm ERR! Found: stylelint@8.4.0 npm ERR! node_modules/stylelint npm ERR! dev stylelint@"^8.3.0" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer stylelint@"^14.0.0" from grunt-stylelint@0.17.0 npm ERR! node_modules/grunt-stylelint npm ERR! dev grunt-stylelint@"latest" from the root project npm ERR! npm ERR! Fix the upstream dependency conflict, or retry npm ERR! this command with --force, or --legacy-peer-deps npm ERR! to accept an incorrect (and potentially broken) dependency resolution. npm ERR! npm ERR! See /home/pi/.npm/eresolve-report.txt for a full report. npm ERR! A complete log of this run can be found in: npm ERR! /home/pi/.npm/_logs/2022-01-06T14_02_53_804Z-debug-0.log pi@magicmirror:~/MagicMirror/modules/MMM-MysqlQuery $ -
@richard238 run
npm i mysql --forceThe stylint is a dev dependency. -
Looking better…
pi@magicmirror:~/MagicMirror/modules/MMM-MysqlQuery $ npm i mysql --force npm WARN using --force Recommended protections disabled. npm WARN ERESOLVE overriding peer dependency npm WARN While resolving: grunt-stylelint@0.17.0 npm WARN Found: stylelint@8.4.0 npm WARN node_modules/stylelint npm WARN dev stylelint@"^8.3.0" from the root project npm WARN npm WARN Could not resolve dependency: npm WARN peer stylelint@"^14.0.0" from grunt-stylelint@0.17.0 npm WARN node_modules/grunt-stylelint npm WARN dev grunt-stylelint@"latest" from the root project npm WARN npm WARN Conflicting peer dependency: stylelint@14.2.0 npm WARN node_modules/stylelint npm WARN peer stylelint@"^14.0.0" from grunt-stylelint@0.17.0 npm WARN node_modules/grunt-stylelint npm WARN dev grunt-stylelint@"latest" from the root project npm WARN ERESOLVE overriding peer dependency npm WARN While resolving: stylelint-config-standard@24.0.0 npm WARN Found: stylelint@8.4.0 npm WARN node_modules/stylelint npm WARN dev stylelint@"^8.3.0" from the root project npm WARN npm WARN Could not resolve dependency: npm WARN peer stylelint@"^14.0.0" from stylelint-config-standard@24.0.0 npm WARN node_modules/stylelint-config-standard npm WARN dev stylelint-config-standard@"latest" from the root project npm WARN npm WARN Conflicting peer dependency: stylelint@14.2.0 npm WARN node_modules/stylelint npm WARN peer stylelint@"^14.0.0" from stylelint-config-standard@24.0.0 npm WARN node_modules/stylelint-config-standard npm WARN dev stylelint-config-standard@"latest" from the root project npm WARN ERESOLVE overriding peer dependency npm WARN deprecated time-grunt@2.0.0: Deprecated because Grunt is practically unmaintained. Move on to something better. This package will continue to work with Grunt v1, but it will not receive any updates. npm WARN deprecated har-validator@5.1.5: this library is no longer supported npm WARN deprecated browserslist@2.11.3: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools. npm WARN deprecated circular-json@0.3.3: CircularJSON is in maintenance only, flatted is its successor. npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 added 606 packages, and audited 1043 packages in 3m 49 packages are looking for funding run `npm fund` for details 29 vulnerabilities (1 low, 17 moderate, 11 high) To address issues that do not require attention, run: npm audit fix To address all issues (including breaking changes), run: npm audit fix --force Run `npm audit` for details. pi@magicmirror:~/MagicMirror/modules/MMM-MysqlQuery $ -
@mumblebaj why my install script does npm install --only=prod
to remove the dev dependencies -
@sdetweil :thumbs_up:
-
What are “dev dependencies” to the uninitiated?
-
@richard238 there are dependencies
things needed to RUN
and dev dependencies,
things needed to DEVELOP for existing or new function
things like syntax checkers, format checkers, test cases, … 99% of users don’t need that stuff on their disc
in the package.json are two lists of dependencies
“devDependencies”: {
“dependencies”: {unless u specify only runtime (production) , you get both …
-
Still no MM though. Status says online, but it’s not launching MM.
I’ll reboot, because, why not…pi@magicmirror:~/MagicMirror $ pm2 start MagicMirror [PM2] Applying action restartProcessId on app [MagicMirror](ids: [ 0 ]) [PM2] [MagicMirror](0) ✓ [PM2] Process successfully started ┌────┬────────────────────┬──────────┬──────┬───────────┬──────────┬──────────┐ │ id │ name │ mode │ ↺ │ status │ cpu │ memory │ ├────┼────────────────────┼──────────┼──────┼───────────┼──────────┼──────────┤ │ 0 │ MagicMirror │ fork │ 0 │ online │ 0% │ 2.6mb │ └────┴────────────────────┴──────────┴──────┴───────────┴──────────┴──────────┘ pi@magicmirror:~/MagicMirror $ -
-
pi@magicmirror:~/MagicMirror $ pm2 stop 0 [PM2] Applying action stopProcessId on app [0](ids: [ '0' ]) [PM2] [MagicMirror](0) ✓ ┌────┬────────────────────┬──────────┬──────┬───────────┬──────────┬──────────┐ │ id │ name │ mode │ ↺ │ status │ cpu │ memory │ ├────┼────────────────────┼──────────┼──────┼───────────┼──────────┼──────────┤ │ 0 │ MagicMirror │ fork │ 0 │ stopped │ 0% │ 0b │ └────┴────────────────────┴──────────┴──────┴───────────┴──────────┴──────────┘ pi@magicmirror:~/MagicMirror $ pm2 flush [PM2] Flushing /home/pi/.pm2/pm2.log [PM2] Flushing: [PM2] /home/pi/.pm2/logs/MagicMirror-out.log [PM2] /home/pi/.pm2/logs/MagicMirror-error.log [PM2] Logs flushed pi@magicmirror:~/MagicMirror $ pm2 start 0 [PM2] Applying action restartProcessId on app [0](ids: [ '0' ]) [PM2] [MagicMirror](0) ✓ [PM2] Process successfully started ┌────┬────────────────────┬──────────┬──────┬───────────┬──────────┬──────────┐ │ id │ name │ mode │ ↺ │ status │ cpu │ memory │ ├────┼────────────────────┼──────────┼──────┼───────────┼──────────┼──────────┤ │ 0 │ MagicMirror │ fork │ 0 │ online │ 0% │ 2.4mb │ └────┴────────────────────┴──────────┴──────┴───────────┴──────────┴──────────┘ pi@magicmirror:~/MagicMirror $ pm2 logs --lines=50 [TAILING] Tailing last 50 lines for [all] processes (change the value with --lines option) /home/pi/.pm2/pm2.log last 50 lines: PM2 | 2022-01-06T14:24:56: PM2 log: App [MagicMirror:0] starting in -fork mode- PM2 | 2022-01-06T14:24:56: PM2 log: App [MagicMirror:0] online /home/pi/.pm2/logs/MagicMirror-out.log last 50 lines: 0|MagicMir | 0|MagicMir | > magicmirror@2.18.0 start 0|MagicMir | > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js 0|MagicMir | /home/pi/.pm2/logs/MagicMirror-error.log last 50 lines: 0|MagicMir | App threw an error during load 0|MagicMir | TypeError: Log.log is not a function 0|MagicMir | at Object.<anonymous> (/home/pi/MagicMirror/js/app.js:20:5) 0|MagicMir | at Module._compile (node:internal/modules/cjs/loader:1116:14) 0|MagicMir | at Object.Module._extensions..js (node:internal/modules/cjs/loader:1169:10) 0|MagicMir | at Module.load (node:internal/modules/cjs/loader:988:32) 0|MagicMir | at Module._load (node:internal/modules/cjs/loader:829:12) 0|MagicMir | at Function.c._load (node:electron/js2c/asar_bundle:5:13331) 0|MagicMir | at Module.require (node:internal/modules/cjs/loader:1012:19) 0|MagicMir | at require (node:internal/modules/cjs/helpers:94:18) 0|MagicMir | at Object.<anonymous> (/home/pi/MagicMirror/js/electron.js:4:14) 0|MagicMir | at Module._compile (node:internal/modules/cjs/loader:1116:14) 0|MagicMir | (node:12755) [DEP0025] DeprecationWarning: sys is deprecated. Use util instead. 0|MagicMir | (Use `electron --trace-deprecation ...` to show where the warning was created) 0|MagicMir | A JavaScript error occurred in the main process 0|MagicMir | Uncaught Exception: 0|MagicMir | TypeError: Log.log is not a function 0|MagicMir | at Object.<anonymous> (/home/pi/MagicMirror/js/app.js:20:5) 0|MagicMir | at Module._compile (node:internal/modules/cjs/loader:1116:14) 0|MagicMir | at Object.Module._extensions..js (node:internal/modules/cjs/loader:1169:10) 0|MagicMir | at Module.load (node:internal/modules/cjs/loader:988:32) 0|MagicMir | at Module._load (node:internal/modules/cjs/loader:829:12) 0|MagicMir | at Function.c._load (node:electron/js2c/asar_bundle:5:13331) 0|MagicMir | at Module.require (node:internal/modules/cjs/loader:1012:19) 0|MagicMir | at require (node:internal/modules/cjs/helpers:94:18) 0|MagicMir | at Object.<anonymous> (/home/pi/MagicMirror/js/electron.js:4:14) 0|MagicMir | at Module._compile (node:internal/modules/cjs/loader:1116:14) 0|MagicMir | [12789:0106/142502.942799:ERROR:viz_main_impl.cc(161)] Exiting GPU process due to errors during initialization 0|MagicMir | [12805:0106/142503.366582:ERROR:sandbox_linux.cc(376)] InitializeSandbox() called with multiple threads in process gpu-process. -
@richard238 ok, do
cd ~/MagicMirror rm -rf node_modules rm package-lock.json npm install --only=prod -
pi@magicmirror:~/MagicMirror $ rm -rf node_modules pi@magicmirror:~/MagicMirror $ rm package-lock.json pi@magicmirror:~/MagicMirror $ npm install --only=prod > magicmirror@2.18.0 install > echo "Installing vendor files ... > " && cd vendor && npm install --loglevel=error Installing vendor files ... up to date, audited 10 packages in 4s found 0 vulnerabilities > magicmirror@2.18.0 postinstall > npm run install-fonts && echo "MagicMirror installation finished successfully! > " > magicmirror@2.18.0 install-fonts > echo "Installing fonts ... > " && cd fonts && npm install --loglevel=error Installing fonts ... up to date, audited 2 packages in 13s found 0 vulnerabilities MagicMirror installation finished successfully! > magicmirror@2.18.0 prepare > [ -f node_modules/.bin/husky ] && husky install || echo no husky installed. no husky installed. added 267 packages, and audited 268 packages in 6m 19 packages are looking for funding run `npm fund` for details found 0 vulnerabilities pi@magicmirror:~/MagicMirror $ -
@richard238 and try to run mm again
-
Online, but no MM showing.
pi@magicmirror:~/MagicMirror $ pm2 start MagicMirror [PM2] Applying action restartProcessId on app [MagicMirror](ids: [ 0 ]) [PM2] [MagicMirror](0) ✓ [PM2] Process successfully started ┌────┬────────────────────┬──────────┬──────┬───────────┬──────────┬──────────┐ │ id │ name │ mode │ ↺ │ status │ cpu │ memory │ ├────┼────────────────────┼──────────┼──────┼───────────┼──────────┼──────────┤ │ 0 │ MagicMirror │ fork │ 0 │ online │ 0% │ 2.5mb │ └────┴────────────────────┴──────────┴──────┴───────────┴──────────┴──────────┘ pi@magicmirror:~/MagicMirror $ -
@richard238 and show log output again?
and output of
node -v
npm -v -
pi@magicmirror:~/MagicMirror $ pm2 logs --lines=50 [TAILING] Tailing last 50 lines for [all] processes (change the value with --lines option) /home/pi/.pm2/pm2.log last 50 lines: PM2 | 2022-01-06T14:24:56: PM2 log: App [MagicMirror:0] starting in -fork mode- PM2 | 2022-01-06T14:24:56: PM2 log: App [MagicMirror:0] online PM2 | 2022-01-06T14:50:49: PM2 log: Stopping app:MagicMirror id:0 PM2 | 2022-01-06T14:50:49: PM2 log: App [MagicMirror:0] exited with code [0] via signal [SIGINT] PM2 | 2022-01-06T14:50:49: PM2 log: pid=12707 msg=process killed PM2 | 2022-01-06T14:50:59: PM2 log: App [MagicMirror:0] starting in -fork mode- PM2 | 2022-01-06T14:50:59: PM2 log: App [MagicMirror:0] online /home/pi/.pm2/logs/MagicMirror-out.log last 50 lines: 0|MagicMir | 0|MagicMir | > magicmirror@2.18.0 start 0|MagicMir | > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js 0|MagicMir | 0|MagicMir | 0|MagicMir | > magicmirror@2.18.0 start 0|MagicMir | > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js 0|MagicMir | /home/pi/.pm2/logs/MagicMirror-error.log last 50 lines: 0|MagicMir | at require (node:internal/modules/cjs/helpers:94:18) 0|MagicMir | at Object.<anonymous> (/home/pi/MagicMirror/js/electron.js:4:14) 0|MagicMir | at Module._compile (node:internal/modules/cjs/loader:1116:14) 0|MagicMir | (node:12755) [DEP0025] DeprecationWarning: sys is deprecated. Use util instead. 0|MagicMir | (Use `electron --trace-deprecation ...` to show where the warning was created) 0|MagicMir | A JavaScript error occurred in the main process 0|MagicMir | Uncaught Exception: 0|MagicMir | TypeError: Log.log is not a function 0|MagicMir | at Object.<anonymous> (/home/pi/MagicMirror/js/app.js:20:5) 0|MagicMir | at Module._compile (node:internal/modules/cjs/loader:1116:14) 0|MagicMir | at Object.Module._extensions..js (node:internal/modules/cjs/loader:1169:10) 0|MagicMir | at Module.load (node:internal/modules/cjs/loader:988:32) 0|MagicMir | at Module._load (node:internal/modules/cjs/loader:829:12) 0|MagicMir | at Function.c._load (node:electron/js2c/asar_bundle:5:13331) 0|MagicMir | at Module.require (node:internal/modules/cjs/loader:1012:19) 0|MagicMir | at require (node:internal/modules/cjs/helpers:94:18) 0|MagicMir | at Object.<anonymous> (/home/pi/MagicMirror/js/electron.js:4:14) 0|MagicMir | at Module._compile (node:internal/modules/cjs/loader:1116:14) 0|MagicMir | [12789:0106/142502.942799:ERROR:viz_main_impl.cc(161)] Exiting GPU process due to errors during initialization 0|MagicMir | [12805:0106/142503.366582:ERROR:sandbox_linux.cc(376)] InitializeSandbox() called with multiple threads in process gpu-process. 0|MagicMir | /home/pi/MagicMirror/node_modules/electron/dist/electron exited with signal SIGINT 0|MagicMir | App threw an error during load 0|MagicMir | TypeError: Log.log is not a function 0|MagicMir | at Object.<anonymous> (/home/pi/MagicMirror/js/app.js:20:5) 0|MagicMir | at Module._compile (node:internal/modules/cjs/loader:1116:14) 0|MagicMir | at Object.Module._extensions..js (node:internal/modules/cjs/loader:1169:10) 0|MagicMir | at Module.load (node:internal/modules/cjs/loader:988:32) 0|MagicMir | at Module._load (node:internal/modules/cjs/loader:829:12) 0|MagicMir | at Function.c._load (node:electron/js2c/asar_bundle:5:13331) 0|MagicMir | at Module.require (node:internal/modules/cjs/loader:1012:19) 0|MagicMir | at require (node:internal/modules/cjs/helpers:94:18) 0|MagicMir | at Object.<anonymous> (/home/pi/MagicMirror/js/electron.js:4:14) 0|MagicMir | at Module._compile (node:internal/modules/cjs/loader:1116:14) 0|MagicMir | (node:18699) [DEP0025] DeprecationWarning: sys is deprecated. Use util instead. 0|MagicMir | (Use `electron --trace-deprecation ...` to show where the warning was created) 0|MagicMir | A JavaScript error occurred in the main process 0|MagicMir | Uncaught Exception: 0|MagicMir | TypeError: Log.log is not a function 0|MagicMir | at Object.<anonymous> (/home/pi/MagicMirror/js/app.js:20:5) 0|MagicMir | at Module._compile (node:internal/modules/cjs/loader:1116:14) 0|MagicMir | at Object.Module._extensions..js (node:internal/modules/cjs/loader:1169:10) 0|MagicMir | at Module.load (node:internal/modules/cjs/loader:988:32) 0|MagicMir | at Module._load (node:internal/modules/cjs/loader:829:12) 0|MagicMir | at Function.c._load (node:electron/js2c/asar_bundle:5:13331) 0|MagicMir | at Module.require (node:internal/modules/cjs/loader:1012:19) 0|MagicMir | at require (node:internal/modules/cjs/helpers:94:18) 0|MagicMir | at Object.<anonymous> (/home/pi/MagicMirror/js/electron.js:4:14) 0|MagicMir | at Module._compile (node:internal/modules/cjs/loader:1116:14) 0|MagicMir | [18754:0106/145107.193182:ERROR:viz_main_impl.cc(161)] Exiting GPU process due to errors during initialization 0|MagicMir | [18773:0106/145107.559447:ERROR:sandbox_linux.cc(376)] InitializeSandbox() called with multiple threads in process gpu-process.pi@magicmirror:~/MagicMirror $ node -v v17.3.0 pi@magicmirror:~/MagicMirror $ npm -v 8.3.0 -
@richard238 can u show the ~/MagicMirror/config/config.js
-
config.js, minus private data.
/* Magic Mirror Config Sample * * By Michael Teeuw http://michaelteeuw.nl * MIT Licensed. */ var config = { port: 8080, address:"0.0.0.0", ipWhitelist: [], //ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.1/120",], language: 'en', timeFormat: 24, units: 'metric', modules: [ { module: 'alert', }, { module: "updatenotification", position: "top_bar" }, { module: 'clock', position: 'top_left' }, { module: 'calendar', header: 'Calendar', position: 'top_left', config: { maximumEntries: 6, // Total Maximum Entries maximumNumberOfDays: 365, displaySymbol: true, defaultSymbol: "calendar", // Fontawesome Symbol see http://fontawesome.io/cheatsheet/ displayRepeatingCountTitle: false, defaultRepeatingCountTitle: "", maxTitleLength: 30, fetchInterval: 5 * 60 * 1000, // Update every 5 minutes. animationSpeed: 2000, fade: true, showEnd: false, urgency: 0, timeFormat: "absolute", dateFormat: "ddd Do MMMM", getRelative: 0, fadePoint: 0.50, // Start on 1/4th of the list. hidePrivate: false, calendars: [ { symbol: 'calendar-check-o ', url: 'https:/nnnnnnnnnnnnnnnnnnnnn/basic.ics' } ], } }, { module: 'calendar', header: 'Binday', position: 'bottom_left', config: { maximumEntries: 4, // Total Maximum Entries maximumNumberOfDays: 365, displaySymbol: true, defaultSymbol: "calendar", // Fontawesome Symbol see http://fontawesome.io/cheatsheet/ displayRepeatingCountTitle: false, defaultRepeatingCountTitle: "", maxTitleLength: 30, fetchInterval: 5 * 60 * 1000, // Update every 5 minutes. animationSpeed: 2000, fade: true, showEnd: false, urgency: 0, timeFormat: "absolute", dateFormat: "ddd Do MMMM", getRelative: 0, fadePoint: 0.50, // Start on 1/4th of the list. hidePrivate: false, calendars: [ { symbol: 'trash-o ', url: 'https:/nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn/basic.ics' } ], titleReplace: { // "'s birthday": "", // "Recycling": "Bins", "Red Bin": "Red & Black Bins", "Green Bin": "Green & Black Bins" }, // Override start method. start: function () { Log.log("Starting module: " + this.name); /* This code changed times to 24hr clock until April 17 system update. ** Set locale. ** if (config.language === 'en' && config.timeFormat == 24) { ** config.language = 'en-gb'; ** } ** moment.locale(config.language); */ for (var c in this.config.calendars) { var calendar = this.config.calendars[c]; calendar.url = calendar.url.replace("webcal://", "http://"); this.addCalendar(calendar.url, calendar.user, calendar.pass); } this.calendarData = {}; this.loaded = false; }, } }, { module: 'compliments', position: 'lower_third', config: { anytime: [ "A1", "A2", "A3" ], morning: [ "M1", "M2", "M3" ], afternoon: [ "N1", "N2", "N3" ], evening: [ "E1", "E2", "E3" ] }, updateInterval: 30000, remoteFile: null, fadeSpeed: 4000 /*config: { remoteFile: 'compliments.json' }*/ }, { module: 'MMM-doomsDay', position: 'top_center', // This can be any of the regions, best results in center regions config: { doomsDay: "2022-01-06 24:00:00", // YYYY-MM-DD HH:MM:SS, Do not alter the time, just the date /* doomsDay: "2020-12-21 24:00:00", // YYYY-MM-DD HH:MM:SS, Do not alter the time, just the date */ toWhat: "today", // See 'Configuration options' for more information. } }, { module: 'currentweather', header: 'Current weather for: ', position: 'top_right', config: { location: 'nnnnnnnnnnnnnnnn,GB', locationID: 'nnnn', //ID from http://www.openweathermap.org appid: 'nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn' } }, { module: 'weatherforecast', position: 'top_right', header: 'Weather Forecast', config: { location: 'nnnnnn,GB', locationID: 'nnnnnnn', //ID from http://www.openweathermap.org appid: 'aaannnnnnnnnn' } }, { module: 'MMM-MysqlQuery', position: 'bottom_right', header: 'Greenhouse Status', config: { connection: { host: "192.168.1.23", port: 3306, user: "nnnnnnnnnnnnnnnn", password: "nnnnnnnnnnnnnnnn", database: "garage" }, /* query: `select Temp-2 from readings order by ID desc limit 1`, */ query: "select Added, \ Temp, \ Pressure, \ Humidity \ from gh_readings \ order by ID \ desc limit 3", intervalSeconds: 1 * 60, emptyMessage: "No data!", columns: [ { name: "Added", title: "At", cssClass: "left", dateFormat: "time", dateLocale: "en-GB" }, { name: "Temp", title: "Temp", cssClass: "left", suffix: "°C", nullValue: "???" }, { name: "Pressure", title: "Pressure", cssClass: "left", suffix: " hPa", nullValue: "???" }, { name: "Humidity", title: "Humidity", cssClass: "left", suffix: " %" }, ] } }, */ { module: 'newsfeed', position: 'bottom_bar', config: { feeds: [ { title: "BBC World", url: "http://feeds.bbci.co.uk/news/world/rss.xml" }, { title: "Al Jazeera", url: "https://www.aljazeera.com/xml/rss/all.xml" }, { title: "Sky news", url: "http://feeds.skynews.com/feeds/rss/world.xml" } ], showSourceTitle: true, showPublishDate: true, reloadInterval: 2 * 60 * 1000, // every 5 minutes updateInterval: 2 * 5000 } } ] }; /*************** DO NOT EDIT THE LINE BELOW ***************/ if (typeof module !== 'undefined') {module.exports = config;} -
@richard238 said in v2.18.0 update gave black screen, then nothing.:
> // Override start method. > start: function () { > Log.log("Starting module: " + this.name); > > /* This code changed times to 24hr clock until April 17 system update. > ** Set locale. > ** if (config.language === 'en' && config.timeFormat == 24) { > ** config.language = 'en-gb'; > ** } > ** moment.locale(config.language); > */ > > > for (var c in this.config.calendars) { > var calendar = this.config.calendars[c]; > calendar.url = calendar.url.replace("webcal://", "http://"); > this.addCalendar(calendar.url, calendar.user, calendar.pass); > } > > this.calendarData = {}; > this.loaded = false; > },what is that? I’m not aware of any code in config for calendar
for grins, can you add // in front of the Log.log statement
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login