Read the statement by Michael Teeuw here.
MMM remote
-
@bradley1982 said in MMM remote:
Line 134 col 17 Unexpected ‘‘
noticed the double quote is curved
this means the copy/paste treated the content as a word processing document and not an ansi text file
single quotes are impacted ted as well.
the text version of these characters are straight up and down
-
@sdetweil thanks for how do i fix this?
-
@bradley1982 you either have to replace all the bad quotes w good ones, or separate the whole config entry for remote control with good text
-
@sdetweil thanks very much. does it matter if i use double or single … sorry no got a clue
got it firing but error loading config
Starting MagicMirror: v2.6.0
Loading config …
Loading module helpers …
No helper found for module: alert.
No helper found for module: clock.
No helper found for module: calendar_monthly.
Initializing new module helper …
Module helper loaded: calendar
Initializing new module helper …
Module helper loaded: MMM-Todoist
Initializing new module helper …
Module helper loaded: MMM-MyScoreboard
Initializing new module helper …
Module helper loaded: MMM-OpenWeatherMapForecast
Initializing new module helper …
Module helper loaded: MMM-PhilipsHue
WARNING! Could not load config file. Starting with default configuration. Error found: Error: Cannot find module ‘logger’
Loading module helpers …
No helper found for module: alert.
No helper found for module: clock.
No helper found for module: calendar_monthly.
Initializing new module helper …
Module helper loaded: calendar
Initializing new module helper …
Module helper loaded: MMM-Todoist
Initializing new module helper …
Module helper loaded: MMM-MyScoreboard
Initializing new module helper …
Module helper loaded: MMM-OpenWeatherMapForecast
Initializing new module helper …
Module helper loaded: MMM-PhilipsHue
Whoops! There was an uncaught exception…
{ Error: Cannot find module ‘logger’
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:603:15)
at Function.Module._load (internal/modules/cjs/loader.js:529:25)
at Module.require (internal/modules/cjs/loader.js:657:17)
at require (internal/modules/cjs/helpers.js:22:18)
at Object. (/home/pi/MagicMirror/modules/MMM-Remote-Control/node_helper.js:15:13)
at Module._compile (internal/modules/cjs/loader.js:721:30)
at Object.Module._extensions…js (internal/modules/cjs/loader.js:732:10)
at Module.load (internal/modules/cjs/loader.js:620:32)
at tryModuleLoad (internal/modules/cjs/loader.js:560:12)
at Function.Module._load (internal/modules/cjs/loader.js:552:3) 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/issuesany ideas
-
@bradley1982 single or double doesn’t matter as long as both ends are the same
Error: Cannot find module ‘logger’
looks like the hue module didn’t document that dependency
I the module folder do
npm install logger
-
@sdetweil hi now getting this error
Connecting socket for: MMM-Remote-Control
WARNING! Could not load config file. Starting with default configuration. Error found: TypeError: Log.log is not a function -
@bradley1982 but you are running mm 2.6
that is 4 years old. 2.25 is current, that’s 19 quarters newer