Read the statement by Michael Teeuw here.
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>
-
@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
-
@swvalenti you shouldn’t update things unless u know why you are doing it…
we test with certain runtimes and release every 3 months
-
@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>
-
@swvalenti come on
remove the display and the leading
"start":"node_modules/.bin/electron js/electron.js",
-
@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
-
-
@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>
-
@swvalenti said in Complete Walkthrough - Install MagicMirror on a PC - Windows 7/10:
electron js\electron.js
u still have it wrong
“node_modules/.bin/electron electron.js”
electron is not in the path, so you have to give it the path to the executable
once again different versions of node and npm require slightly different solutions…
this is not an MM problem… they keep messing it up (in my opinion) -
@sdetweil oh well I give up I tried all the steps, thanks for all the help and patience