Topic: ng server - Error - ng-uikit-pro-standard

Iñigo Enrique pro asked 6 years ago


Once installed 'ng-uikit-pro-standard' correctly from my Orders section, when doing 'ng serve' I get this error;
Could not determine a single project for the 'serve' target. Error: Could not determine a single project for the 'serve' target. at ServeCommand.getProjectNamesByTarget (C:\Users\inigo\Desktop\proyectos-angular\killingthebeatMDB\node_modules\@angular\cli\models\architect-command.js:196:19)  
I do not know what can be wrong, because I just downloaded the .zip and did 'npm install'

Damian Gemza staff answered 6 years ago


Dear Inigo Enrique, From 6.2.5 version, we have added a new Angular application into .zip archive / GitHub repo. This application contains the demo examples of our every component. And because of that, there are two applications in one project folder, and ng serve doesn't know, which application should be served. So you have to specify the project name which you want to run. Please open your angular.json file, and check the project name - from the default it's mdb-angular-pro. To run normal MDB Angular application from this zip, please type: ng serve mdb-angular-pro. To run MDB Angular demo application from this zip, please type: ng serve mdb-demo Best Regards, Damian

Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Resolved

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: 6.2.3
  • Device: Browser
  • Browser: Browser
  • OS: Windows
  • Provided sample code: Yes
  • Provided link: No
Tags