@SARCux something on your system is already using port 8080, is there a instance of MagicMirror not closed correctly? either restart the pi or change the port in the config file
Read the statement by Michael Teeuw here.
Posts
-
RE: HELP -- MMM-calendarExt2 was not displayed
-
RE: HELP -- MMM-calendarExt2 was not displayed
@SARCux open the dev window and see what errors show in the console
npm start dev -
RE: MMM-RAIN-MAP
Try adding this to your config
mapUrl: “https://a.tile.openstreetmap.de/${z}/${x}/${y}.png”,
-
RE: Complete Walkthrough - Install MagicMirror on a PC - Windows 7/10
@sdetweil said in Complete Walkthrough - Install MagicMirror on a PC - Windows 7/10:
@swvalenti said in Complete Walkthrough - Install MagicMirror on a PC - Windows 7/10:
is still asking for replace instead of request
what?
words not clear
Uncaught TypeError: Cannot read properties of undefined (reading 'replace') at cmpVersions (module.js:525) at Function.Module.register (module.js:502) at MMM-OpenWeatherForecast.js:41I did what you said but still get this error for some reason
-
RE: Complete Walkthrough - Install MagicMirror on a PC - Windows 7/10
@sdetweil the only thing that isn’t working now is when I run npm init-y in each module folder the module in the dev window is still asking for replace instead of request
-
RE: Complete Walkthrough - Install MagicMirror on a PC - Windows 7/10
@sdetweil oh well I give up I tried all the steps, thanks for all the help and patience
-
RE: Complete Walkthrough - Install MagicMirror on a PC - Windows 7/10
@sdetweil said in Complete Walkthrough - Install MagicMirror on a PC - Windows 7/10:
@swvalenti and what is the message?
what npm version are u running?
npm -v
this is what i get and below is version
C:\Users\Svale\MagicMirror>npm start > magicmirror@2.18.0 start C:\Users\Svale\MagicMirror > electron js\electron.js 'electron' is not recognized as an internal or external command, operable program or batch file. npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! magicmirror@2.18.0 start: `electron js\electron.js` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the magicmirror@2.18.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! C:\Users\Svale\AppData\Roaming\npm-cache\_logs\2022-03-21T22_10_23_329Z-debug.log C:\Users\Svale\MagicMirror>npm -v 6.14.0 C:\Users\Svale\MagicMirror> -
RE: Complete Walkthrough - Install MagicMirror on a PC - Windows 7/10
@sdetweil said in Complete Walkthrough - Install MagicMirror on a PC - Windows 7/10:
“start”:“node_modules/.bin/electron js/electron.js”,
I did that sam still doesn’t work sorry to be a bother
-
RE: Complete Walkthrough - Install MagicMirror on a PC - Windows 7/10
@sdetweil said in Complete Walkthrough - Install MagicMirror on a PC - Windows 7/10:
@swvalenti said in Complete Walkthrough - Install MagicMirror on a PC - Windows 7/10:
./node_modules
yes, you cannot have the ./ in front… windows doesn’t understand that …
read the instructions again
now I get this error…will never update again lesson learned
C:\Users\Svale\MagicMirror>npm start > magicmirror@2.18.0 start C:\Users\Svale\MagicMirror > electron js/electron.js 'electron' is not recognized as an internal or external command, operable program or batch file. npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! magicmirror@2.18.0 start: `electron js/electron.js` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the magicmirror@2.18.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! C:\Users\Svale\AppData\Roaming\npm-cache\_logs\2022-03-21T21_48_27_176Z-debug.log C:\Users\Svale\MagicMirror> -
RE: Complete Walkthrough - Install MagicMirror on a PC - Windows 7/10
@sdetweil any ideas on this one just showed up…It asked me that npm needed major update now it doesn’t work
C:\Users\Svale\MagicMirror>npm start > magicmirror@2.18.0 start > ./node_modules/.bin/electron js/electron.js '.' is not recognized as an internal or external command, operable program or batch file. C:\Users\Svale\MagicMirror> -
RE: Complete Walkthrough - Install MagicMirror on a PC - Windows 7/10
@sdetweil said in Complete Walkthrough - Install MagicMirror on a PC - Windows 7/10:
@swvalenti said in Complete Walkthrough - Install MagicMirror on a PC - Windows 7/10:
openweather forecast still doesn’t work no error in console
sorry, no idea there
sam whatever you told me to not which step I got it all working. Only issue now is two modules are not centered correctly even when using top_center…how or if you can use css for that?
-
RE: Complete Walkthrough - Install MagicMirror on a PC - Windows 7/10
@sdetweil said in Complete Walkthrough - Install MagicMirror on a PC - Windows 7/10:
@swvalenti no,. read the 1st post of the link I posted for black screen
ok we are getting somewhere pga now works, openweather forecast still doesn’t work no error in console
-
RE: Complete Walkthrough - Install MagicMirror on a PC - Windows 7/10
@sdetweil said in Complete Walkthrough - Install MagicMirror on a PC - Windows 7/10:
@swvalenti the module is missing ‘request’
npm install request in the MM folder?
-
RE: Complete Walkthrough - Install MagicMirror on a PC - Windows 7/10
@sdetweil said in Complete Walkthrough - Install MagicMirror on a PC - Windows 7/10:
@swvalenti I just install the module on my Windows MM 2.18 instance without trouble…
it was missing a library , per the back screen link… once I fixed that the module came up without issues
Well doesn’t surprise me there! HA thanks for all your work nonetheless
-
RE: Complete Walkthrough - Install MagicMirror on a PC - Windows 7/10
@sdetweil said in Complete Walkthrough - Install MagicMirror on a PC - Windows 7/10:
@swvalenti mmm-pga… looks like you didn’t complete the MM install process on windows
I followed the complete walkthrough but I can’t diagnose what I did wrong if you say that I did. Sorry to be a bother Sam
-
RE: Complete Walkthrough - Install MagicMirror on a PC - Windows 7/10
@sdetweil as an example MMM-PGA shows this in dev
module.js:525 Uncaught TypeError: Cannot read properties of undefined (reading 'replace') at cmpVersions (module.js:525) at Function.Module.register (module.js:502) at MMM-PGA.js:9