@evgeniy-strunevskiy

Плагин gulp-sass не устанавливается, как исправить ошибку?

**Ребята, подскажите как решить эту проблему? Не могу установить плагин gulp-sass **
npm install node-sass gulp-sass --save-dev
npm ERR! gyp verb `which` failed at E (C:\Users\AMD_RYZEN_5\Desktop\gulp-config\node_modules\which\which.js:80:29)
npm ERR! gyp verb `which` failed at C:\Users\AMD_RYZEN_5\Desktop\gulp-config\node_modules\which\which.js:89:16
npm ERR! gyp verb `which` failed at C:\Users\AMD_RYZEN_5\Desktop\gulp-config\node_modules\isexe\index.js:42:5
npm ERR! gyp verb `which` failed at C:\Users\AMD_RYZEN_5\Desktop\gulp-config\node_modules\isexe\windows.js:36:5
npm ERR! gyp verb `which` failed at FSReqCallback.oncomplete (node:fs:194:21)
npm ERR! gyp verb `which` failed python Error: not found: python
npm ERR! gyp verb `which` failed at getNotFoundError (C:\Users\AMD_RYZEN_5\Desktop\gulp-config\node_modules\which\which.js:13:12)
npm ERR! gyp verb `which` failed at F (C:\Users\AMD_RYZEN_5\Desktop\gulp-config\node_modules\which\which.js:68:19)
npm ERR! gyp verb `which` failed at E (C:\Users\AMD_RYZEN_5\Desktop\gulp-config\node_modules\which\which.js:80:29)
npm ERR! gyp verb `which` failed at C:\Users\AMD_RYZEN_5\Desktop\gulp-config\node_modules\which\which.js:89:16
npm ERR! gyp verb `which` failed at C:\Users\AMD_RYZEN_5\Desktop\gulp-config\node_modules\isexe\index.js:42:5
npm ERR! gyp verb `which` failed at C:\Users\AMD_RYZEN_5\Desktop\gulp-config\node_modules\isexe\windows.js:36:5
npm ERR! gyp verb `which` failed at FSReqCallback.oncomplete (node:fs:194:21) {
npm ERR! gyp verb `which` failed code: 'ENOENT'
npm ERR! gyp verb `which` failed }
npm ERR! gyp verb could not find "python". checking python launcher
npm ERR! gyp verb could not find "python". guessing location
npm ERR! gyp verb ensuring that file exists: C:\Python27\python.exe
npm ERR! gyp ERR! configure error
npm ERR! gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
npm ERR! gyp ERR! stack at PythonFinder.failNoPython (C:\Users\AMD_RYZEN_5\Desktop\gulp-config\node_modules\gulp-sass\node_modules\node-gyp\lib\configure.js:484:19)
npm ERR! gyp ERR! stack at PythonFinder. (C:\Users\AMD_RYZEN_5\Desktop\gulp-config\node_modules\gulp-sass\node_modules\node-gyp\lib\configure.js:509:16)
npm ERR! gyp ERR! stack at callback (C:\Users\AMD_RYZEN_5\Desktop\gulp-config\node_modules\graceful-fs\polyfills.js:299:20)
npm ERR! gyp ERR! stack at FSReqCallback.oncomplete (node:fs:194:21)
npm ERR! gyp ERR! System Windows_NT 10.0.17763
npm ERR! gyp ERR! command "C:\\Users\\AMD_RYZEN_5\\Desktop\\gulp-config\\node_modules\\node\\bin\\node.exe" "C:\\Users\\AMD_RYZEN_5\\Desktop\\gulp-config\\node_modules\\gulp-sass\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
npm ERR! gyp ERR! cwd C:\Users\AMD_RYZEN_5\Desktop\gulp-config\node_modules\gulp-sass\node_modules\node-sass
npm ERR! gyp ERR! node -v v16.1.0
npm ERR! gyp ERR! node-gyp -v v3.8.0
npm ERR! gyp ERR! not ok
npm ERR! Build failed with error code: 1

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\AMD_RYZEN_5\AppData\Local\npm-cache\_logs\2021-06-09T13_07_49_047Z-debug.log
  • Вопрос задан
  • 34 просмотра
Пригласить эксперта
Ответы на вопрос 1
@4elentano551
Javascript
Can't find Python executable "python", you can set the PYTHON env variable.
failed python Error: not found: python
Предполагаю, нужно поставить python, либо установить переменную окружения до "executable python"
Ответ написан
Ваш ответ на вопрос

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

Войти через центр авторизации
Похожие вопросы