Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
homebridge-nest-cam@test install log
$ sudo npm -g i homebridge-nest-cam@test
/usr/bin/homebridge-nest-cam -> /usr/lib/node_modules/homebridge-nest-cam/
> ffmpeg-for-homebridge@0.0.6 install /usr/lib/node_modules/homebridge-nest-cam/node_modules/ffmpeg-for-homebridge
> node install.js
Failed to download ffmpeg binary.
If you are installing this plugin as a global module (-g) make sure you add the --unsafe-perm flag to the install command.
The homebridge plugin has been installed, however you may need to install ffmpeg separately.
> puppeteer@3.3.0 install /usr/lib/node_modules/homebridge-nest-cam/node_modules/puppeteer
> node install.js
ERROR: Failed to set up Chromium r756035! Set "PUPPETEER_SKIP_DOWNLOAD" env variable to skip download.
Error: EACCES: permission denied, mkdir '/usr/lib/node_modules/homebridge-nest-cam/node_modules/puppeteer/.local-chromium'
-- ASYNC --
at BrowserFetcher.<anonymous> (/usr/lib/node_modules/homebridge-nest-cam/node_modules/puppeteer/lib/helper.js:94:19)
at fetchBinary (/usr/lib/node_modules/homebridge-nest-cam/node_modules/puppeteer/install.js:148:8)
at download (/usr/lib/node_modules/homebridge-nest-cam/node_modules/puppeteer/install.js:54:9) {
errno: -13,
code: 'EACCES',
syscall: 'mkdir',
path: '/usr/lib/node_modules/homebridge-nest-cam/node_modules/puppeteer/.local-chromium'
npm ERR! errno 1
npm ERR! puppeteer@3.3.0 install: `node install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the puppeteer@3.3.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! /root/.npm/_logs/2020-06-20T04_25_37_697Z-debug.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment