this is a problem related to network connectivity npm
use npm config set registry http://registry.npmjs.org/ so that npm requests for http url instead of https.
use npm config set registry http://registry.npmjs.org/ so that npm requests for http url instead of https.