Read the statement by Michael Teeuw here.
Update from 2.15 to 2.16
-
I screwed up my MM entirely. pm2 crashed randomly for an unkown reason.
When did “npm intall” on all modules after the update to 2.16, mostly npm complaints about some vulnerabilites. So I did “npm audit fix” on all them all. Maybe some dependencies broke rather than being fixed.
Another thing; npm complaint that 2.16 is uncompatible with node 10.x and npm version. So upgraded both to the latest one.
Mostly like all that ruined my MM.
Thus, I loaded back last working backup and just did “npm install” on all modules. Npm is still complaints about the node version, but all module run except MMM-MyCalender which seems to be uncompatible with 2.16.
-
@andyyy don’t run audit fix… ever… makes more of a mess than it fixes
what is the problem with MyCalendar?
-
@sdetweil no
package.json
and requestingvalid-url
… -
@karsten13 fun times!
-
@andyyy valid-url was removed in 2.16 as the library it uses was also removed…
but you can add it back for this modulecd ~/MagicMirror/modules/MMM-MyCalendar npm init
hit enter thru the prompts
npm install valid-url --save
the author should fix the module, but many authors are no longer maintaining their modules
-
Thx, after fixing this the next lib is missing. I just give up using that module.
I have a vision for the future MM development. All modules should run in a separate container/sandbox or capasulated/isolated somehow. So when they fail for whatever reason, the MM stays alive and reporting a specific error message.
Don’t get me wrong I highly appreciate the work/effort of michmich and his team.
-
@andyyy i think that MM should fail when a module fails and make it easier to find