@buzzkc Use my new scripts. Search for fixuppm2
Read the statement by Michael Teeuw here.
Posts
-
RE: Raspian buster & MM 2.8
-
RE: MagicMirror won't start with newest build
@roooooony
can you dols /usr/lib/arm-linux-gnueabihf/libnss3.so -laF and ls /lib/arm-linux-gnueabihf/libdbus-1.so.3 -laF
mine are dated aug 22 and Jun 9 (libdbus-1.so.3.19.11) respectively
and a thing to test out
rename the ~/MagicMirror/node_modules/electron folder to some other name
then docd ~/MagicMirror npm install electron@6.0.12
then try to start MagicMirror
-
RE: Was working fine, now just a blank screen
@davidkmcw said in Was working fine, now just a blank screen:
Error: Cannot find module 'node_helper
that thing again
do
cd ~/MagicMirror git checkout modules/node_modules/node_helper/index.js
this was caused by doing an npm install in a folder that did NOT have a package.json file
-
RE: Black Screen: "cannot find module 'node_helper'"
@dankerthrone said in Black Screen: "cannot find module 'node_helper'":
Cannot find module ‘node_helper’
u did an npm install in a folder that had no package.json file I think
workaround do
cd ~/MagicMiror git checkout modules/node_modules/node_helper/index.js
-
creating a logger to capture module console.log/Log.log output
I have been fighting some crashes for a while, but using the dev window doesn’t help. it dies when Electron dies…
I found this logger, and it has helped a LOT…
thought others would be interested…
you put the javascript in a file (I used js/logger.js)
and then add the two lines to the index.html file (change the path/name of the logger.js file to match what you do)the log file will be in ~/.config/Electron/logs
(note the leading dot on config) -
RE: Can someone do the coding for me? $$
@Hellonoonan I am willing to discuss. send me a better description. My email is my user ID here on Gmail.
We can also chat on discord.
-
RE: Can't get a module to update
@valid8r you only need to update the module… the mm update does NOT update any non-default modules…
go to the module folder
cd~/MagicMirror/modules/MMM-Holidaylights git pull
if it has a package.json file then in the module folder do
npm install
-
RE: Can't install; trouble with nodejs and npm
@bm erase the MagicMirror folder and use my install script from here
https://github.com/sdetweil/MagicMirror_scriptsNode and npm are way downlevel.
npm ERR! node -v v0.10.29 npm ERR! npm -v 1.4.21
current node is 10.17 or higher
current npm is 6.xThe automated install script fixes that