May you try “npm install electron”?
Read the statement by Michael Teeuw here.
Posts
-
RE: Unable to install dependencies, NPM install not working
Did you tried the followed:
npm install npm@latest -g
npm install -g grunt
npm install -g electron -
RE: help! npm start error: Failed at the start script 'electron js/electron.js'.
Sounds that now grunt is not installed…
Try:
npm install -g grunt
after them again npm install -g electronBtw. how did you install the mirror? By yourself or with the suggested curl command?
-
RE: mmm-wu-moon-phases - Moonphases from Weather Underground
- for default value Switzerland.
;)
Nice module! Thanks for shareing.
- for default value Switzerland.
-
RE: help! npm start error: Failed at the start script 'electron js/electron.js'.
Did you tried “npm install electron”?
-
RE: raspberry-pi alternatives
Actually I got the problem that the RAM is filled and the system starts to swap - which made the mirror, obviously very slow.
Does anyone have similiar issues?
A pm2 reload does not really work - The only way is to kill electron and start the mirror again - than it works fine for like 12 hours. I don’t really get what the RAM is filling - Maybe its the iFrame Module? A clean installation will probably not have those problems, think it must be a module…
-
RE: Calendar showing "in X day" wrongly
Thanks for your explanation.
You talk alot of birthdays, may it be possible that the person lives in another timezone? And so facebook - somehow - get a mess, like its more than 24 hours for them but less than, like 48 or 36 for us? At least facebook looks about “where you are” about a birthday., not what time it is over there…?
Im just curious because my calendars does not provide any “tomorrow” - only a “today”. The rest is showed like “in 2 days” For Birthdays I use an own hosted calendar on my webspace because I had to many alerts provided by facebook - so I checked an old photo and there I have also those values “Tomorrow” and so on… Maybe I try the event calendar and looks what happens at my mirror. Wunderlist provides also a “Tomorrow”, as it shown in the app. Facebook shows thoes values also on theyr page.
Very strange… Sorry that I can’t help you so far.
-
RE: Calendar showing "in X day" wrongly
It’s not that, I don’t have this problem - Never seen a “in 1 day”. Maybe its a wrong value provided by your calendar? Do you have multiple calendars - and it appears at everyone?
I use now 8 different Calendars and I don’t get that issue - So I can’t say anything about it.
-
RE: Calendar showing "in X day" wrongly
I’m not a dev, but a workmate shows me the followed video about development and timezone(s), since then - I never mess with a dev about this thing again - Maybe it helps you to understand that those thins “aren’t just easy” as we think from our point of view :).
https://www.youtube.com/watch?v=-5wpm-gesOY
Have fun, its a nice insight.
-
RE: MMM-DWD-WarnWeather - Wetterwarnungen
Nice work and thanks for shareing!
Does the german wheater forecast provide an API? Are those warnings for a special region or a general broadcast for your state (Bundesland)?
I think I have look if the Swiss guys does too, usually they provide alot of datas (ch opendata) - Need those warnings too, especially for snow/icy conditions :).
-
RE: Youtube TV
I use the “iFrame” module for it. And I modified the youtube link like their documentation said, so you can remove the youtube button, say “autoplay”, use a playlist, hide the pause&rewind buttons etc.
I’ve included the ISS live webstream on my mirror - looks pretty nice with a dark background so you don’t notice the boarders and it looks like its embeded on the screen.
-
RE: Wunderlist - your todos on the mirror
I use that possibility with a seperate list. I got two Task list which I share with my room mate: One for “Todo”, single point without a date, and a second one for appointments. This one I’ve included in the calendar and not in the to do list, so we dispatch our “Todos” in the correct list and have shown it up there.
But my problem is: Wunderlist does not provide the time to the calendar. Every “appointment” is “Tomorrow at 0:00” - which is pretty annoying. I actually hosted a Radicale Server and created few calendars, than its not a problem - So I believe its an issue on wunderlist :(.
-
RE: raspberry-pi alternatives
Another way would be to use the servermode - Than add a chromecast to your mirror/screen and open it in a browser with F11 as fullscreen.
Works pretty nice, I’m thinking about to made a hosting on my root servers and provide it over this way to my friends with limited technical knowledge (GIT & Puppet). Is my next project - but first I have to end this one, I’m building a new frame :).
-
RE: 404 Error
@kpenrose47 said in 404 Error:
When trying to install Magic Mirror I get a ‘bash: line 1: 404:: command not found’ error. I used the following link to install Magic Mirror ‘curl -sL https:/raw.githubusercontent.com/michmich/magicmirror/master/installers/raspberry.sh | bash’.
Am I trying to install from the wrong location?
Yeah, I posted that an hour before also - but it was transfered to another thread :/.
As bhepler now suggested: You missed a / in your link. Also the message would explain: As the link is wrong, your curl receive a 404 ERROR, which is piped to “bash” - and bash does not know what the command “404” is :).
-
RE: Dependency Problems
Hm strange. Do you use npm version 0.10.29 on purpose?
May you try to update:
npm install npm -g
npm update -gand also maybe clean cache:
npm cache cleanand than again to try install the package and his dependency.
-
RE: raspberry-pi alternatives
Edit: wtf - again it posts on a wrong thread…
Edit2: To say something constructive: I’ve also expierenced some performance issues, I have an ISS livestream on my mirror, also one of the SERENE and a live windprofile of european temp&wind conditions. Sometimes its a little bit laggy - in background there are wheater forecast, wheater now, wunderlist with 1 list as to do and one included in calendar, calendar himself use 7 different links, 4 newsfeeds and last but not least my traffic forecast. So I’m not wondering about that :) - most of the time its no problem, just have a look if its swapping - than a reload of the mirror will help (pm2 reload mm).
-
RE: Dependency Problems
Did you install the package?
npm install snyk-protect
Try to run it:
npm run snyk-protect
Does that work?
-
RE: SenseHat data on MM?
You got only one “/” after https. Is that a paste error?
Edit: Uhm wtf, I posted on another thread and after “Submit” I’m here… what the heck.
Edit2: Btw you can read your sensors with python, the the libraries for it are free to use - I also have a grovepi, works well. I use the output of the python script and show it on a RGB-LCD Display.So the output can be streamed in a file, so you only need a module which can read that file like the “Hello world” module with an external file as input. Or you push it local to a webserver and use the iframe module as example…
Just as an input.
-
RE: MMM-Wunderlist not updating
May its not enough if you make “pm2 reload <magicmirrorscript.sh>”? By then a reboot is not necessary.
