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

    Posts

    Recent Best Controversial
    • RE: cannot install pm2

      @sdetweil should be fine its a SanDisk Ultra Plus 64GB U1 SDXC

      posted in Troubleshooting
      M
      mrlowndes
    • RE: cannot install pm2

      hmm good question.

      posted in Troubleshooting
      M
      mrlowndes
    • RE: cannot install pm2

      @sdetweil still nothing:

      pi@raspberrypi:~ $ bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/fixuppm2.sh)"
      the log will be saved in /home/pi/MagicMirror/installers/pm2_setup.log
      npm ERR! Unexpected end of JSON input while parsing near '...pes/node":"^12.7.5","'
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /root/.npm/_logs/2020-04-29T21_00_10_606Z-debug.log
      bash: line 103: pm2: command not found
      bash: line 180: pm2: command not found
      bash: line 183: pm2: command not found
      
      posted in Troubleshooting
      M
      mrlowndes
    • RE: cannot install pm2

      @sdetweil same result:

      pi@raspberrypi:~ $ bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/fixuppm2.sh)"
      
      the log will be saved in /home/pi/MagicMirror/installers/pm2_setup.log
      npm ERR! Unexpected end of JSON input while parsing near '...s":{"moment-timezone"'
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /root/.npm/_logs/2020-04-29T20_19_40_905Z-debug.log
      bash: line 103: pm2: command not found
      bash: line 180: pm2: command not found
      bash: line 183: pm2: command not found
      
      posted in Troubleshooting
      M
      mrlowndes
    • RE: cannot install pm2

      @sdetweil ok done. Now should I try bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/fixuppm2.sh)" again?

      posted in Troubleshooting
      M
      mrlowndes
    • RE: cannot install pm2

      I don’t think that worked. Tried to paste code but got flagged as spam

      posted in Troubleshooting
      M
      mrlowndes
    • RE: cannot install pm2

      @sdetweil

      pi@raspberrypi:~ $ bash -c "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/fixuppm2.sh)"
      the log will be saved in /home/pi/MagicMirror/installers/pm2_setup.log
      npm ERR! Unexpected end of JSON input while parsing near '...s":{"moment-timezone"'
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /root/.npm/_logs/2020-04-29T20_09_52_853Z-debug.log
      bash: line 103: pm2: command not found
      bash: line 180: pm2: command not found
      bash: line 183: pm2: command not found
      
      posted in Troubleshooting
      M
      mrlowndes
    • RE: cannot install pm2

      @sdetweil looks like pm2 was not installed:

      Splashscreen: Changed theme to MagicMirror successfully.
      Do you want use pm2 for auto starting of your MagicMirror (y/N)?y
      install and setup pm2
      bash: line 442: pm2: command not found
      bash: line 518: pm2: command not found
      bash: line 521: pm2: command not found
      Do you want to disable the screen saver? (y/N)?y
      
      posted in Troubleshooting
      M
      mrlowndes
    • RE: cannot install pm2

      @sdetweil

      We're ready! Run pm2 start MagicMirror from the ~/MagicMirror directory to start your MagicMirror.
       
       
      pi@raspberrypi:~ $ cd MagicMirror
      pi@raspberrypi:~/MagicMirror $ pm2 start MagicMirror
      bash: pm2: command not found
      pi@raspberrypi:~/MagicMirror $ 
      
      posted in Troubleshooting
      M
      mrlowndes
    • RE: cannot install pm2

      @sdetweil purged npm, now running your installer script…updating packages…I’m on a 2Mb/s internet connection…

      posted in Troubleshooting
      M
      mrlowndes
    • 1 / 1