I'm trying to set up a project using
When I try to run the command ionic cordova platform add [email protected]
the terminal prompts me ? Looks like this is an angular project, would you like to install @ionic/cli-p lugin-angular and continue? (Y/n)
and then when I press y and ENTER key the error message comes out.
Tried to run this command npm install --save-dev --save-exact @ionic/cli-plugin-angular@latest
individually but the same error shows. Looked for and tried a lot of solutions but it doesn't work. This is getting very frustrating. Can Any of you guys help me?
Some solutions that I tried previously which had not effect on the error. It keeps on coming.
npm install -g @angular/angular-cli
(Still prompts me to run ? Looks like this is an angular project, would you like to install @ionic/cli-p lugin-angular and continue? (Y/n)
Then comes the Error)
npm set registry https://registry.npmjs.org/
(No change on the Error message)
npm install @ionic/cli-plugin-cordova npm uninstall -g ionic npm install -g [email protected]
(Same Error Pops up)
*New to Ionic & Cordova. Can Anyone help?
You could try deleting your node modules then run npm install...worked for me an ionic 3 project.