解决 binding.gyp not found (xxx/xxx/xxx) while trying to load binding.gyp 问题
来源:互联网 发布:手机摄像头透视软件 编辑:程序博客网 时间:2024/05/19 18:17
在使用ccap图形验证码模块时遇到这个问题
Error: gyp
failed with exit code: 1
于是我手动删了rm -rf ~/.node-gyp/
目录下的文件重新执行了npm install node-gyp -g
,但并没有解决问题,反而来了一个新问题 binding.gyp not found (xxx/xxx/xxx) while trying to load binding.gyp
这个就尴尬了,网上一番查找折腾,最终用如下方法解决问题
更新一下npm
sudo npm cache clean -fsudo npm install npm -g
重新安装node-gyp
来替换node自带node-gyp
sudo npm uninstall node-gyp -gsudo npm uninstall node-gypsudo npm install node-gyp -g
然后就好了。
阅读全文
0 0
- 解决 binding.gyp not found (xxx/xxx/xxx) while trying to load binding.gyp 问题
- ibatis.binding.BindingException: Parameter 'XXX' not found
- ibatis.binding.BindingException: Parameter 'xxx' not found
- 解决org.apache.ibatis.binding.BindingException: Type interface xxx is not known to the MapperRegistry
- "xxx"framework not found "xxx"
- 【干货#010】解决 Page[pages/XXX/XXX] not found错误
- 如何解决 unable to load library XXX 问题
- Parameter xxx not found.
- framework xxx not found
- mybatis方法多个参数时报错:Caused by: org.apache.ibatis.binding.BindingException: Parameter 'xxx' not found
- 错误:Unable to load library 'xxx': Native library (win32-x86/xxx.dll) not found in resource p
- 错误:'xxx/xxx.h' file not found
- mybatis Parameter 'XXX' not found问题
- 开发板 nfs : server xxx.xxx.xxx.xxx not responding,still trying问题解决方法
- -/bin/sh: XXX: not found
- -/bin/sh: XXX: not found
- sudo xxx command not found
- Solution: `GLIBC_2.xxx' not found”
- 【SDOI2009】HH去散步(矩阵快速幂)
- 关于<option></option>标签的title属性问题
- 剑指offer_链表---两个链表的第一个公共结点
- 安卓学习之控制软键盘的显示和隐藏
- centos6.8打开关闭端口
- 解决 binding.gyp not found (xxx/xxx/xxx) while trying to load binding.gyp 问题
- Vue.js入门-安装
- 3348-数据结构实验之数组二:稀疏矩阵
- 决策树学习笔记整理
- MySQL5.7.16安装教程,以及简单的sql命令介绍
- 组合与继承
- 调用webservice报错。
- RecyclerView的滚动事件OnScrollListener研究
- Python学习笔记(一)——编程0基础数据分析进阶之路