Compile Modern Traccar

smsoousa2 years ago

Hello Anton! I'm having the same problem in windows. I was able to PUBLIC_URL=/modern/ and adding the "homepage": "/modern/". I can make the edits and upload the server locally with npm start. After this change, I was able to compile with npm run build_release, however, when uploading the build files to the modern folder on the server, the system does not load, the screen turns white. Could you give me a hand? Or a step by step of how I should compile in windows! I tried on Ubuntu 20, but I get numerous errors.

Persia.Dev2 years ago

Have you set .env file?

smsoousa2 years ago

Yes!

ESLINT_NO_DEV_ERRORS=false
REACT_APP_URL_NAME='my_ip:8082'
eueduardo310 months ago

smsoousa vocĂȘ conseguiu resolver o seu problema ? eu estou no mesmo problema, uso windows server.
smsoousa did you manage to solve your problem? i am in the same problem, i use windows server.