D
D
Danil Devyatko2020-03-13 23:42:36
gulp.js
Danil Devyatko, 2020-03-13 23:42:36

Error with Python27 and code ELIFECYCLE when installing Gulp?

I installed Node.js and then typed npm install --global gulp into the console, then went into the project and typed npm install after which I got this series of errors:

gyp verb ensuring that file exists: C:\Python27\python.exe
gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "C:\Users\BigD\.windows-build-tools\python27\python.exe", you can set the PYTHON env variable.
gyp ERR! stack at PythonFinder.failNoPython (C:\Users\BigD\Desktop\Work\Portfolio\Landings\Real Estate\node_modules\node-gyp\lib\configure.js:484:19)
gyp ERR! stack at PythonFinder. (C:\Users\BigD\Desktop\Work\Portfolio\Landings\Real Estate\node_modules\node-gyp\lib\configure.js:509:16)
gyp ERR! stack at callback (C:\Users\BigD\Desktop\Work\Portfolio\Landings\Real Estate\node_modules\node-gyp\node_modules\graceful-fs\polyfills.js:295:20)
gyp ERR! stack at FSReqCallback.oncomplete (fs.js:166:21)
gyp ERR! System Windows_NT 10.0.18363
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\BigD\\Desktop\\Work\\Portfolio\\Landings\\Real Estate\\node_modules\\node-gyp \\bin\\node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd C:\Users\BigD\Desktop\Work\Portfolio\Landings\Real Estate\node_modules\node-sass
gyp ERR! node -v v12.16.1
gyp ERR! node-gyp -v v3.8.0
gyp ERR!
npm WARN [email protected] No description
npm WARN [email protected] No repository field.
npm WARN [email protected] No license field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: `node scripts/build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\BigD\AppData\Roaming\npm-cache\_logs\2020-03-13T19_40_06_368Z-debug.log

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question