通过命令安装的 appium 如何更新到最新版本?
npm install appium
或者
npm install appium@版本号
当然,装了 node.js 的前提。
#1 楼 @anikikun 谢谢 我试试
npm update -g appium
#3 楼 @xiaomayi0323 按照你提供的命令更新,提示 josn 解析出错,请教是什么原因? npm http 200 http://registry.npmjs.org/swig/-/swig-1.1.0.tgz npm http 200 http://registry.npmjs.org/express npm http GET http://registry.npmjs.org/express/-/express-3.4.8.tgz npm http 200 http://registry.npmjs.org/express/-/express-3.4.8.tgz npm http 200 http://registry.npmjs.org/async npm http GET http://registry.npmjs.org/async/-/async-0.2.10.tgz npm http 200 http://registry.npmjs.org/async/-/async-0.2.10.tgz npm http 200 http://registry.npmjs.org/appium-uiauto npm ERR! registry error parsing json npm ERR! SyntaxError: Unexpected end of input npm ERR! {"_id":"appium-uiauto","_rev":"29-bbaebafca03b18c4d69524ab56d49764","na me":"appium-uiauto","description":"appium uiauto ios driver","dist-tags":{"lates t":"0.0.15"},"versions":{"0.0.0":{"name":"appium-uiauto","version":"0.0.0","desc ription":"appium uiauto ios driver","main":"index.js","scripts":{"test":"echo \" Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git://g
我安装报错 -----------------
请问楼主怎么解决的?