- List item
9133 error code 1
9134 error path /Users/zhangenen/work/IdeaProjects/hse-special-work-vue/node_modules/gifsicle
9135 error command failed
9136 error command sh -c -- node lib/install.js
9137 error ⚠ connect ETIMEDOUT 185.199.110.133:443
9137 error ⚠ gifsicle pre-build test failed
9137 error ℹ compiling from source
9137 error ✖ Error: Command failed: /bin/sh -c autoreconf -ivf
9137 error /bin/sh: autoreconf: command not found
在执行npm install的时候一直卡在gifsicle pre-build test failed这个错误过不去,尝试了很多种方法都不行,最后执行
yarn add imagemin-jpegtran imagemin-svgo imagemin-gifsicle imagemin-optipng --dev
安装成功以后,再次执行npm install命令就会成功。。
参考:https://blog.csdn.net/yy168888/article/details/104950833