Error with autoreconf
We have the following error in our gulp build script:
> gifsicle@2.0.1 postinstall C:\projects\rallybus\node_modules\imagemin-gifsicle\node_modules\gifsicle
> node lib/install.js
‼ read ECONNRESET
‼ gifsicle pre-build test failed
i compiling from source
× Error: autoreconf -ivf && ./configure --disable-gifview --disable-gifdiff --prefix="C:\projects\rallybus\node_modules\imagemin-gifsicle\node_modules\gifsicle\vendor" --bindir="C:\projects\rallybus\node_modules\imagemin-gifsicle\node_modules\gifsicle\vendor" && make install
Command failed: 'autoreconf' is not recognized as an internal or external command,
operable program or batch file.
at ChildProcess.exithandler (child_process.js:658:15)
at ChildProcess.emit (events.js:98:17)
at maybeClose (child_process.js:766:16)
at Process.ChildProcess._handle.onexit (child_process.js:833:5) </code>
This error doesn't happen on our machines, so we're stumped.
Have you ever seen anything about autoreconf and, by
chance, know how we can fix this error? I'm thinking we need to
install something else in our yml file.
Here's the install section of our yml file:
install:
- npm install -g npm bower gulp
- npm install
- bower install
Thanks!
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
| ? | Show this help |
|---|---|
| ESC | Blurs the current field |
Comment Form
| r | Focus the comment reply box |
|---|---|
| ^ + ↩ | Submit the comment |
You can use Command ⌘ instead of Control ^ on Mac

Support Staff 1 Posted by Feodor Fitsner on 09 Apr, 2015 04:58 PM
I'm sorry to hear that this issue affected your builds as well.
There are networking connectivity issues between Hyper-V (Pro) environment and https://raw.githubusercontent.com: http://help.appveyor.com/discussions/problems/1906-sporadic-econnre...
We are working together with SoftLayer and GitHub to troubleshoot the issue.
The issue is not reproducible if build runs on Azure.
Support Staff 2 Posted by Feodor Fitsner on 09 Apr, 2015 05:00 PM
When did you start seeing this error?
3 Posted by Javier Suazo on 09 Apr, 2015 05:29 PM
1-2 days ago. Some builds worked properly but we are having this issue lately.
Support Staff 4 Posted by Feodor Fitsner on 09 Apr, 2015 05:30 PM
OK, thanks.
Support Staff 5 Posted by Feodor Fitsner on 13 Apr, 2015 10:53 PM
It should be working now. Let me know about the results.
6 Posted by Matthew Copelan... on 16 Oct, 2015 02:10 PM
I am confused. From the error it looks like the build environment doesn't know what Autoreconf is.
Is this just a misleading error message from npm?
Support Staff 7 Posted by Feodor Fitsner on 16 Oct, 2015 02:17 PM
Do you get this error?
- Feodor
8 Posted by Matthew Copelan... on 16 Oct, 2015 02:29 PM
Lol yes...
But not within the context of Appveyor. Encountering on running a yeoman generator.
This is the only meaningful match I can find in Google.
Instead of getting `ECONNRESET`, I get `Redirected 10 times, Aborting.`
```
> gifsicle@3.0.1 postinstall C:\dev\Angular Testing\node_modules\gifsicle
> node lib/install.js
‼ Redirected 10 times. Aborting.
‼ gifsicle pre-build test failed
i compiling from source
x Error: autoreconf -ivf && ./configure --disable-gifview --disable-gifdiff --
prefix="C:\dev\Angular Testing\node_modules\gifsicle\vendor" --bindir="C:\dev\An
gular Testing\node_modules\gifsicle\vendor" && make install
Command failed: C:\WINDOWS\system32\cmd.exe /s /c "autoreconf -ivf"
'autoreconf' is not recognized as an internal or external command,
operable program or batch file.
at ChildProcess.exithandler (child_process.js:203:12)
at emitTwo (events.js:87:13)
at ChildProcess.emit (events.js:172:7)
at maybeClose (internal/child_process.js:818:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
```
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:00 AM.