I solved this problem this way:
I run this command:
npm config set strict-ssl false
Then set npm to run with http, instead of https:
npm config set registry "http://registry.npmjs.org/"
Este ultimo talvez não seja preciso, caso seja:
Then I install packages using this syntax:
npm --proxy http://username:password@cacheaddress.com.br:80 \
install packagename
OU (que foi como fiz)
npm config set proxy http://185.70.189.59:58591
npm config set https-proxy http://185.70.189.59:58591