-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'autoreconf' is not recognized as an internal or external command #1804
Comments
I couldn't reproduce. From the log, its most likely environment problem, we can't do anything from our side to fix it. You should open an issue with gifsicle if you think they are doing something incorrectly. |
What is your environment ? try |
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: |
You might consider a fork to remove imagemin. We definitely need it to optimize the image. Removing it would mean breaking changes. |
Ok, I understand. I close the ticket then. Thanks. |
gifsicle pre-build test failed [4/4] Building fresh packages...
[-/6] ⠠ waiting... [6/6] ⠠ optipng-bin [-/6] ⠐ waiting... [4/6] ⠐ gifsicle error D:\ctms\node_modules\gifsicle: Command failed.
Exit code: 1
Command: node lib/install.js
Arguments:
Directory: D:\ctms\node_modules\gifsicle
Output:
‼ read ECONNRESET
‼ gifsicle pre-build test failed
i compiling from source
× Error: Command failed: C:\WINDOWS\system32\cmd.exe /s /c "autoreconf -ivf"
'autoreconf' �����ڲ����ⲿ���Ҳ���ǿ����еij���
���������ļ��� |
I have the same problem. How can you solve it? |
In my case, 3 steps solved this problem.
|
Can you tell me the specific commands to be executed in each step?thank you very much |
You can try to use cnpm of Taobao mirror: |
|
install automake for windows resolve this problem for me |
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
The text was updated successfully, but these errors were encountered: