@Danial_Devyatko
HTML markup developer

Ошибка c Python27 и code ELIFECYCLE при установке Gulp?

Я установил Node.js затем затем прописал в консоль npm install --global gulp , затем зашел в проект и прописал npm install после чего выдало такой ряд ошибок:

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! not ok
Build failed with error code: 1
npm WARN gulp-project@0.1.0 No description
npm WARN gulp-project@0.1.0 No repository field.
npm WARN gulp-project@0.1.0 No license field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! node-sass@3.13.1 postinstall: `node scripts/build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-sass@3.13.1 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
  • Вопрос задан
  • 199 просмотров
Пригласить эксперта
Ваш ответ на вопрос

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

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