@sdetweil
I tried to excute some of the commands you gave me
pi@raspberrypi:~ $ pm2 logs
[PM2] Spawning PM2 daemon with pm2_home=/home/pi/.pm2
internal/modules/cjs/loader.js:583
throw err;
^
Error: Cannot find module 'shelljs'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
at Function.Module._load (internal/modules/cjs/loader.js:507:25)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (/usr/local/lib/node_modules/pm2/node_modules/v8-compile-cache/v8-compile-cache.js:161:20)
at module.exports.Client.launchDaemon (/usr/local/lib/node_modules/pm2/lib/Client.js:244:7)
at /usr/local/lib/node_modules/pm2/lib/Client.js:103:10
at /usr/local/lib/node_modules/pm2/lib/Client.js:311:14
at process._tickCallback (internal/process/next_tick.js:61:11)
pi@raspberrypi:~ $ npm i -g npm
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/npm
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules/npm/node_modules
npm WARN checkPermissions Missing write access to /usr/local/lib/node_modules
npm ERR! path /usr/local/lib/node_modules/npm
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall access
npm ERR! Error: EACCES: permission denied, access '/usr/local/lib/node_modules/npm'
npm ERR! { [Error: EACCES: permission denied, access '/usr/local/lib/node_modules/npm']
npm ERR! stack:
npm ERR! 'Error: EACCES: permission denied, access \'/usr/local/lib/node_modules/npm\'',
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'access',
npm ERR! path: '/usr/local/lib/node_modules/npm' }
npm ERR!
npm ERR! The operation was rejected by your operating system.
npm ERR! It is likely you do not have the permissions to access this file as the current user
npm ERR!
npm ERR! If you believe this might be a permissions issue, please double-check the
npm ERR! permissions of the file and its containing directories, or try running
npm ERR! the command again as root/Administrator (though this is not recommended).
npm ERR! A complete log of this run can be found in:
npm ERR! /home/pi/.npm/_logs/2019-08-06T18_59_40_902Z-debug.log
pi@raspberrypi:~ $
I ran “pm2 logs” and “npm i -g npm”
Looks like I got similar results. Should I do
npm install
In the MagicMirror folder now?