Read the statement by Michael Teeuw here.
PM2 woes.
-
Decided to build a pi3 with Alexapi and MM. It all seemed to go well although I have yet to add the MM Alexa extensions.
The problem I am having is after installation PM2 starts MM fine using pm2 start MagicMirror.
If I then reboot I get the MM splash screen during boot but the application does not display. If I open a terminal and run pm2 start MagicMirror it shows online but nothing displays. I have to run npm start to get it to kick off. I am now at a bit of a loss as to what to do next.
Phill
-
Looking at the logs I see
Error: ENOENT: no such file or directory, open 'package.json' at Error (native) at Object.fs.openSync (fs.js:642:18) at Object.fs.readFileSync (fs.js:510:33) at Object. (/home/pi/MagicMirror/js/app.js:15:32) at Module._compile (module.js:577:32) at Object.Module._extensions..js (module.js:586:10) at Module.load (module.js:494:32) at tryModuleLoad (module.js:453:12) at Function.Module._load (module.js:445:3) at Module.require (module.js:504:17)Starting MagicMirror: v2.2.2 Loading config ... Loading module helpers ... No helper found for module: alert. Initializing new module helper ... Module helper loaded: updatenotification No helper found for module: clock. Initializing new module helper ... Module helper loaded: calendar No helper found for module: compliments. No helper found for module: currentweather. No helper found for module: weatherforecast. Initializing new module helper ... Module helper loaded: newsfeed All module helpers loaded. Starting server on port 8080 ... Server started ... Connecting socket for: updatenotification Connecting socket for: calendar Starting node helper for: calendar Connecting socket for: newsfeed Starting module: newsfeed Sockets connected & modules started ... Launching application. Create new calendar fetcher for url: http://www.calendarlabs.com/templates/ical/US-Holidays.ics - Interval: 300000 Create new news fetcher for url: http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml - Interval: 300000 Can't parse feed item: { title: '', link: 'https://www.nytimes.com//?partner=rss&emc=rss', guid: { ispermalink: 'true', text: 'https://www.nytimes.com//' }, 'atom:link': { rel: 'standout', href: 'https://www.nytimes.com//?partner=rss&emc=rss' }, description: '', 'dc:creator': '', pubdate: '' } Title: Description: Pubdate: undefined Can't parse feed item: { title: '', link: 'https://www.nytimes.com//?partner=rss&emc=rss', guid: { ispermalink: 'true', text: 'https://www.nytimes.com//' }, 'atom:link': { href: 'https://www.nytimes.com//?partner=rss&emc=rss', rel: 'standout' }, description: '', 'dc:creator': '', pubdate: '' } Title: Description: Pubdate: undefined Can't parse feed item: { title: '', link: 'https://www.nytimes.com//?partner=rss&emc=rss', guid: { ispermalink: 'true', text: 'https://www.nytimes.com//' }, 'atom:link': { href: 'https://www.nytimes.com//?partner=rss&emc=rss', rel: 'standout' }, description: '', 'dc:creator': '', pubdate: '' } Title: Description: Pubdate: undefined
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login