Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Didn't install #72

Closed
dcromster opened this issue Dec 18, 2018 · 4 comments
Closed

Didn't install #72

dcromster opened this issue Dec 18, 2018 · 4 comments

Comments

@dcromster
Copy link

ubuntu@investor_cab:~/blog$ npm install hexo-all-minifier --save
npm WARN deprecated [email protected]: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5

[email protected] postinstall /home/ubuntu/blog/node_modules/gifsicle
node lib/install.js

✔ gifsicle pre-build test passed successfully

[email protected] postinstall /home/ubuntu/blog/node_modules/jpegtran-bin
node lib/install.js

✔ jpegtran pre-build test passed successfully

[email protected] postinstall /home/ubuntu/blog/node_modules/mozjpeg
node lib/install.js

✔ mozjpeg pre-build test passed successfully

[email protected] postinstall /home/ubuntu/blog/node_modules/optipng-bin
node lib/install.js

✔ optipng pre-build test passed successfully

[email protected] postinstall /home/ubuntu/blog/node_modules/pngquant-bin
node lib/install.js

⚠ The /home/ubuntu/blog/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 (/home/ubuntu/blog/node_modules/pngquant-bin/node_modules/bin-build/node_modules/execa/index.js:231:11)
at process._tickCallback (internal/process/next_tick.js:68:7)
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

npm ERR! code ELIFECYCLE
npm ERR! errno 1
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.
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! /home/ubuntu/.npm/_logs/2018-12-18T13_40_32_962Z-debug.log

Linux Ubuntu 18.04

@wz-wong
Copy link

wz-wong commented Apr 23, 2020

I met the same problem

image

@grayguest
Copy link

install libtool automake autoconf nasm

@KumaNNN
Copy link

KumaNNN commented Jul 22, 2020

npm install hexo-all-minifier --save --ignore-scripts

@chenzhutian
Copy link
Owner

for the problem, please check this issue
#101

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants