• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Error on fresh install

Scheduled Pinned Locked Moved Troubleshooting
3 Posts 2 Posters 409 Views 2 Watching
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.
  • C Offline
    cpramhofer
    last edited by Apr 19, 2021, 9:03 AM

    Hi Folks,

    i have problems with installing MM. i tried (several times) a complete fresh install on a new SD with Raspberry Pi OS Lite 2021-03-04 and the install script:

    bash -c  "$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/raspberry.sh)"
    

    when i try to run MM i get following ERROR

    pi@MMM:~/MagicMirror $ DISPLAY=:0 npm start
    
    > magicmirror@2.15.0 start /home/pi/MagicMirror
    > ./run-start.sh $1
    
    [19.04.2021 10:37.10.619] [LOG]   Starting MagicMirror: v2.15.0
    [19.04.2021 10:37.10.632] [LOG]   Loading config ...
    [19.04.2021 10:37.10.642] [LOG]   Loading module helpers ...
    [19.04.2021 10:37.10.646] [LOG]   No helper found for module: alert.
    [19.04.2021 10:37.10.894] [LOG]   Initializing new module helper ...
    [19.04.2021 10:37.10.896] [LOG]   Module helper loaded: updatenotification
    [19.04.2021 10:37.10.898] [LOG]   No helper found for module: clock.
    ./run-start.sh: Zeile 102:  7065 Getötet                node serveronly
    npm ERR! code ELIFECYCLE
    npm ERR! errno 137
    npm ERR! magicmirror@2.15.0 start: `./run-start.sh $1`
    npm ERR! Exit status 137
    npm ERR! 
    npm ERR! Failed at the magicmirror@2.15.0 start script.
    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
    
    npm ERR! A complete log of this run can be found in:
    npm ERR!     /home/pi/.npm/_logs/2021-04-19T08_37_11_344Z-debug.log
    

    the log shows the following:

    0 info it worked if it ends with ok
    1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'start' ]
    2 info using npm@6.14.12
    3 info using node@v10.24.1
    4 verbose run-script [ 'prestart', 'start', 'poststart' ]
    5 info lifecycle magicmirror@2.15.0~prestart: magicmirror@2.15.0
    6 info lifecycle magicmirror@2.15.0~start: magicmirror@2.15.0
    7 verbose lifecycle magicmirror@2.15.0~start: unsafe-perm in lifecycle true
    8 verbose lifecycle magicmirror@2.15.0~start: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/pi/MagicMirror/node_modules/.bin:/usr/$
    9 verbose lifecycle magicmirror@2.15.0~start: CWD: /home/pi/MagicMirror
    10 silly lifecycle magicmirror@2.15.0~start: Args: [ '-c', './run-start.sh $1' ]
    11 silly lifecycle magicmirror@2.15.0~start: Returned: code: 137  signal: null
    12 info lifecycle magicmirror@2.15.0~start: Failed to exec start script
    13 verbose stack Error: magicmirror@2.15.0 start: `./run-start.sh $1`
    13 verbose stack Exit status 137
    13 verbose stack     at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
    13 verbose stack     at EventEmitter.emit (events.js:198:13)
    13 verbose stack     at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
    13 verbose stack     at ChildProcess.emit (events.js:198:13)
    13 verbose stack     at maybeClose (internal/child_process.js:982:16)
    13 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5)
    14 verbose pkgid magicmirror@2.15.0
    15 verbose cwd /home/pi/MagicMirror
    16 verbose Linux 5.10.17-v7+
    17 verbose argv "/usr/bin/node" "/usr/bin/npm" "start"
    18 verbose node v10.24.1
    19 verbose npm  v6.14.12
    20 error code ELIFECYCLE
    21 error errno 137
    22 error magicmirror@2.15.0 start: `./run-start.sh $1`
    22 error Exit status 137
    23 error Failed at the magicmirror@2.15.0 start script.
    23 error This is probably not a problem with npm. There is likely additional logging output above.
    24 verbose exit [ 137, true ]
    
    
    
    S 1 Reply Last reply Apr 19, 2021, 11:49 AM Reply Quote 0
    • S Offline
      sdetweil @cpramhofer
      last edited by Apr 19, 2021, 11:49 AM

      @cpramhofer cannot be os lite. u need the graphical desktop

      change to full, refladh the sd card

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • C Offline
        cpramhofer
        last edited by Apr 19, 2021, 2:44 PM

        hi @sdetweil,

        in deed that was the problem, thank you!

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        1 / 1
        • First post
          2/3
          Last post
        Enjoying MagicMirror? Please consider a donation!
        MagicMirror created by Michael Teeuw.
        Forum managed by Sam, technical setup by Karsten.
        This forum is using NodeBB as its core | Contributors
        Contact | Privacy Policy