最近在搞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
哦了!
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。