While I execute the Cypress in local with the command “npx cypress run”, I’m facing ECONNRESET after execution of few suits. I’m getting the error message,
**Your configFile threw an error from: cypress.config.js
We stopped running your tests because your config file crashed.
ConnectionError: Connection lost – read ECONNRESET**
at ConnectionError (C:Projectsamplecypressnode_modulestediousliberrors.js:13:12)
at Connection.socketError (C:Projectsamplecypressnode_modulestediouslibconnection.js:1012:26)
at Socket. (C:Projectsamplecypressnode_modulestediouslibconnection.js:884:14)
at Socket.emit (node:events:525:35)
at emitErrorNT (node:internal/streams/destroy:151:8)
at emitErrorCloseNT (node:internal/streams/destroy:116:3)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
Please suggest me what I need to add to resolve this issue.
Erode Stars is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.