Editing modern traccar web

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.

eueduardo310 months ago

smssoousa/Mana, did you manage to solve the problem?
I looked in package.json and there is no PUBLIC_URL=/modern/

Even so, I added in the package.json file, within scripts, the line "homepage": "/modern/".
And it didn't solve it.

i use windows server