Mac 系统,用 appium 客户端启动 无法启动测试 然后点击诊断报错:
error: uncaughtException: listen EADDRINUSE date=Wed Jul 30 2014 17:33:26 GMT+0800 (CST), pid=12310, uid=501, gid=20, cwd=/Applications/Appium.app/Contents/Resources/node_modules/appium, execPath=/Applications/Appium.app/Contents/Resources/node/bin/node, version=v0.10.29, argv=[/Applications/Appium.app/Contents/Resources/node/bin/node, /Applications/Appium.app/Contents/Resources/node_modules/appium/bin/appium-doctor.js, --port, 4722], rss=38752256, heapTotal=30119424, heapUsed=10046472, loadavg=[1.53662109375, 1.6171875, 1.666015625], uptime=23645, trace=[column=11, file=net.js, function=errnoException, line=904, method=null, native=false, column=14, file=net.js, function=Server._listen2, line=1042, method=_listen2, native=false, column=10, file=net.js, function=listen, line=1064, method=null, native=false, column=5, file=net.js, function=Server.listen, line=1138, method=listen, native=false, column=9, file=/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/socket.io/lib/index.js, function=Server.listen.Server.attach, line=213, method=listen.Server.attach, native=false, column=17, file=/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/socket.io/lib/index.js, function=new Server, line=51, method=null, native=false, column=41, file=/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/socket.io/lib/index.js, function=Function.Server, line=39, method=Server, native=false, column=24, file=/Applications/Appium.app/Contents/Resources/node_modules/appium/lib/doctor/common.js, function=Log.startBroadcast, line=66, method=startBroadcast, native=false, column=9, file=/Applications/Appium.app/Contents/Resources/node_modules/appium/bin/appium-doctor.js, function=, line=105, method=null, native=false, column=26, file=module.js, function=Module._compile, line=456, method=_compile, native=false], stack=[Error: listen EADDRINUSE, at errnoException (net.js:904:11), at Server._listen2 (net.js:1042:14), at listen (net.js:1064:10), at Server.listen (net.js:1138:5), at Server.listen.Server.attach (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/socket.io/lib/index.js:213:9), at new Server (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/socket.io/lib/index.js:51:17), at Function.Server (/Applications/Appium.app/Contents/Resources/node_modules/appium/node_modules/socket.io/lib/index.js:39:41), at Log.startBroadcast (/Applications/Appium.app/Contents/Resources/node_modules/appium/lib/doctor/common.js:66:24), at Object.<anonymous> (/Applications/Appium.app/Contents/Resources/node_modules/appium/bin/appium-doctor.js:105:9), at Module._compile (module.js:456:26)]
用命令行启动:也是报错:
error: Couldn't start Appium REST http interface listener. Requested port is already in use. Please make sure there's no other instance of Appium running already.
求助
我是管理员,我想说同学,你这样的日志都看不懂么?另外发帖请遵守规则!