Hi,
I updated my project from angular 16 to 17. Now the build command ends with an error:
> ionic build
> ng.cmd run app:build
Error: Schema validation failed with the following errors:
Data path "" must NOT have additional properties(ngswConfigPath).
[ERROR] An error occurred while running subprocess ng.
ng.cmd run app:build exited with exit code 1.
In the file angular.json there are two lines

BUT when I create a new blank project and add pwa service worker again, it adds the exact same properties into the angular.json file without showing any errrors! How to fix this?
What I tried so far:
1. Delete the node_modules folder.
2. Delete the package-lock.json.
3. Clean the npm cache with: npm cache clean --force
4. npm install
Another question is: can I copy all differences from angular.json file of the new blank project to the angular.json file of my current poject? e.g.:
found in new angular.json
"builder": "@angular-devkit/build-angular:browser",
or
"main": "src/main.ts",
found in old angular.json
"builder": "@angular-devkit/build-angular:application",
or
"browser": "src/main.ts"
