Задать вопрос
@wangiri

Не могу заставить работать gulp. Что значит ошибка?

Не могу заставить работать GULP , ввожу npm i , после чего консоль vscode выкатывает ошибку . Помогите решить пожалуйста.
npm ERR! code 1
npm ERR! path C:\Users\Admin\build_gulp4\node_modules\node-sass
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node scripts/build.js
npm ERR! Building: C:\Program Files\nodejs\node.exe C:\Users\Admin\build_gulp4\node_modules\node-gyp\bin\node-gyp.js rebuild --verbose --libsass_ext= --libsass_cflags= --libsass_ldflags= --libsass_library=
npm ERR! ����஥��� �஥�⮢ � �⮬ �襭�� �� ������. �⮡� ������� ��ࠫ���쭮� ����஥���, ������� ��ࠬ��� "/m".
npm ERR! ����஥��� ���� 23.01.2022 23:40:53.
npm ERR! �஥�� "C:\Users\Admin\build_gulp4\node_modules\node-sass\build\binding.sln" � 㧫� 1 (楫��� ��ꥪ�� �� 㬮�砭��).
npm ERR! ValidateSolutionConfiguration:
npm ERR!   �������� ���䨣��樨 �襭�� "Release|x64".
npm ERR! �஥�� "C:\Users\Admin\build_gulp4\node_modules\node-sass\build\binding.sln" (1) �믮���� ����஥��� "C:\Users\Admin\build_gulp4\node_modules\node-sass\build\binding.vcxproj.metaproj" (2) � 㧫� 1 (楫��� ��ꥪ�� �� 㬮�砭��).
npm ERR! �஥�� "C:\Users\Admin\build_gulp4\node_modules\node-sass\build\binding.vcxproj.metaproj" (2) �믮���� ����஥��� "C:\Users\Admin\build_gulp4\node_modules\node-sass\build\src\libsass.vcxproj" (3) � 㧫� 1 (楫��� ��ꥪ�� �� 㬮�砭��).
npm ERR! C:\Users\Admin\build_gulp4\node_modules\node-sass\build\src\libsass.vcxproj(20,3): error MSB4019: ������஢���� �஥�� "C:\Microsoft.Cpp.Default.props" �� �����㦥�. �஢���� ���� � ������� <Import> � ����稥 䠩�� �� ��᪥.
npm ERR! ����஥��� �஥�� "C:\Users\Admin\build_gulp4\node_modules\node-sass\build\src\libsass.vcxproj" �����襭� (楫��� ��ꥪ�� �� 㬮�砭��) � �訡���.
npm ERR! ����஥��� �஥�� "C:\Users\Admin\build_gulp4\node_modules\node-sass\build\binding.vcxproj.metaproj" �����襭� (楫��� ��ꥪ�� �� 㬮�砭��) � �訡���.
npm ERR! ����஥��� �஥�� "C:\Users\Admin\build_gulp4\node_modules\node-sass\build\binding.sln" �����襭� (楫��� ��ꥪ�� �� 㬮�砭��) � �訡���.
npm ERR!
npm ERR! �� 㤠���� �믮����� ����஥���.
npm ERR! 
npm ERR! "C:\Users\Admin\build_gulp4\node_modules\node-sass\build\binding.sln" (楫���� ��ꥪ� �� 㬮�砭��) (1) ->
npm ERR! "C:\Users\Admin\build_gulp4\node_modules\node-sass\build\binding.vcxproj.metaproj" (楫���� ��ꥪ� �� 㬮�砭��) (2) ->
npm ERR! "C:\Users\Admin\build_gulp4\node_modules\node-sass\build\src\libsass.vcxproj" (楫���� ��ꥪ� �� 㬮�砭��) (3) ->
npm ERR!   C:\Users\Admin\build_gulp4\node_modules\node-sass\build\src\libsass.vcxproj(20,3): error MSB4019: ������஢���� �஥�� "C:\Microsoft.Cpp.Default.props" �� �����㦥�. �஢���� ���� � ������� <Import> � ����稥 䠩�� �� ��᪥.
npm ERR!
npm ERR!     �।�०�����: 0
npm ERR!     �訡��: 1
npm ERR! 
npm ERR! ����祭��� �६�: 00:00:00.70
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp verb cli [
npm ERR! gyp verb cli   'C:\\Program Files\\nodejs\\node.exe',
npm ERR! gyp verb cli   'C:\\Users\\Admin\\build_gulp4\\node_modules\\node-gyp\\bin\\node-gyp.js',
npm ERR! gyp verb cli   'rebuild',
npm ERR! gyp verb cli   '--verbose',
npm ERR! gyp verb cli   '--libsass_ext=',
npm ERR! gyp verb cli   '--libsass_cflags=',
npm ERR! gyp verb cli   '--libsass_ldflags=',
npm ERR! gyp verb cli   '--libsass_library='
npm ERR! gyp verb cli ]
npm ERR! gyp info using node-gyp@3.8.0
npm ERR! gyp info using node@16.13.2 | win32 | x64
npm ERR! gyp verb command rebuild []
npm ERR! gyp verb command clean []
npm ERR! gyp verb clean removing "build" directory
npm ERR! gyp verb command configure []
npm ERR! gyp verb check python checking for Python executable "C:\Users\Admin\.windows-build-tools\python27\python.exe" in the PATH
npm ERR! gyp verb `which` failed Error: not found: C:\Users\Admin\.windows-build-tools\python27\python.exe
npm ERR! gyp verb `which` failed     at getNotFoundError (C:\Users\Admin\build_gulp4\node_modules\which\which.js:13:12)
npm ERR! gyp verb `which` failed     at F (C:\Users\Admin\build_gulp4\node_modules\which\which.js:68:19)
npm ERR! gyp verb `which` failed     at E (C:\Users\Admin\build_gulp4\node_modules\which\which.js:80:29)
npm ERR! gyp verb `which` failed     at C:\Users\Admin\build_gulp4\node_modules\which\which.js:89:16
npm ERR! gyp verb `which` failed     at C:\Users\Admin\build_gulp4\node_modules\isexe\index.js:42:5
npm ERR! gyp verb `which` failed     at C:\Users\Admin\build_gulp4\node_modules\isexe\windows.js:36:5
npm ERR! gyp verb `which` failed     at FSReqCallback.oncomplete (node:fs:198:21)
npm ERR! gyp verb `which` failed  C:\Users\Admin\.windows-build-tools\python27\python.exe Error: not found: C:\Users\Admin\.windows-build-tools\python27\python.exe
npm ERR! gyp verb `which` failed     at getNotFoundError (C:\Users\Admin\build_gulp4\node_modules\which\which.js:13:12)
npm ERR! gyp verb `which` failed     at F (C:\Users\Admin\build_gulp4\node_modules\which\which.js:68:19)
npm ERR! gyp verb `which` failed     at E (C:\Users\Admin\build_gulp4\node_modules\which\which.js:80:29)
npm ERR! gyp verb `which` failed     at C:\Users\Admin\build_gulp4\node_modules\which\which.js:89:16
npm ERR! gyp verb `which` failed     at C:\Users\Admin\build_gulp4\node_modules\isexe\index.js:42:5
npm ERR! gyp verb `which` failed     at C:\Users\Admin\build_gulp4\node_modules\isexe\windows.js:36:5
npm ERR! gyp verb `which` failed     at FSReqCallback.oncomplete (node:fs:198:21) {
npm ERR! gyp verb `which` failed   code: 'ENOENT'
npm ERR! gyp verb `which` failed }
  • Вопрос задан
  • 139 просмотров
Подписаться 1 Простой 2 комментария
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Похожие вопросы