Closed clark-cui closed 3 years ago
i use npm install to download these packages,but i fail.Then i use yarn,i fail again.
download fail error
gifsicle@5.1.0 postinstall F:\workspace_github\homeSite\node_modules\gifsicle > node lib/install.js ‼ 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��� ���������ļ��� at F:\workspace_github\homeSite\node_modules\bin-build\node_modules\execa\index.js:231:11 at runMicrotasks (<anonymous>) at processTicksAndRejections (internal/process/task_queues.js:93:5) at async Promise.all (index 0)
npm install imagemin-gifsicle imagemin-jpegtran imagemin-optipng imagemin-svgo --save-dev
yarn add imagemin-gifsicle imagemin-jpegtran imagemin-optipng imagemin-svgo -D
you can see my code in here. option file is in config,webpack.common.js. you can use these commands to repeat my problem.
git clone https://github.com/clark-cui/homeSite npm i npm install imagemin-gifsicle imagemin-jpegtran imagemin-optipng imagemin-svgo --save-dev
You don't have autoreconf or something wrong with autoreconf, this error from imagemin-gifsicle, please open the issue in imagemin-gifsicle repo, thanks
autoreconf
imagemin-gifsicle
Expected Behavior
i use npm install to download these packages,but i fail.Then i use yarn,i fail again.
Actual Behavior
download fail error
Code
How Do We Reproduce?
you can see my code in here. option file is in config,webpack.common.js. you can use these commands to repeat my problem.