Refusing to install package


Many times we try to install a package and get an error like refusing to install the package with name [your project name].
And we are not able to understand, what actually goes wrong or what to do.there are different causes, 
but when an error is saying that "refusing to install the package with name" then there is a strong possibility that you gave the same name to your project as well.
In angular, if your project name is the same as package name then we are not allowed to install the same name package. 
This means we have to keep our project name different than any package name.

So please check if you have the same name as the project that of installing package If it is the same then please rename your project and try to install the package again. 

thank you.

[ If you are preparing for an interview please click here - angular interview questions and answers ]

Comments