I have been assigned a task where I have to run ng serve command in folder.
I have installed node.js and checked it's version. Run this command npm install -g @angular/core @angular/cli
I have following folder structure.
ProjectFolder - > ClientApp - >Src
I am running this command inside ProjectFolder and I am getting this error.The serve Command requires to be angular project but project definition could not found.
Is my path is wrong? In which folder shall I run this command ? ClientApp or Src?
If I make new project and serve this ng serve,it is working.
So I tried to run project inside ClientApp
When I am running ng serve inside clientApp,getting msg :An unhandled exception occurred:
Cannot find module
'@angular-devkit/build-angular/package.json' Require stack: .
So many error like AppData\Roaming\npm\node_modules\@angular\cli\models\architect-command.js
I have taken my project from live devops directory.
It don't have node_modules folder in project.
Do that folder is necessary?
Do I need run npm install command?
Inside which folder?ClientApp?
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)