@sdetweil
is the pm2 log located at
/home/mm/.pm2
and how do I create the output of npm start?
mm@MagicMirror-live:~$ npm start
npm error code ENOENT
npm error syscall open
npm error path /home/mm/package.json
npm error errno -2
npm error enoent Could not read package.json: Error: ENOENT: no such file or directory, open '/home/mm/package.json'
npm error enoent This is related to npm not being able to find a file.
npm error enoent
npm error A complete log of this run can be found in: /home/mm/.npm/_logs/2025-04-10T19_02_15_732Z-debug-0.log
mm@MagicMirror-live:~$ cd MagicMirror
mm@MagicMirror-live:~/MagicMirror$ npm start
> magicmirror@2.31.0 start
> npm run start:x11
> magicmirror@2.31.0 start:x11
> DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
sh: 1: ./node_modules/.bin/electron: not found
mm@MagicMirror-live:~/MagicMirror$