Error when start Traccar on VSCODE

lachguer97 months ago

Hello all.
Can some one help me because i don't found solution on internet yesterday i run Traccare on VScode all is ok i make customise of loginpage all is ok but afer few hour i got this error and the loginpage not showing in VScode :

15:08:41 [vite] http proxy error: /api/server
AggregateError [ECONNREFUSED]: 
    at internalConnectMultiple (node:net:1117:18)
    at afterConnectMultiple (node:net:1684:7)
    at TCPConnectWrap.callbackTrampoline (node:internal/async_hooks:130:17)

i got this error on debug console please if some one can help i make other project wwith original resource but the problem till exist

best regards

Anton Tananaev7 months ago

Seems like your backend is down.

lachguer97 months ago

Thanks for your message what do you means backend and how i can solve them ?
note: before got this error i click build lot of time some time before finish building i click stop then make change code then click build again maybe this is problem ?

Anton Tananaev7 months ago

If you don't know what I mean by backend, you probably shouldn't be changing the code.

lachguer97 months ago

i have make change only in this file : LoginPage.jsx

lachguer97 months ago

I uninstall all and make from first use the original source but problem till exist can some one help please.
i have this new message

(node:26228) [DEP0060] DeprecationWarning: The `util._extend` API is deprecated. Please use Object.assign() instead.
(Use `node --trace-deprecation ...` to show where the warning was created)

16:17:13 [vite] http proxy error: /api/server
AggregateError [ECONNREFUSED]: 
    at internalConnectMultiple (node:net:1117:18)
    at afterConnectMultiple (node:net:1684:7)
    at TCPConnectWrap.callbackTrampoline (node:internal/async_hooks:130:17)

best regards

MAXIMILIANO FLEX7 months ago

Hi, let us see your Config Vite file to see what's going on, as Anto is telling you that your backend is not running. and if you don't know the term backend. It's best to find a systems engineer for help.