yarn install --no-bin-links 后出现错误
error /home/wwwroot/weibo2.21.com/node_modules/mozjpeg: Command failed.
Exit code: 1
Command: node lib/install.js
Arguments:
Directory: /home/wwwroot/weibo2.21.com/node_modules/mozjpeg
Output:
⚠ The `/home/wwwroot/weibo2.21.com/node_modules/mozjpeg/vendor/cjpeg` binary doesn't seem to work correctly
⚠ mozjpeg pre-build test failed
ℹ compiling from source
events.js:167
throw er; // Unhandled 'error' event
^
Error: unexpected end of file
查了下说要装libpng16,装了以后依然是这个问题
推荐文章: