question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

'autoreconf' is not recognized as an internal or external command

See original GitHub issue

Installation fails due to gifsicle requiring autoreconf not available on Windows.

Have you read the Contributing Guidelines on issues?

Yes.

To Reproduce

npm install docusaurus

Expected behavior

Installation succesful.

Actual Behavior

...
> gifsicle@4.0.1 postinstall C:\temp\docusaurus\node_modules\gifsicle
> node lib/install.js

  ‼ self signed certificate in certificate chain
  ‼ gifsicle pre-build test failed
  i compiling from source
  × Error: 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.
...

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:12 (3 by maintainers)

github_iconTop GitHub Comments

5reactions
Lumersgocommented, Apr 20, 2020

In my case, 3 steps solved this problem.

1reaction
kristofferjalencommented, Oct 2, 2019

This seems to be related to #1758. I’m behind a corporate proxy, which seems block a process in the postinstallation script of gifsicle in which something is downloaded from GitHub. As a fallback gifsicle then compiles from source instead, throwing an error because it uses an executable that not exists on Windows.

I realize it’s not for docusaurus to fix, but maybe it could be an idea to review if this dependency is actually needed? Because as of now docusaurus can’t be installed by users behind corporate proxys, at least not by me.

References:

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error with autoreconf / Problems / Discussion Area
'autoreconf' is not recognized as an internal or external command, operable program or batch file. at ChildProcess.exithandler (child_process.js ...
Read more >
autoreconf: command not found in Cygwin on Windows
Try install autoconf , automake and libtool . It's under Devel of the Cygwin setup program.
Read more >
nimterop/Lobby - Gitter
nimcache\nimterop\build\libmodbus && autoreconf -fi result: 'autoreconf' is not recognized as an internal or external command, operable program or batch ...
Read more >
trouble installing yarn packages on windows, cross platform ...
... Command failed: C:\WINDOWS\system32\cmd.exe /s /c "autoreconf -ivf" 'autoreconf' is not recognized as an internal or external command, ...
Read more >
npm is not recognized as internal or external command ...
npm is not recognized as internal or external command operable program or batch file ... Install using Chocolatey ==> npm is not recognised....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found