Navigation

    MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    PM2 woes.

    Troubleshooting
    1
    2
    839
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • P
      phill104 last edited by

      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

      1 Reply Last reply Reply Quote 0
      • P
        phill104 last edited by

        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
        
        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post
        Enjoying MagicMirror? Please consider a donation!
        MagicMirror created by Michael Teeuw.
        Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
        This forum is using NodeBB as its core | Contributors
        Contact | Privacy Policy