Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sudo npm i
- [sudo] пароль для php:
- > [email protected] postinstall /var/www/html/node_modules/pngquant-bin
- > node lib/install.js
- ⚠ The `/var/www/html/node_modules/pngquant-bin/vendor/pngquant` binary doesn't seem to work correctly
- ⚠ pngquant pre-build test failed
- ℹ compiling from source
- ✔ pngquant pre-build test passed successfully
- ✖ Error: pngquant failed to build, make sure that libpng-dev is installed
- at Promise.all.then.arr (/var/www/html/node_modules/pngquant-bin/node_modules/bin-build/node_modules/execa/index.js:231:11)
- at <anonymous>
- at process._tickCallback (internal/process/next_tick.js:188:7)
- /var/www/html
- └── (empty)
- npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
- npm WARN notsup Not compatible with your operating system or architecture: [email protected]
- npm WARN optional Skipping failed optional dependency /watchpack/chokidar/fsevents:
- npm WARN notsup Not compatible with your operating system or architecture: [email protected]
- npm WARN optional Skipping failed optional dependency /webpack-dev-server/chokidar/fsevents:
- npm WARN notsup Not compatible with your operating system or architecture: [email protected]
- npm WARN [email protected] requires a peer of ajv@^6.9.1 but none was installed.
- npm ERR! Linux 5.0.0-29-generic
- npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "i"
- npm ERR! node v8.10.0
- npm ERR! npm v3.5.2
- npm ERR! code ELIFECYCLE
- npm ERR! [email protected] postinstall: `node lib/install.js`
- npm ERR! Exit status 1
- npm ERR!
- npm ERR! Failed at the [email protected] postinstall script 'node lib/install.js'.
- npm ERR! Make sure you have the latest version of node.js and npm installed.
- npm ERR! If you do, this is most likely a problem with the pngquant-bin package,
- npm ERR! not with npm itself.
- npm ERR! Tell the author that this fails on your system:
- npm ERR! node lib/install.js
- npm ERR! You can get information on how to open an issue for this project with:
- npm ERR! npm bugs pngquant-bin
- npm ERR! Or if that isn't available, you can get their info via:
- npm ERR! npm owner ls pngquant-bin
- npm ERR! There is likely additional logging output above.
- npm ERR! Please include the following file with any support request:
- npm ERR! /var/www/html/npm-debug.log
- npm ERR! code 1
Advertisement
Add Comment
Please, Sign In to add comment