editor4 icon indicating copy to clipboard operation
editor4 copied to clipboard

Issue building amchart 4 editor

Open LennonOliveira29 opened this issue 3 years ago • 1 comments

Hi! I'm having trouble building amchart 4 editor. When I run on a file server and try to create a new graph, it throws me into my app again. I strictly followed all your recommendations that are in the documentation, I even tested it with your example, and even so, it keeps giving errors. I'm using react to use the amchart editor.

It looks like it happening when I try to create a chart, it tries to look for the index.html file inside the public / am4editor folder and ends up getting lost and throws me into my application again

As we can see in the image below, when running with the file server and trying to add a graphic, it redirects me to the application again

Captura de Tela 2021-10-08 às 14 14 23

LennonOliveira29 avatar Oct 08 '21 14:10 LennonOliveira29

Looks like your server is configured to route everything to your root index.html. You should probably check where this is set in the server config.

ailon avatar Oct 11 '21 06:10 ailon