Error in npm install while installing vendor files please help
See original GitHub issuepi@raspberrypi:~/MagicMirror $ npm install npm WARN deprecated time-grunt@2.0.0: Deprecated because Grunt is practically unmaintained. Move on to something better. This package will continue to work with Grunt v1, but it will not receive any updates. npm WARN deprecated @types/vfile-message@2.0.0: This is a stub types definition. vfile-message provides its own type definitions, so you do not need this installed.
electron-chromedriver@6.0.0 install /home/pi/MagicMirror/node_modules/electron-chromedriver node ./download-chromedriver.js
core-js@2.6.11 postinstall /home/pi/MagicMirror/node_modules/core-js node -e “try{require(‘./postinstall’)}catch(e){}”
Thank you for using core-js ( https://github.com/zloirock/core-js ) for polyfilling JavaScript standard library!
The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:
https://opencollective.com/core-js https://www.patreon.com/zloirock
Also, the author of core-js ( https://github.com/zloirock ) is looking for a good job -)
console-stamp@0.2.9 postinstall /home/pi/MagicMirror/node_modules/console-stamp node ./msg.js
Attention Console-stamp version 3.0.0 Release Candidate is out. Install by using the tag ‘@next’. NB: Breaking changes. For more details goto: https://www.npmjs.com/package/console-stamp/v/next
electron@6.1.7 postinstall /home/pi/MagicMirror/node_modules/electron node install.js
magicmirror@2.11.0 install /home/pi/MagicMirror echo "Installing vendor files … " && cd vendor && npm install --loglevel=error
Installing vendor files …
npm ERR! Unexpected end of JSON input while parsing near ‘…5vp6b8jEE6P9iUqepRgrK’
npm ERR! A complete log of this run can be found in:
npm ERR! /home/pi/.npm/_logs/2020-04-03T14_15_02_623Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! magicmirror@2.11.0 install: echo "Installing vendor files ... npm ERR! " && cd vendor && npm install --loglevel=error
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the magicmirror@2.11.0 install 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/2020-04-03T14_15_02_963Z-debug.log
please help i am new to this
Issue Analytics
- State:
- Created 3 years ago
- Comments:70 (1 by maintainers)
u can also erase the npm cache and registry
sudo rm -rf ~/.npm
@WynandL looks like a missing library
apt-get install libgtk2.0-0
the system requires a graphical desktop version of the OS… not commandline (cli)