在线观看不卡亚洲电影_亚洲妓女99综合网_91青青青亚洲娱乐在线观看_日韩无码高清综合久久

鍍金池/ 問(wèn)答/HTML/ 使用weex debug報(bào)錯(cuò),安裝不了weex-devtool

使用weex debug報(bào)錯(cuò),安裝不了weex-devtool

This command need to install weex-devtool. 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!     C:\Users\juju\AppData\Roaming\npm-cache\_logs\2017-12-25T15_40_08_433Z-debug.log
Error: fatal error!
    at installer.(anonymous function).then (C:\Users\juju\AppData\Roaming\npm\node_modules\weex-toolkit\node_modules\xtoolkit\src\Command.js:45:19)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
    at Function.Module.runMain (module.js:678:11)
    at startup (bootstrap_node.js:187:16)
    at bootstrap_node.js:608:3
回答
編輯回答
慢半拍

因?yàn)檫@個(gè)坑幾度想棄坑weex轉(zhuǎn)去RN了。。。最后終于讓我爬出來(lái)了。。。
這個(gè)報(bào)錯(cuò)貌似是windows系統(tǒng)獨(dú)占
解決辦法如下:
先全局安裝weex-devtool
npm install -g weex-devtool(官方給的命令是npm install -g weex-toolkit,不要理,就用weex-devtool)
裝好以后再次運(yùn)行weex debug
這個(gè)時(shí)候還會(huì)再次安裝install weex-devtool
不要方 這次安裝不會(huì)報(bào)錯(cuò)了
起碼我是這樣的 如果你們還是報(bào)錯(cuò) 那繼續(xù)爬坑吧= =!

2017年9月15日 22:55
編輯回答
小曖昧

我也是這個(gè)問(wèn)題,請(qǐng)問(wèn)解決了嗎

2017年5月20日 14:51
編輯回答
蝶戀花

樓主,你的node版本和npm 版本是多少?

提示錯(cuò)誤是: npm ERR! This is an error with npm itself.

2017年9月21日 00:16
編輯回答
殘淚

樓主,爬出來(lái)沒(méi)有啊

2017年2月2日 19:17
編輯回答
拼未來(lái)

試試npm run debug

2017年11月29日 17:39
編輯回答
柒槿年

這個(gè)問(wèn)題是怎么解決?

2017年5月28日 08:39