Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

run.bat 启动脚本时候报错 #268

Closed
BensonMax opened this issue Jul 14, 2018 · 2 comments
Closed

run.bat 启动脚本时候报错 #268

BensonMax opened this issue Jul 14, 2018 · 2 comments

Comments

@BensonMax
Copy link

  1. sample/test.spec : chrome "before all" hook:
    Error: connect ECONNREFUSED 127.0.0.1:5555
    at Object._errnoException (util.js:992:11)
    at _exceptionWithHostPort (util.js:1014:20)
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1186:14)

[mochawesome] Report saved to reports\index.html
[mochawesome] Report saved to reports\index.xml

(node:348) [DEP0013] DeprecationWarning: Calling an asynchronous function without callback is deprecated.
(node:348) [DEP0013] DeprecationWarning: Calling an asynchronous function without callback is deprecated.
(node:348) [DEP0013] DeprecationWarning: Calling an asynchronous function without callback is deprecated.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! uirecorderTest@1.0.0 singletest: mocha --reporter mochawesome-uirecorder --bail "sample\test.spec.js"
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the uirecorderTest@1.0.0 singletest script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Administrator\AppData\Roaming\npm-cache_logs\2018-07-14T02_17_47_968Z-debug.log

@macaca-bot
Copy link

This is the translated issue:


Run.bat error when starting script

  1. sample/test.spec : chrome "before all" hook:
    Error: connect ECONNREFUSED 127.0.0.1:5555
    at Object._errnoException (util.js:992:11)
    at _exceptionWithHostPort (util.js:1014:20)
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1186:14)

[mochawesome] Report saved to reports\index.html
[mochawesome] Report saved to reports\index.xml

(node:348) [DEP0013] DeprecationWarning: Calling an asynchronous function without callback is deprecated.
(node:348) [DEP0013] DeprecationWarning: Calling an asynchronous function without callback is deprecated.
(node:348) [DEP0013] DeprecationWarning: Calling an asynchronous function without callback is deprecated.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! uirecorderTest@1.0.0 singletest: mocha --reporter mochawesome-uirecorder --bail "sample\test.spec.js"
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the uirecorderTest@1.0.0 singletest script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Administrator\AppData\Roaming\npm-cache_logs\2018-07-14T02_17_47_968Z-debug.log

@Stngle
Copy link
Collaborator

Stngle commented Oct 17, 2018

是否本地开启 selenium-server

@Stngle Stngle closed this as completed Nov 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants