Angular: Cannot Get /
The way I resolved this error was by finding and fixing the error that the console reported.
Run ng build
in your command line/terminal, and it should display a useful error, such as the example in red here: Property 'name' does not exist on type 'object'.
For me it also was problem with path, but I had percentage sign in the root folder.
After I replaced %20 with space, it started to work :)
I had the same error caused by build errors. I ran ng build in the directory of my application which helped me correct my errors