Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save olafghanizadeh/95b208bf99b06cda4bee3d6107b5f827 to your computer and use it in GitHub Desktop.
Save olafghanizadeh/95b208bf99b06cda4bee3d6107b5f827 to your computer and use it in GitHub Desktop.
/usr/local/bin/wp-scripts -> /usr/local/lib/node_modules/@wordpress/scripts/bin/wp-scripts.js
> puppeteer@1.6.1 install /usr/local/lib/node_modules/@wordpress/scripts/node_modules/puppeteer
> node install.js
ERROR: Failed to download Chromium r575458! Set "PUPPETEER_SKIP_CHROMIUM_DOWNLOAD" env variable to skip download.
{ [Error: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/@wordpress/scripts/node_modules/puppeteer/.local-chromium']
errno: -13,
code: 'EACCES',
syscall: 'mkdir',
path:
'/usr/local/lib/node_modules/@wordpress/scripts/node_modules/puppeteer/.local-chromium' }
npm WARN enzyme-adapter-react-16@1.14.0 requires a peer of react@^16.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN enzyme-adapter-react-16@1.14.0 requires a peer of react-dom@^16.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN enzyme-adapter-utils@1.12.0 requires a peer of react@0.13.x || 0.14.x || ^15.0.0-0 || ^16.0.0-0 but none is installed. You must install peer dependencies yourself.
npm WARN react-test-renderer@16.8.6 requires a peer of react@^16.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN airbnb-prop-types@2.13.2 requires a peer of react@^0.14 || ^15.0.0 || ^16.0.0-alpha but none is installed. You must install peer dependencies yourself.
npm WARN acorn-jsx@5.0.1 requires a peer of acorn@^6.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules/@wordpress/scripts/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! puppeteer@1.6.1 install: `node install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the puppeteer@1.6.1 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/2019-06-25T19_25_03_528Z-debug.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment