在终端中执行weex debug时,提示安装weex-devtool,输入y之后,安装过程中出现以下报错:
npm ERR! Unexpected token ( in JSON at position 0 while parsing near '(function(){try{var ...'
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/hbs/.npm/_logs/2017-10-11T15_32_12_038Z-debug.log
Error: fatal error!
at installer.(anonymous function).then (/usr/local/lib/node_modules/weex-toolkit/node_modules/.0.2.9-beta1@xtoolkit/src/Command.js:49:31)
at <anonymous>
请问该怎么解决呢?
同问,我现在还没解决