安装gulp时报错 Error: autoreconf -ivf && ./configure --disable-gifview --disable-gifdiff --

 × Error: autoreconf -ivf && ./configure --disable-gifview --disable-gifdiff --prefix="E:\gitdemo\yayibang\node_modules\gifsicle\vendor" --bindir="E:\gitdemo\yayibang\node_modules\gifsicle\vendor" && make install
Command failed: autoreconf -ivf
'autoreconf' �����ڲ����ⲿ���Ҳ���ǿ����еij���
���������ļ���

    at ChildProcess.exithandler (child_process.js:289:12)
    at ChildProcess.emit (events.js:182:13)
    at maybeClose (internal/child_process.js:962:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:251:5)

解决办法:

     npm install autoconf

其他解决办法:

https://www.jianshu.com/p/b1e196d5956a

     

  • Update Xcode command line tools to latest release
  • brew install nasm (I was using the bundled OS X version 0.98.40, now using 2.11.08)
  • npm cache clean
  • npm install


 

发布了48 篇原创文章 · 获赞 12 · 访问量 5万+

猜你喜欢

转载自blog.csdn.net/qq_40999917/article/details/103412548