Read the statement by Michael Teeuw here.
PM2 MagicMirror - not working
-
@stalker401 ok. Someone reported a similar problem after updating to latest mm version.
They did not run
npm install
From the MagicMirror folder
And any modules that have a package.json file -
@sdetweil I am just wondering, are the guys running Raspbian updating to the latest version before updating to 2.8? I did the Raspbian update and and then updated the MM to 2.8, did the npm install in all the modules with a package.json and no issues.
-
@mumblebaj no idea. So just experience trouble. Mostly cause they haven’t learned the ins and outs of all this.
I’m hoping my new update script will help
-
I have created a pm2 only script to handle fixing the setup, see
-
@stalker401 actually, i’ve seen this before…
maybe you DID run npm install in a module folder that does NOT have a package.json file.
erase the node_modules folder in that module
cd modules/???? ??? is the module name rm -rf node_modules