gyp verb ensuring that file exists: C:\Python27\python.exe
错误信息:
......
gyp verb `which` failed at FSReqWrap.oncomplete (fs.js:152:21) code: 'ENOENT' }
gyp verb could not find "python2.7". guessing location
gyp verb ensuring that file exists: C:\Python27\python.exe
gyp ERR! configure error
gyp ERR! stack Error: Command failed: C:\Python27\python.exe -c import platform; print(platform.python_version());
gyp ERR! stack
gyp ERR! stack at ChildProcess.exithandler (child_process.js:275:12)
gyp ERR! stack at emitTwo (events.js:126:13)
gyp ERR! stack at ChildProcess.emit (events.js:214:7)
gyp ERR! stack at maybeClose (internal/child_process.js:925:16)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
gyp ERR! System Windows_NT 10.0.17134
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "D:\\project\\eyeshot\\project\\node_modules\\ionic\\node_modules\\ionic-app-lib\\node_modules\\node-sass\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd D:\project\eyeshot\project\node_modules\ionic\node_modules\ionic-app-lib\node_modules\node-sass
gyp ERR! node -v v8.11.3
gyp ERR! node-gyp -v v3.3.1
gyp ERR! not ok
解决办法:
运行以下命令:
npm install gulp-load-plugins --save
npm install --global --production windows-build-tools
参考以下文章:https://github.com/nodejs/node-gyp
gyp verb ensuring that file exists: C:\Python27\python.exe相关推荐
- 安装Node-sass的时候,报ensuring that file exists: C:\Python27\python.exe
在安装Node-sass时需要使用Python 2.7.x,但是找不到Python 2.7.x的安装路径所致.解决方法是:运行以下命令,将Python 2.7.x的安装路径配置到npm配置中 npm ...
- Can‘t find Python executable “c:\Python27\python.exe“, you can set the PYTHON env variable.
在使用npm安装软件的时候,报以下错误: npm ERR! gyp verb could not find "c:\Python27\python.exe". checking p ...
- C:\Python27\python.exe: can't open file '2.py': [Errno 2] No such file or directory
最近开始学习了"笨方法学python",在练习的第一个程序就出现了如下错误: C:\Python27\python.exe: can't open file '2.py': [Er ...
- npm ERR! gyp verb等一系列错
npm ERR! code 1 npm ERR! path F:\新桌面\大三下\生产实习\mock-devices-master\mock-devices-master\node_modules\n ...
- npm install 报错 gyp info it worked if it ends with ok npm ERR! gyp verb cli [
今天新启动一个项目,在 npm install 安装依赖项时出现报错. ERR! code 1 npm ERR! path C:\Users\Administrator\Desktop\14531\m ...
- gyp verb `which` failed Error: not found: python2解决方案
yarn install 出现的问题 1.没有yarn npm install -g yarn 2.报错找不到phthon yarn install v1.22.17 warning package- ...
- npm 安装不上bug --> “ gyp verb `which` failed Error: not found: python2“
D:\development\黑龙江\cimbp-ui> npm i npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or ...
- npm install 报错 gyp info it worked if it ends with ok npm ERR gyp verb cli [
今天新启动一个项目,在 npm install 安装依赖项时出现报错. ERR! code 1 npm ERR! path C:UsersAdministratorDesktope31mall-adm ...
- npm ERR gyp verb `which` failed Error: not found: python2
gyp 报错 not found:python2 在使用vue-cli创建vue3项目时,安装依赖时,报错 npm ERR! gyp verb check python checking for Py ...
- npm ERR! gyp verb check python checking for Python executable “python2“ in the PATH
下载了vue2的脚手架工程:https://github.com/PanJiaChen/vue-admin-template npm install的时候出现了异常: node-sass安装报错,缺少 ...
最新文章
- python opencv resize函数_Python OpenCV中的resize()函数的使用
- UIT信息容灾概论(6)
- java akka_用于大型事件处理的Akka Java
- 数据结构之并查集:并查集解决案例, Python——21
- db2 查杀死锁进程
- 老漏洞easy击:CVE-2012 0158占顶!
- python抢演唱会门票_韩国演唱会抢票系统生产环境(Linux)配置记录
- idea 2017 常用图标
- python实现截图转文字功能
- 迈入高端市场,荣耀凭什么?
- CSS文字大小单位px、em、pt
- python 编码 乱码问题
- SAP发送邮件作为附件
- 豆瓣网书影音页面制作(父子组件,拼音查询中文)
- python排列组合问题_回溯问题Python框架总结——排列组合问题
- Java Generics
- 宇称(空间反演对称性)算符应用
- 少儿编程里java_Java少儿编程神器Greenfoot(10)方法
- 找出7个默森尼数,法国数学家默森尼曾提出下列公式:Mp=2^p-1。当p是素数,Mp也是素数时,称Mp为默森尼数, 例如,p=5,Mp=2^5-1=31,5和31都是素数,因此31是默森尼数;而Mp
- oracle sun 小机价格,Oracle/Sun SPARC T3-1 服务器