MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. DarioCas
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    D
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 5
    • Groups 0

    DarioCas

    @DarioCas

    0
    Reputation
    255
    Profile views
    5
    Posts
    0
    Followers
    0
    Following
    Joined
    Last Online

    DarioCas Unfollow Follow

    Best posts made by DarioCas

    • RE: PM2 does not start the Magic Mirror

      Hey Guys!

      it works now!
      i did it as described with the mm script here: https://github.com/MichMich/MagicMirror/wiki/Auto-Starting-MagicMirror

      thank you for all your replies!

      Regards

      Dario

      posted in Troubleshooting
      D
      DarioCas
    • RE: PM2 does not start the Magic Mirror

      @lavolp3 The Mirror does start if i start it manually.

      this is the whole error log:

      Error: ENOENT: no such file or directory, open 'package.json'
          at Object.fs.openSync (fs.js:646:18)
          at Object.fs.readFileSync (fs.js:551:33)
          at Object.<anonymous> (/home/pi/MagicMirror/js/app.js:15:32)
          at Module._compile (module.js:652:30)
          at Object.Module._extensions..js (module.js:663:10)
          at Module.load (module.js:565:32)
          at tryModuleLoad (module.js:505:12)
          at Function.Module._load (module.js:497:3)
          at Module.require (module.js:596:17)
          at require (internal/module.js:11:18)
      

      and this is the log out:

      > magicmirror@2.6.0 start /home/pi/MagicMirror
      > sh run-start.sh
      
      Starting MagicMirror: v2.6.0
      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
      Shutting down server...
      Stopping module helper: updatenotification
      Stopping module helper: calendar
      Stopping module helper: newsfeed
      
      

      These are the logs of pm2.
      The Mirror does not start if i start it from pm2.

      thanks for helping! :)

      posted in Troubleshooting
      D
      DarioCas

    Latest posts made by DarioCas

    • RE: PM2 does not start the Magic Mirror

      Hey Guys!

      it works now!
      i did it as described with the mm script here: https://github.com/MichMich/MagicMirror/wiki/Auto-Starting-MagicMirror

      thank you for all your replies!

      Regards

      Dario

      posted in Troubleshooting
      D
      DarioCas
    • RE: PM2 does not start the Magic Mirror

      @lavolp3 starting it manually does work. but with PM2 not.

      posted in Troubleshooting
      D
      DarioCas
    • RE: PM2 does not start the Magic Mirror

      @lavolp3 The Mirror does start if i start it manually.

      this is the whole error log:

      Error: ENOENT: no such file or directory, open 'package.json'
          at Object.fs.openSync (fs.js:646:18)
          at Object.fs.readFileSync (fs.js:551:33)
          at Object.<anonymous> (/home/pi/MagicMirror/js/app.js:15:32)
          at Module._compile (module.js:652:30)
          at Object.Module._extensions..js (module.js:663:10)
          at Module.load (module.js:565:32)
          at tryModuleLoad (module.js:505:12)
          at Function.Module._load (module.js:497:3)
          at Module.require (module.js:596:17)
          at require (internal/module.js:11:18)
      

      and this is the log out:

      > magicmirror@2.6.0 start /home/pi/MagicMirror
      > sh run-start.sh
      
      Starting MagicMirror: v2.6.0
      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
      Shutting down server...
      Stopping module helper: updatenotification
      Stopping module helper: calendar
      Stopping module helper: newsfeed
      
      

      These are the logs of pm2.
      The Mirror does not start if i start it from pm2.

      thanks for helping! :)

      posted in Troubleshooting
      D
      DarioCas
    • RE: PM2 does not start the Magic Mirror

      @lavolp3 this was in the LOG of pm2:

      Error ENOENT no such file or directory, open ‘packages.json’

      I think the command was open packages.json

      posted in Troubleshooting
      D
      DarioCas
    • PM2 does not start the Magic Mirror

      Hi!

      I recently wanted to build a magicmirror.

      I installed the Magicmirror software and also automatically pm2.

      Everything worked fine. The Magicmirror came up.
      Then i rebooted the Raspberry.
      From there on pm2 didn’t work anymore.
      This was in the log:

      
      
      :::
      
      //Error: ENOENT: no such file or directory, open 'package.json'
      
      :::
      
      
      

      Does someone know what i have to do?

      Regards

      Dario Casciato

      posted in Troubleshooting pm2 error enoent
      D
      DarioCas