3

I'm installing angular 7 but its giving error, when i create new project.

node -v v10.12.0

npm -v 6.4.1

Error Screenshot

enter image description here

This is another issue:-

'git' is not recognized as an internal or external command

enter image description here

Rohit Verma
  • 3,657
  • 7
  • 37
  • 75

1 Answers1

2

You should use the following command before you create the new app using angular CLI:

npm cache clean --force

It will clean the cache forcefully.

Rohit Sharma
  • 3,304
  • 2
  • 19
  • 34
  • now it working fine thanks! but i'm getting another error 'git' is not recognized screenprint updated in question. – Rohit Verma Nov 16 '18 at 19:47
  • Then you need to install git in your system, have you installed git? If not, look [here](https://git-scm.com/download/win). – Rohit Sharma Nov 16 '18 at 19:52