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

徐飞尘
2023-12-01

 × 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


 

 

 类似资料: