problems starting traccar with intellij

mrchala3 years ago

when running the project, it creates the tables in my postgres database, but in the browser it never finished loading.
What could be the problem?

Anton Tananaev3 years ago

Have you installed dependencies for the web app? Have you checked browser console for errors?

mrchala3 years ago
Anton Tananaev3 years ago

That doesn't answer any of my questions.

mrchala3 years ago

sorry, I did not read the answer .. I will verify that.

mrchala3 years ago
Anton Tananaev3 years ago

The errors indicate that you haven't installed web dependencies, as suspected.

mrchala3 years ago

ok, I'll check. Thank you

mrchala3 years ago

hello, I was looking and going around but I could not solve, I copied in the folder "traccar-web" the folder that "web" that I found in "traccar-web-master".
Any ideas ?, I have experience only installing the traccar and not compiling .. thanks for the help.

Anton Tananaev3 years ago

You need to install dependencies using npm install. Have you done that?

mrchala3 years ago

I think there is my problem. I will verify. Thank you

Carlos Mukoyi3 years ago

@mrchala
did you come right with this
I have same problem.

@Anton how to install dependencies i guess

mrchala3 years ago

@carlos Mukoyi
solved in my MAC but not in windows, I think the problem is in the package.json, in the "scripts" block.

Anton Tananaev3 years ago

Script requires bash.

mrchala3 years ago

yes..