MagicMirror² v2.13.0 is available! For more information about this release, check out this topic.

npm start problem ELIFECYCLE



  • Hi Guys,

    I’m trying to work MagicMirror on my Windows 10
    I did try all way , (cpm clear cache, npm install, eletcron install, deletenode_modeules directory, and re-install, delete package.json.lock etc)
    But when I call npm start server (or only npm start)
    It shows :

    magicmirror@2.12.0 start C:\Users\Emrah Aslan\Desktop\SmartWall\smartwall
    DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js “server”

    ‘DISPLAY’ is not recognized as an internal or external command,
    operable program or batch file.
    npm ERR! code ELIFECYCLE
    npm ERR! errno 1
    npm ERR! magicmirror@2.12.0 start: DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js "server"
    npm ERR! Exit status 1
    npm ERR!
    npm ERR! Failed at the magicmirror@2.12.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! C:\Users\Emrah Aslan\AppData\Roaming\npm-cache_logs\2020-09-05T00_05_52_349Z-debug.log

    How can I run this, on my browser ? I need your supervisor



  • @emrah_asl finish install ( not supported on windows)

    cd MagicMirror
    cd vendor
    npm install
    cd ..\fonts
    npm install
    cd ..
    

    then restart mm



  • @sdetweil said in npm start problem ELIFECYCLE:

    cd MagicMirror
    cd vendor
    npm install
    cd …\fonts
    npm install
    cd …

    Sorry, the same Issue. I tried fix this, doe not sleep 25 hours. but no result ?

    I have also Internet Information server, is this something relaeted with this ?

    5753ce5f-4096-4dde-bab1-82231c278ff5-image.png

    Please help me and we may make zoom meeting.

    Config Js:

    76ea4039-70e8-41c1-8324-a390e11c865d-image.png

    package.json

    5c0ec4a4-1d6d-4cf7-9822-80f132eb21ed-image.png

    localhost via browser

    93b0f99b-5c65-4db9-9d10-c7af98e4a8ec-image.png



  • we fixed this offline. he had to edit the DISPLAY stuff out of the start script in package.json



  • Yes, thank you very much for your small adjustment.


Log in to reply