0

I'm Try to create new ionic project, But facing this error Is there anyone know why I got this Error messages ? and how to fix it ?

I tried:

npm cache clean --force 

and

--force, or --legacy-peer-deps these flag with my command but no any luck.

enter image description here

Thanks in advance!

johnborges
  • 2,422
  • 20
  • 33
Muhammad Usman
  • 361
  • 3
  • 16
  • Is there a dependency for ionic-app-base in your package.json file? I could't find a package with this name in npm registry. Try removing this line from package.json and delete node-modules and run npm install again. – Pankaj Sati Feb 10 '21 at 06:47
  • https://imgur.com/xXxwn57 – Muhammad Usman Feb 10 '21 at 07:03
  • 2
    Strangely, your ionic start command has created your project with version 0.0.0 which is wrong as usually it starts with 0.0.1. I guess there is something wrong with the ionic cli. Try reinstalling it. https://imgur.com/a/P1dpp68 – Pankaj Sati Feb 10 '21 at 07:26
  • yes i think the issue come from after updating npm 6 to 7 – Muhammad Usman Feb 10 '21 at 09:55

1 Answers1

1

I've sent a PR to the starters template updating angular and should prevent the errors.

But you can also downgrade npm from 7 to 6 as workaround.

jcesarmobile
  • 51,328
  • 11
  • 132
  • 176