报错信息如下:

1) macaca mobile sample "before all" hook:
[init({"deviceName":"iPhone 5s","platformName":"iOS","autoAcceptAlerts":false,"app":"https://npmcdn.com/ios-app-bootstrap@latest/build/ios-app-bootstrap.zip"})] getaddrinfo ENOTFOUND localhost localhost:3456
Error: getaddrinfo ENOTFOUND localhost localhost:3456
at errnoException (dns.js:26:10)
at GetAddrInfoReqWrap.onlookup as oncomplete

2) macaca mobile sample "after all" hook:
[quit()] getaddrinfo ENOTFOUND localhost localhost:3456
Error: getaddrinfo ENOTFOUND localhost localhost:3456
at errnoException (dns.js:26:10)
at GetAddrInfoReqWrap.onlookup as oncomplete

本人刚接触,比较菜;请大神指教


↙↙↙阅读原文可查看相关链接,并与作者交流