@sdetweil I get the message:
audited 6 packages in 1.756s
found 0 vulnerabilities
@sdetweil I get the message:
audited 6 packages in 1.756s
found 0 vulnerabilities
@sdetweil I uninstalled MMM-PIR and reinstall. I have updated npm. I still get that same error message when I have MMM-PIR in my config.js file.
@sdetweil I did do that and there were no errors listed.
I have installed MMM-GooglePhotos. I did npm install. I ran the authentication script and got my album code. I don’t get any error messages, I just don’t have any images loading. The album has several images in it.
@sdetweil I had done it before, I believed. I did it again and I still get the same error and the same message.
I can’t get the Magic Mirror to load. I went to the .pm2/logs/mm-error.log and this is what I got:
/home/pi/MagicMirror/node_modules/electron/dist/electron js/electron.js: symbol lookup error: /home/pi/MagicMirror/modules/MMM-PIR/node_modules/epoll/build/Release/epoll.node: undefined symbol: _ZN2v816FunctionTemplate3NewEPNS_7IsolateEPFvRKNS_20FunctionCallbackInfoINS_5ValueEEEENS_5LocalIS4_EENSA_INS_9SignatureEEEiNS_19ConstructorBehaviorENS_14SideEffectTypeE
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! magicmirror@2.8.0 start: `sh run-start.sh`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the magicmirror@2.8.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/pi/.npm/_logs/2019-09-04T00_37_51_281Z-debug.log
The code above is repeated many more times but I only listed the one time for brevity.
I then went to the .npm/_logs/2009-09-04T00_50_58_410Z-debug.log and this is what was there:
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'start' ]
2 info using npm@6.9.0
3 info using node@v10.16.3
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle magicmirror@2.8.0~prestart: magicmirror@2.8.0
6 info lifecycle magicmirror@2.8.0~start: magicmirror@2.8.0
7 verbose lifecycle magicmirror@2.8.0~start: unsafe-perm in lifecycle true
8 verbose lifecycle magicmirror@2.8.0~start: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/pi/MagicMirror/node_modules/.bin:/home/pi/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games
9 verbose lifecycle magicmirror@2.8.0~start: CWD: /home/pi/MagicMirror
10 silly lifecycle magicmirror@2.8.0~start: Args: [ '-c', 'sh run-start.sh' ]
11 info lifecycle magicmirror@2.8.0~start: Failed to exec start script
12 verbose stack Error: magicmirror@2.8.0 start: `sh run-start.sh`
12 verbose stack spawn ENOENT
12 verbose stack at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:48:18)
12 verbose stack at ChildProcess.emit (events.js:198:13)
12 verbose stack at maybeClose (internal/child_process.js:982:16)
12 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
13 verbose pkgid magicmirror@2.8.0
14 verbose cwd /home/pi/MagicMirror
15 verbose Linux 4.19.66-v7+
16 verbose argv "/usr/bin/node" "/usr/bin/npm" "start"
17 verbose node v10.16.3
18 verbose npm v6.9.0
19 error file sh
20 error code ELIFECYCLE
21 error errno ENOENT
22 error syscall spawn
23 error magicmirror@2.8.0 start: `sh run-start.sh`
23 error spawn ENOENT
24 error Failed at the magicmirror@2.8.0 start script.
24 error This is probably not a problem with npm. There is likely additional logging output above.
25 verbose exit [ 1, true ]
I don’t really understand what anyof that means. What is causing the problem?
Is there a way to sort my tasks list for MMM-GoogleTasks? I see tasks for months from now, but not all of today’s tasks.
@Sean Thank you that workd.
{
module: ‘MMM-CalendarExt2’,
config: {
updateInterval: 1000 * 60,
calendars: [
{
url: “https://calendar.google.com/calendar/ical/.../basic.ics”,
name: “Candace’s Events”,
className: “candace-event”,
},
{
url: “https://calendar.google.com/calendar/ical/.../basic.ics”,
name: “Sam’s Events”,
className: “sam-event”,
},
{
url: “https://calendar.google.com/calendar/ical/.../basic.ics”,
name: “Liam’s Events”,
className: “liam-event”,
},
{
url: “https://calendar.google.com/calendar/ical/.../basic.ics”,
name: “Casey’s Events”,
className: “casey-event”,
},
{
url: “https://calendar.google.com/calendar/ical/.../basic.ics”,
name: “Family Events”,
className: “family-event”,
},
{
url: “https://calendar.google.com/calendar/ical/.../basic.ics”,
name: “Birthdays”,
className: “birthday-event”,
},
{
url: “https://calendar.google.com/calendar/ical/en.usa%23holiday%40group.v.calendar.google.com/public/basic.ics”,
name: “Holidays”,
className: “birthday-event”,
},
],
views: [
{
mode: "month",
name: "Monthly Calendar",
position: "middle_center",
hideOverflow: false,
timeFormat: "h:mm A",
},
{
mode: "month",
name: "Next Month",
position: "middle_center",
hideOverflow: false,
timeFormat: "h:mm A",
fromNow: 1,
},
{
mode: "month",
name: "Next Next Month",
position: "middle_center",
hideOverflow: false,
timeFormat: "h:mm A",
fromNow: 2,
},
{
mode: "month",
name: "Last Month",
position: "middle_center",
hideOverflow: false,
timeFormat: "h:mm A",
fromNow: -1,
},
],
scenes: [
{
name: "current",
views: ["Monthly Calendar"],
},
{
name: "next",
views: ["Next Month"],
},
{
name: "next_next",
views: ["Next Next Month"],
},
{
name: "before",
views: ["Last Month"],
},
],
}
},
I installed the MMM-CalendarExt2 back in August and it was working great. Now that it is September I am having a problem. Now it only shows events up to 3 days after the current day. It shows no events for the rest or the month or the next month. I can’t figure out why it is doing that.