Read the statement by Michael Teeuw here.
npm start problem ELIFECYCLE
-
@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 ?
Please help me and we may make zoom meeting.
Config Js:
package.json
localhost via browser
-
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.
-
@sdetweil Hey there, do you remember what the fix was exactly ? have the same issue… thanks !
-
@iNeusch edit the package.json, change the start line. remove the DISPLAY stuff…
leaving
./node_modules…not near my computer, phone is terrible for cut & paste
-
@sdetweil ok thanks :)
-
@iNeusch change
"start": "DISPLAY=\"${DISPLAY:=:0}\" ./node_modules/.bin/electron js/electron.js",
to this
"start": "./node_modules/.bin/electron js/electron.js",
-
I have exacthly the same problem Trying to install MM on Windows 10.
Followed the instructions, and got the DISPLAy errror. Followed the earlier instructions in this thread to clean it up. - no difference.
Followed these last instructions to remove the display, and new I get:
C:\Users\PC\MagicMirror>npm start
npm ERR! code EJSONPARSE
npm ERR! file C:\Users\PC\MagicMirror\package.json
npm ERR! JSON.parse Failed to parse json
npm ERR! JSON.parse Unexpected token . in JSON at position 172 while parsing near ‘…pts": {
npm ERR! JSON.parse “start”: ./node_modules/.bin/…’
npm ERR! JSON.parse Failed to parse package.json data.
npm ERR! JSON.parse package.json must be actual JSON, not just JavaScript.Any help is appreciated, thanks.
-
@bert269 said in npm start problem ELIFECYCLE:
npm ERR! code EJSONPARSE
npm ERR! file C:\Users\PC\MagicMirror\package.jsonu have a typ0… quotes are required around things in json
-
Thank - that did the trick.
Appreciated!