Hello Pooja, you must have missed the step below:
Before we build, let’s understand that Angular project creates a dist folder on successful building while Cordova make use of www folder to run, so we need to update Angular project to build in www folder. To achieve that, open .angular-cli.json in our root directory and change the value of outDir property from “dist” to “www”.
Great to know you finally merged it. The final error means that you’re using a JDK (Java Development Kit) lower than v1.8. Please update your JDK by downloading the latest update.
Hello Traun, you missed your merging. You might have skipped adding @angular/core within your dependencies object. Please use your backup and do the proper merging. Your package.json should look exactly like the one you saw in my post.