when you run the angular project for the first time every day, you use the AngularCli command, ng serve-- open to start the project, but the first time every day is always unsuccessful. The error shows that Cannot GET/, opens the angular-routing.ts file, does nothing, saves it, goes back to the browser page, and Ctrl+F5 refreshes it. Then close the project and start it again with ng serve-open, and you won"t get it wrong, just for the first time every day. Please take a look at it. I really don"t know what code to attach. I need to see what code is raised in the answer. I will update the question.
Tips for reporting errors: