cmd 运行的:
C:\Users\Administrator>appium -a 127.0.0.1 -p 4723 -U f0cd182a
C:\Users\Administrator>
Appium 的 log:
Starting Node Server
error: uncaughtException: Cannot find module './lib/send' date=Fri Jan 30 2015 10:30:00 GMT+0800 (涓浗鏍囧噯鏃堕棿), pid=9136, uid=null, gid=null, cwd=F:\LearningMaterials\Appium\software\AppiumForWindows-1.3.4.1\Appium\node_modules\appium, execPath=F:\LearningMaterials\Appium\software\AppiumForWindows-1.3.4.1\Appium\node.exe, version=v0.10.26, argv=[F:\LearningMaterials\Appium\software\AppiumForWindows-1.3.4.1\Appium\node.exe, F:\LearningMaterials\Appium\software\AppiumForWindows-1.3.4.1\Appium\node_modules\appium\lib\server\main.js, --address, 127.0.0.1, --port, 4723, --platform-name, Android, --platform-version, 19, --automation-name, Appium, --log-no-color], rss=25845760, heapTotal=16469248, heapUsed=9208512, loadavg=[0, 0, 0], uptime=2640.0464568, trace=[column=15, file=module.js, function=Function.Module._resolveFilename, line=338, method=Module._resolveFilename, native=false, column=25, file=module.js, function=Function.Module._load, line=280, method=Module._load, native=false, column=17, file=module.js, function=Module.require, line=364, method=require, native=false, column=17, file=module.js, function=require, line=380, method=null, native=false, column=18, file=F:\LearningMaterials\Appium\software\AppiumForWindows-1.3.4.1\Appium\node_modules\appium\node_modules\express\node_modules\send\index.js, function=, line=2, method=null, native=false, column=26, file=module.js, function=Module._compile, line=456, method=_compile, native=false, column=10, file=module.js, function=Object.Module._extensions..js, line=474, method=Module._extensions..js, native=false, column=32, file=module.js, function=Module.load, line=356, method=load, native=false, column=12, file=module.js, function=Function.Module._load, line=312, method=Module._load, native=false, column=17, file=module.js, function=Module.require, line=364, method=require, native=false], stack=[Error: Cannot find module './lib/send', at Function.Module._resolveFilename (module.js:338:15), at Function.Module._load (module.js:280:25), at Module.require (module.js:364:17), at require (module.js:380:17), at Object. (F:\LearningMaterials\Appium\software\AppiumForWindows-1.3.4.1\Appium\node_modules\appium\node_modules\express\node_modules\send\index.js:2:18), at Module._compile (module.js:456:26), at Object.Module._extensions..js (module.js:474:10), at Module.load (module.js:356:32), at Function.Module._load (module.js:312:12), at Module.require (module.js:364:17)]Node Server Process Ended
昨天还在测试呢,都可以用,今天上班打开就用不了! 是不是 node 的问题啊!(我都还没跑用例呢,只是启动就不行了!)