phpist

Untitled

Sep 29th, 2019
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.29 KB | None | 0 0
  1. sudo npm i
  2. [sudo] пароль для php:
  3.  
  4. > [email protected] postinstall /var/www/html/node_modules/pngquant-bin
  5. > node lib/install.js
  6.  
  7. ⚠ The `/var/www/html/node_modules/pngquant-bin/vendor/pngquant` binary doesn't seem to work correctly
  8. ⚠ pngquant pre-build test failed
  9. ℹ compiling from source
  10. ✔ pngquant pre-build test passed successfully
  11. ✖ Error: pngquant failed to build, make sure that libpng-dev is installed
  12. at Promise.all.then.arr (/var/www/html/node_modules/pngquant-bin/node_modules/bin-build/node_modules/execa/index.js:231:11)
  13. at <anonymous>
  14. at process._tickCallback (internal/process/next_tick.js:188:7)
  15. /var/www/html
  16. └── (empty)
  17.  
  18. npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
  19. npm WARN notsup Not compatible with your operating system or architecture: [email protected]
  20. npm WARN optional Skipping failed optional dependency /watchpack/chokidar/fsevents:
  21. npm WARN notsup Not compatible with your operating system or architecture: [email protected]
  22. npm WARN optional Skipping failed optional dependency /webpack-dev-server/chokidar/fsevents:
  23. npm WARN notsup Not compatible with your operating system or architecture: [email protected]
  24. npm WARN [email protected] requires a peer of ajv@^6.9.1 but none was installed.
  25. npm ERR! Linux 5.0.0-29-generic
  26. npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "i"
  27. npm ERR! node v8.10.0
  28. npm ERR! npm v3.5.2
  29. npm ERR! code ELIFECYCLE
  30.  
  31. npm ERR! [email protected] postinstall: `node lib/install.js`
  32. npm ERR! Exit status 1
  33. npm ERR!
  34. npm ERR! Failed at the [email protected] postinstall script 'node lib/install.js'.
  35. npm ERR! Make sure you have the latest version of node.js and npm installed.
  36. npm ERR! If you do, this is most likely a problem with the pngquant-bin package,
  37. npm ERR! not with npm itself.
  38. npm ERR! Tell the author that this fails on your system:
  39. npm ERR! node lib/install.js
  40. npm ERR! You can get information on how to open an issue for this project with:
  41. npm ERR! npm bugs pngquant-bin
  42. npm ERR! Or if that isn't available, you can get their info via:
  43. npm ERR! npm owner ls pngquant-bin
  44. npm ERR! There is likely additional logging output above.
  45.  
  46. npm ERR! Please include the following file with any support request:
  47. npm ERR! /var/www/html/npm-debug.log
  48. npm ERR! code 1
Advertisement
Add Comment
Please, Sign In to add comment