npm install command fails in Angular2


Recently I am working on Angular2 application.

My Client provided application. I have to extend the functionality. I have to run npm install. In my machine I have new environment. I have to run "npm install" command in node.js command prompt. But it's fail every time.

I have double check the version and lots other thing but didn't work.

Then I have run below command which set the registry. And after setting this registry "npm install" works successfully.

Command is

npm set registry

Please don't forgot to comment if this article help you.

Posted in Labels: | 0 comments