when I'm running like "ng serve" or "ng g c abc" in terminal in visual studio it shows "The serve command requires to be run in an Angular project, but a project definition could not be found."
I tried the "ng update @angular/cli --from=1.7.4 --migrate-only" and it shows "Could not find a package.json. Are you in a Node project?"
cdi to the folder where thepackage.jsonfile is present. - Koushik Ravulapelli