A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.
Read the statement by Michael Teeuw here.
Cannot find module "moment"
-
-
@sdetweil
Still samepi@raspberrypi:~/MagicMirror/modules/MMM-LICE $ pm2 logs [TAILING] Tailing last 15 lines for [all] processes (change the value with --lines option) /home/pi/.pm2/pm2.log last 15 lines: PM2 | 2021-07-26T02:05:51: PM2 log: App [MagicMirror:0] starting in -fork mode- PM2 | 2021-07-26T02:05:52: PM2 log: App [MagicMirror:0] online /home/pi/.pm2/logs/MagicMirror-error.log last 15 lines: 0|MagicMir | [26.07.2021 02:06.21.033] [WARN] The module 'currentweather' is deprecated in favor of the 'weather'-module, please refer to the documentation for a migration path 0|MagicMir | [26.07.2021 02:06.21.065] [WARN] The module 'weatherforecast' is deprecated in favor of the 'weather'-module, please refer to the documentation for a migration path /home/pi/.pm2/logs/MagicMirror-out.log last 15 lines: 0|MagicMir | [26.07.2021 02:06.21.048] [LOG] Connecting socket for: weatherforecast 0|MagicMir | [26.07.2021 02:06.21.074] [LOG] Connecting socket for: newsfeed 0|MagicMir | [26.07.2021 02:06.21.090] [LOG] Starting node helper for: newsfeed 0|MagicMir | [26.07.2021 02:06.21.102] [LOG] Connecting socket for: MMM-cryptocurrency 0|MagicMir | [26.07.2021 02:06.21.112] [LOG] Cryptocurrency module loaded! 0|MagicMir | [26.07.2021 02:06.21.128] [LOG] Connecting socket for: MMM-MyPrayerTimes 0|MagicMir | [26.07.2021 02:06.21.144] [LOG] Starting node_helper for: MMM-MyPrayerTimes 0|MagicMir | [26.07.2021 02:06.21.159] [LOG] Connecting socket for: MMM-LICE 0|MagicMir | [26.07.2021 02:06.21.174] [LOG] Starting node_helper for: MMM-LICE 0|MagicMir | [26.07.2021 02:06.21.187] [LOG] Connecting socket for: MMM-PIR 0|MagicMir | [26.07.2021 02:06.21.202] [LOG] Starting module helper: MMM-PIR 0|MagicMir | [26.07.2021 02:06.21.211] [LOG] Sockets connected & modules started ... 0|MagicMir | [26.07.2021 02:06.21.221] [LOG] 0|MagicMir | Ready to go! Please point your browser to: http://0.0.0.0:8080 0|MagicMir | Starting chromium browser now, have patience, it takes a minute 0|MagicMirror | [26.07.2021 02:08.03.737] [LOG] 0|MagicMirror | Create new calendarfetcher for url: https://calendar.google.com/calendar/ical/10s0ee0h3tb1ko7fqhpf71sfgs%40group.calendar.google.com/private-d3794e10c136ecfea3ad72fe63078acd/basic.ics - Interval: 300000 0|MagicMirror | [26.07.2021 02:08.05.785] [LOG] 0|MagicMirror | Create new newsfetcher for url: https://www.cnnturk.com/feed/rss/turkiye/news - Interval: 300000 0|MagicMirror | [26.07.2021 02:08.07.210] [LOG] 0|MagicMirror | Create new newsfetcher for url: https://www.birgun.net/xml/rss.xml - Interval: 300000 0|MagicMirror | [26.07.2021 02:08.15.652] [ERROR] 0|MagicMirror | Whoops! There was an uncaught exception... 0|MagicMirror | [26.07.2021 02:08.15.761] [ERROR] 0|MagicMirror | TypeError: $ is not a function 0|MagicMirror | at Request.request [as _callback] (/home/pi/MagicMirror/modules/MMM-LICE/node_helper.js:27:27) 0|MagicMirror | at Request.self.callback (/home/pi/MagicMirror/modules/MMM-LICE/node_modules/request/request.js:185:22) 0|MagicMirror | at Request.emit (events.js:198:13) 0|MagicMirror | at Request.<anonymous> (/home/pi/MagicMirror/modules/MMM-LICE/node_modules/request/request.js:1154:10) 0|MagicMirror | at Request.emit (events.js:198:13) 0|MagicMirror | at IncomingMessage.<anonymous> (/home/pi/MagicMirror/modules/MMM-LICE/node_modules/request/request.js:1076:12) 0|MagicMirror | at Object.onceWrapper (events.js:286:20) 0|MagicMirror | at IncomingMessage.emit (events.js:203:15) 0|MagicMirror | at endReadableNT (_stream_readable.js:1145:12) 0|MagicMirror | at process._tickCallback (internal/process/next_tick.js:63:19) 0|MagicMirror | [26.07.2021 02:08.15.803] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? 0|MagicMirror | [26.07.2021 02:08.15.842] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
-
@uok825 did cheerio get installed?
cd ~/MagicMirror/modules/MMM-LICE ls node_modules/cheerio
-
pi@raspberrypi:~ $ cd ~/MagicMirror/modules/MMM-LICE pi@raspberrypi:~/MagicMirror/modules/MMM-LICE $ ls node_modules/cheerio LICENSE lib package.json Readme.md pi@raspberrypi:~/MagicMirror/modules/MMM-LICE $
-
@uok825 hm… I use it so it should be easy…
-
@uok825 do u need that set of parents in front of $
($('.....'))
-
@sdetweil Deleted parents but still same.
0|MagicMirror | [26.07.2021 13:25.47.639] [ERROR] 0|MagicMirror | Whoops! There was an uncaught exception... 0|MagicMirror | [26.07.2021 13:25.47.741] [ERROR] 0|MagicMirror | TypeError: $ is not a function 0|MagicMirror | at Request.request [as _callback] (/home/pi/MagicMirror/mod ules/MMM-LICE/node_helper.js:27:26) 0|MagicMirror | at Request.self.callback (/home/pi/MagicMirror/modules/MMM- LICE/node_modules/request/request.js:185:22) 0|MagicMirror | at Request.emit (events.js:198:13) 0|MagicMirror | at Request.<anonymous> (/home/pi/MagicMirror/modules/MMM-LI CE/node_modules/request/request.js:1154:10) 0|MagicMirror | at Request.emit (events.js:198:13) 0|MagicMirror | at IncomingMessage.<anonymous> (/home/pi/MagicMirror/module s/MMM-LICE/node_modules/request/request.js:1076:12) 0|MagicMirror | at Object.onceWrapper (events.js:286:20) 0|MagicMirror | at IncomingMessage.emit (events.js:203:15) 0|MagicMirror | at endReadableNT (_stream_readable.js:1145:12) 0|MagicMirror | at process._tickCallback (internal/process/next_tick.js:63: 19) 0|MagicMirror | [26.07.2021 13:25.47.770] [ERROR] 0|MagicMirror | MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection? 0|MagicMirror | [26.07.2021 13:25.47.788] [ERROR] If you think this really is a n issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror /issues
-
@uok825 weird. never seen such a thing
can u try changing the $ to zz
in the require and where used.
$ is usually used for jQuery
-
@sdetweil I just rebuild the module without using request.
-
@uok825 ok, but THAT also make no sense…