traccar / traccar-web

Traccar GPS Tracking System
https://www.traccar.org
Apache License 2.0
815 stars 1.13k forks source link

resources/l10n is missing #1040

Closed brohisoft closed 1 year ago

brohisoft commented 1 year ago

Describe the bug I am using the traccar-web on my local computer to use it. I cloned it using git clone and then given the link, after that I used npm install, and then npm start. but I got several errors related to the resources/l10n directory. for details, you can check the image. Would you please suggest to me how to use the Traccar-web in development mode on the windows machine? I have the react js environment prerequisites already. image

tananaev commented 1 year ago

It's not a bug. It means you didn't checkout from GitHub correctly with symbolic links.

brohisoft commented 1 year ago

how to check them? i searched the resource folder it was not available in the modern folder where the actually traccar-web app is.

tananaev commented 1 year ago

Use git client that support symlinks.

brohisoft commented 1 year ago

Sorry, I am asking you again, because I am immensely confused here. The traccar-web app is available in modern folder/directory which we can use for development mode right? And which file/directory is required it's available in main directory then web/l10n

tananaev commented 1 year ago

Yes, you can.

brohisoft commented 1 year ago

Thanks, i changed all directories all errors were resolved. But there is a technical error now. When I use npm start so it starts by default on port 3000, localhost:3000 and I get this Error occurred while trying to proxy: localhost:3000/api/server but when I use localhost:8082 then I get this message Failed to fetch. does it is due to the wrong port or something else? So please help me to resolve it

tananaev commented 1 year ago

Are you running the backend?

brohisoft commented 1 year ago

no, what should be in the backend?

brohisoft commented 1 year ago

should I install the web-server setup again which I uninstalled recently?

tananaev commented 1 year ago

Well, how do you expect it to work if you don't have the Traccar backend running?

brohisoft commented 1 year ago

well, I was thinking that maybe the Traccar Server setup that I installed is blocking the port. it was my mistake. Okay, now I installed the Traccar server Setup again and its URL is: localhost:8082 the traccar-web app is also running and its URL is localhost:3000. I am sure it's funny for you, but I am now confused about what actually I am visiting the Traccar server which I installed by Setup file or I am on Traccar-web app, both are same as I registered as a new user and I am login by default on localhost:8082 I am new to it, so please guide me thanks