Read the statement by Michael Teeuw here.
ERROR:network_service_instance_impl.cc(600)
-
~ $ npm run server npm ERR! code ENOENT npm ERR! syscall open npm ERR! path /home/togletree/package.json npm ERR! errno -2 npm ERR! enoent Could not read package.json: Error: ENOENT: no such file or directory, open '/home/togletree/package.json' npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent npm ERR! A complete log of this run can be found in: /home/togletree/.npm/_logs/2024-11-12T15_39_23_877Z-debug-0.log
-
@togletree93 have to be in the MagicMirror folder for all MagicMirror commands
-
@sdetweil Sorry for not getting back faster but the page loaded in server mode.
So what does that mean about trying to run it through terminal? is it a software problem? -
@togletree93 yes, electron browser is having trouble again
i am busy til this evening i will write up and create a script for this
-
@togletree93 I added a new script at the end of the scripts page
https://github.com/sdetweil/MagicMirror_scriptsthis will install my startup script in the package.json
and update the installers/mm.sh to indicate which browser to use
(and install the browser you pick from a list if not already installed)this will run mm in server only mode and then launch a browser over it like you did manually
the look is identical, (althi midori browser has gotten troublesome with its parameter handling and MAY need to have its window maximized manually