Всем привет. Устанавливаю gulp image выдает ошибку.
C:\Users\Сергей>cd desktop/myapp
C:\Users\Сергей\Desktop\myapp>npm install gulp-image
> gifsicle@4.0.1 postinstall C:\Users\Сергей\Desktop\myapp\node_modules\gifsicle
> node lib/install.js
√ gifsicle pre-build test passed successfully
> guetzli@2.0.0 postinstall C:\Users\Сергей\Desktop\myapp\node_modules\guetzli
> node lib/install.js
‼ Command failed: C:\Users\Сергей\Desktop\myapp\node_modules\guetzli\vendor\gu
etzli.exe --verbose
Guetzli JPEG compressor. Usage:
guetzli [flags] input_filename output_filename
Flags:
--verbose - Print a verbose trace of all attempts to standard output.
--quality Q - Visual quality to aim for, expressed as a JPEG quality value.
--memlimit M - Memory limit in MB. Guetzli will fail if unable to stay under
the limit. Default is 6000 MB
--nomemlimit - Do not limit memory usage.
‼ guetzli pre-build test failed
i compiling from source
× Error: Command failed: C:\Windows\system32\cmd.exe /s /c "mkdir -p C:\Users\
Сергей\Desktop\myapp\node_modules\guetzli\vendor"
�������� ��� 䠩� C:\Users\��ࣥ�\Desktop\myapp\node_modules\guetzli\vendor 㦥 ������
�.
�訡�� �� �६� ��ࠡ�⪨: C:\Users\��ࣥ�\Desktop\myapp\node_modules\guetzli\vendor.
at C:\Users\Сергей\Desktop\myapp\node_modules\execa\index.js:231:11
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async Promise.all (index 0)
> jpeg-recompress-bin@4.0.0 postinstall C:\Users\Сергей\Desktop\myapp\node_modul
es\jpeg-recompress-bin
> node lib/install.js
× Error: spawn UNKNOWN
at ChildProcess.spawn (internal/child_process.js:405:11)
at Object.spawn (child_process.js:548:9)
at module.exports (C:\Users\Сергей\Desktop\myapp\node_modules\execa\index.js
:139:26)
at C:\Users\Сергей\Desktop\myapp\node_modules\bin-check\index.js:16:11
> mozjpeg@6.0.1 postinstall C:\Users\Сергей\Desktop\myapp\node_modules\mozjpeg
> node lib/install.js
√ mozjpeg pre-build test passed successfully
> optipng-bin@6.0.0 postinstall C:\Users\Сергей\Desktop\myapp\node_modules\optip
ng-bin
> node lib/install.js
‼ spawn UNKNOWN
‼ optipng pre-build test failed
i compiling from source
× Error: Command failed: C:\Windows\system32\cmd.exe /s /c "./configure --with
-system-zlib --prefix="C:\Users\Сергей\Desktop\myapp\node_modules\optipng-bin\ve
ndor" --bindir="C:\Users\Сергей\Desktop\myapp\node_modules\optipng-bin\vendor""
"." �� ���� ����७��� ��� ���譥�
��������, �ᯮ��塞�� �ணࠬ��� ��� ������ 䠩���.
at C:\Users\Сергей\Desktop\myapp\node_modules\execa\index.js:231:11
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at async Promise.all (index 0)
npm WARN myapp@1.0.0 No description
npm WARN myapp@1.0.0 No repository field.
npm WARN myapp@1.0.0 No license field.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! optipng-bin@6.0.0 postinstall: `node lib/install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the optipng-bin@6.0.0 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional log
ging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Сергей\AppData\Roaming\npm-cache\_logs\2020-01-22T10_33_28
_091Z-debug.log
C:\Users\Сергей\Desktop\myapp>
Пытался решить проблему как описано
здесь не помогло.
Win 7 x86
node -v
v13.7.0
npm -v
6.13.6
gulp -v
CLI version: 2.2.0
Local version: Unknown