关于 weex 安装weex debug时遇到的问题

最近在搞weex,安装过程还算顺利,但素~安装debug调试的时候老是报这个问题

➜  awesome-app weex debug
This command need to install weex-debugger. Installing...
npm ERR! cb() never called!

npm ERR! This is an error with npm itself. Please report this error at:
npm ERR!     <https://github.com/npm/npm/issues>

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/cailuli/.npm/_logs/2018-04-24T10_21_29_656Z-debug.log
18:21:29 : Error: fatal error!

一脸懵逼啊,有木有...后来 google 了发现很多人遇到这个问题,楼主mac本,可能跟windows系统解决不一样,下面是我的解决方法


清除node.js的cache

sudo npm cache clean -f    

升级npm

npm update npm -g

卸载了weex-toolkit,重新全局安装

npm un weex-toolkit -g   npm i weex-toolkit -g

蓝后呢,weex debug 哦了!

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值