I think the issue is from that first unable to install dependencies issue. Maybe the electron-v1.3.8-linux-arm.zip is in /.electron folder was in the dependencies that were not installed causing npm install to have issues
Read the statement by Michael Teeuw here.
Best posts made by joey12725
-
RE: Unable to install dependencies, NPM install not working
Latest posts made by joey12725
-
RE: Unable to install dependencies, NPM install not working
I think the issue is from that first unable to install dependencies issue. Maybe the electron-v1.3.8-linux-arm.zip is in /.electron folder was in the dependencies that were not installed causing npm install to have issues
-
RE: Unable to install dependencies, NPM install not working
Could that be related to the npm install issue?
-
RE: Unable to install dependencies, NPM install not working
I re-installed magic mirror and got this above the unable to install dependencies error
npm WARN deprecated electron-prebuilt@1.4.3: electron-prebuilt has been renamed to electron. For more details, see http://electron.atom.io/blog/2016/08/16/npm-install-electron
npm ERR! Linux 4.1.19-v7+
npm ERR! argv “/usr/local/bin/node” “/usr/local/bin/npm” “install”
npm ERR! node v4.0.0
npm ERR! npm v3.10.8
npm ERR! file /home/pi/.npm/extract-zip/1.5.0/package/package.json
npm ERR! code EJSONPARSEnpm ERR! Failed to parse json
npm ERR! No data, empty input at 1:1
npm ERR!
npm ERR! ^
npm ERR! File: /home/pi/.npm/extract-zip/1.5.0/package/package.json
npm ERR! Failed to parse package.json data.
npm ERR! package.json must be actual JSON, not just JavaScript.
npm ERR!
npm ERR! This is not a bug in npm.
npm ERR! Tell the package author to fix their package.json file. JSON.parsenpm ERR! Please include the following file with any support request:
npm ERR! /home/pi/MagicMirror/npm-debug.log
Unable to install dependencies! -
RE: Unable to install dependencies, NPM install not working
Weird, I cannot find a solution to this, I have updated NPM and NodeJS, but not of any use
-
Unable to install dependencies, NPM install not working
When I installed MM2 it gave me an error saying “unable to install dependencies!” Then when I ran NPM install it gave me a list of errors.
npm WARN deprecated electron-prebuilt@1.4.3: electron-prebuilt has been renamed to electron. For more details, see http://electron.atom.io/blog/2016/08/16/npm-install-electron
npm ERR! Linux 4.1.19-v7+
npm ERR! argv “/usr/local/bin/node” “/usr/local/bin/npm” “install”
npm ERR! node v4.0.0
npm ERR! npm v3.10.8
npm ERR! file /home/pi/.npm/electron-download/3.0.1/package/package.json
npm ERR! code EJSONPARSEnpm ERR! Failed to parse json
npm ERR! No data, empty input at 1:1
npm ERR!
npm ERR! ^
npm ERR! File: /home/pi/.npm/electron-download/3.0.1/package/package.json
npm ERR! Failed to parse package.json data.
npm ERR! package.json must be actual JSON, not just JavaScript.
npm ERR!
npm ERR! This is not a bug in npm.
npm ERR! Tell the package author to fix their package.json file. JSON.parsenpm ERR! Please include the following file with any support request:
npm ERR! /home/pi/MagicMirror/npm-debug.log