Read the statement by Michael Teeuw here.
ENOENT yet the file exists within the Magic Mirror folder
-
-
Got this now I read somewhere that this is what needs to change for the display to work.
`
DISPLAY=“${DISPLAY:=:0}”./node_modules/.bin/electron js/electron.jsneeds to be removed, I just can’t remember where to access this setting.
$ npm start
magicmirror@2.11.0 start C:\Users\Dell Server\MagicMirror
DISPLAY=“${DISPLAY:=:0}” ./node_modules/.bin/electron js/electron.js‘DISPLAY’ 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.11.0 start:DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the magicmirror@2.11.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\Dell Server\AppData\Roaming\npm-cache_logs\2020-04-29T08_02_47_846Z-debug.log -
Found and sorted !
Now to load custom modules for news weather quote of the day etc.
-
@Chrisflex also, check , the install process is written for linux…
the two last steps need to be done manually
cd MagicMirror cd vendor npm install cd ..\fonts npm install
-
@Chrisflex - Please use the markdown features of the forum when posting logs and code.
That aside, I’m glad you got it sorted out.
-
Thanks
Now to add modules…
https://forum.magicmirror.builders/topic/4231/how-to-add-modules-for-absolute-beginners/2
The link shows instructions for the Pi and not Windows.
-
@Chrisflex - They’re pretty much one and the same. You already have git installed. Open a terminal in the modules folder, clone the module repository into it, follow the module’s instructions on installing & configuring.
-
@bhepler said in ENOENT yet the file exists within the Magic Mirror folder:
They’re pretty much one and the same. You already have git installed. Open a terminal in the modules folder, clone the module repository into it, follow the module’s instructions on installing & configuring.
Thank for the advice.