I chose option two from the Stack Exchange Article Above
There are times when you do not want to change ownership of the default directory that npm uses (i.e.
/usr) as this could cause some problems, for example if you are sharing the system with other users.
Instead, you can configure npm to use a different directory altogether. In our case, this will be a hidden directory in our home folder.
npm config set prefix '~/.npm-global'
~/.profilefile and add this line:
This is a password protected section available to those who know me in some fashion. If you know me and you do not already have a login, you can request a login here.
I am nuts about books. I read on all kinds of topics. I attempt to review each book I read for the sake of my own enrichment as well as conversation starters with others.
God has called me to be a pastor, and occasionally I have some pastoral thoughts I like to share.
You never know what you will find in an attic! Usually there is a hodgepodge of things buried under dust.