You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in my viteset project, i'm using the mockjs to mock request url. But when running the project, error occurs,
Error: Error: connect ECONNREFUSED ::1:3000
at Object.dispatchError (D:\auto-test\web-tenant\node_modules\jsdom\lib\jsdom\living\19)
at Request.<anonymous> (D:\auto-test\web-tenant\node_modules\jsdom\lib\jsdom\living\xpl.js:655:18)
at Request.emit (node:events:525:35)
at ClientRequest.<anonymous> (D:\auto-test\web-tenant\node_modules\jsdom\lib\jsdom\liquest.js:127:14)
at ClientRequest.emit (node:events:513:28)
at Socket.socketErrorListener (node:_http_client:502:9)
at Socket.emit (node:events:513:28)
at emitErrorNT (node:internal/streams/destroy:151:8)
at emitErrorCloseNT (node:internal/streams/destroy:116:3)
at processTicksAndRejections (node:internal/process/task_queues:82:21) undefined
i m very curious where the port 3000 comes from
By the way , i have used the 'cross-fetch', but it doesn't work for me
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
in my viteset project, i'm using the mockjs to mock request url. But when running the project, error occurs,
i m very curious where the port 3000 comes from
By the way , i have used the 'cross-fetch', but it doesn't work for me
Beta Was this translation helpful? Give feedback.
All reactions