Getting this error trying to install via npm. Tried setting the environment variable to skip the chromium download but it didn't seem to have any effect.
macOS: 10.13.6
npm: 5.6.0
node: v8.11.3
$ sudo npm install -g hardcider
Password:
/usr/local/bin/hardcider -> /usr/local/lib/node_modules/hardcider/bin/hardcider.js
> puppeteer@1.10.0 install /usr/local/lib/node_modules/hardcider/node_modules/puppeteer
> node install.js
ERROR: Failed to download Chromium r599821! Set "PUPPETEER_SKIP_CHROMIUM_DOWNLOAD" env variable to skip download.
{ Error: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/hardcider/node_modules/puppeteer/.local-chromium'
errno: -13,
code: 'EACCES',
syscall: 'mkdir',
path: '/usr/local/lib/node_modules/hardcider/node_modules/puppeteer/.local-chromium' }
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! puppeteer@1.10.0 install: `node install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the puppeteer@1.10.0 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Getting this error trying to install via npm. Tried setting the environment variable to skip the chromium download but it didn't seem to have any effect.
macOS:
10.13.6npm:
5.6.0node:
v8.11.3