Z
Z
Zhenya Strunevsky2021-06-09 16:23:22
Node.js
Zhenya Strunevsky, 2021-06-09 16:23:22

gulp-sass plugin not installing, how to fix error?

** Guys, tell me how to solve this problem? Can't install gulp-sass plugin**

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

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim, 2021-06-09
@4elentano551

Can't find Python executable "python", you can set the PYTHON env variable.
failed python Error: not found: python I guess
you need to install python, or set the environment variable to "executable python"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question