npm install command fails in Angular2

Hello,

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 https://registry.npmjs.org/


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


Posted in Labels: |

0 comments:

Post a Comment