I have some troubles in my project angular. Who can help me ?
ERROR in src/app/app-routing.module.ts(5,1): error TS1185: Merge conflict marker encountered.
I have some troubles in my project angular. Who can help me ?
ERROR in src/app/app-routing.module.ts(5,1): error TS1185: Merge conflict marker encountered.
You possibly selected 'add routing' = yes when you first created your app in the Angular CLI, so the file app-routing.module already exists in the src/app folder.
Just go through path that is src/app/app-routing.module.ts
and delete this app-routing.module.ts
file and then again install it using ng g module app-routing --flat --module=app
.
Open src/app/app-routing.module.ts
file in your editor and look through it.
On line 5 there probably is something like <<<<<<< HEAD...
Which marks where git could not automatically merge 2 branches and you need to manually edit this file and tell what does it have to look like exactly now.
In other words, remove all non-typescript code.