0

I was adding angular/pwa in my project built in Angular 15 by running the below command,

ng add @angular/pwa --project <project-name>

Result,

enter image description here

What is this error?

rohithpoya
  • 865
  • 7
  • 20
  • 2
    The error signifies command is being run at the wrong path, please check your folder does it contain angular.json? – Navitas28 May 23 '23 at 02:29
  • Yes, angular.josn was there. But the name of the project was different and changed to `texales` and working as expected. Thanks @Navitas28 – rohithpoya May 24 '23 at 02:43
  • 1
    The name is also case sensitive. In my case, the project name was all lowercase in package.json and camel cased in angular.json. It should match angular.json. – spectacularbob Jul 14 '23 at 17:12
  • Yes, This is a good point to remember. – rohithpoya Jul 16 '23 at 02:58

0 Answers0