Read the statement by Michael Teeuw here.
Update from 2.15 to 2.16
-
I got electron installed again with specifying a version (sudo npm install electron@6.1.12). No idea, why electron disappeared in the first place.
The MMM-MyCalender has indeed an issue with 2.16. causing a black screen. And MMM-Fuel is saying “undefined” for an unknown reason. Both modules are disabled for now.
My MM boots and shows the all other modules again.
With each MM update something crashes, mostly one of the 3rd party modules because one or more dependencies are lost/changed or deleted.
Thanks for your help. Great community!
-
@andyyy yeh, version 2.1.6 is on electron 11.4.9
-
@andyyy i see you have npm version 7 installed… causes quite a few problems…
I would fall back to npm 6
-
How do I revert to npm v6?
-
@andyyy sudo npm install -g npm@6.14.3
you will then have to cleanup from 7
cd ~/MagicMirror rm -rf node_modules npm installu may have to do the same in any module folder with a package.json file
-
made it with npm install -g npm@6.14.14.
I still have issues with the default wheater module. The old “currentweather” module works but new default “weather” module just says “loading”.
-
@andyyy I would look in the window where u start mm
npm start or pm2
if pm2, the pm2 logs --lines=100
for any messages
loading is the default output til data arrives.
so it didn’t get the content from the apiis that forecast u are waiting for?
there is a timing issue, workaround with setting
(look it up for exact spelling)
initialLoadDelay:100 -
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.jsonand 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 inithit enter thru the prompts
npm install valid-url --savethe 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
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