错误信息:

......

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相关推荐

  1. 安装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 ...

  2. 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 ...

  3. 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 ...

  4. npm ERR! gyp verb等一系列错

    npm ERR! code 1 npm ERR! path F:\新桌面\大三下\生产实习\mock-devices-master\mock-devices-master\node_modules\n ...

  5. 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 ...

  6. 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- ...

  7. 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 ...

  8. 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 ...

  9. 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 ...

  10. 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安装报错,缺少 ...

最新文章

  1. python opencv resize函数_Python OpenCV中的resize()函数的使用
  2. UIT信息容灾概论(6)
  3. java akka_用于大型事件处理的Akka Java
  4. 数据结构之并查集:并查集解决案例, Python——21
  5. db2 查杀死锁进程
  6. 老漏洞easy击:CVE-2012 0158占顶!
  7. python抢演唱会门票_韩国演唱会抢票系统生产环境(Linux)配置记录
  8. idea 2017 常用图标
  9. python实现截图转文字功能
  10. 迈入高端市场,荣耀凭什么?
  11. CSS文字大小单位px、em、pt
  12. python 编码 乱码问题
  13. SAP发送邮件作为附件
  14. 豆瓣网书影音页面制作(父子组件,拼音查询中文)
  15. python排列组合问题_回溯问题Python框架总结——排列组合问题
  16. Java Generics
  17. 宇称(空间反演对称性)算符应用
  18. 少儿编程里java_Java少儿编程神器Greenfoot(10)方法
  19. 找出7个默森尼数,法国数学家默森尼曾提出下列公式:Mp=2^p-1。当p是素数,Mp也是素数时,称Mp为默森尼数, 例如,p=5,Mp=2^5-1=31,5和31都是素数,因此31是默森尼数;而Mp
  20. oracle sun 小机价格,Oracle/Sun SPARC T3-1 服务器

热门文章

  1. ODI Studio(二)--接口数据库集成,数据库 TO 数据库
  2. 尚硅谷谷粒商城项目介绍
  3. 模糊层次分析法matlab,求三角模糊数层次分析法(FEAHP)模型计算的MATLAB程
  4. Python清屏命令:)
  5. python 随机颜色
  6. 安卓+JAVA实例开发源码
  7. 阿里巴巴java规范_《阿里巴巴 Java开发手册》常用规范
  8. 多智能体通信:MAGNet用于深度多智能体强化学习的多智能体图网络
  9. keil5IDE 编写流水灯
  10. java环境配置 jcreator