Here are some related links with information that we could look into to attempt to troubleshoot with.
You could try this approach:
Run these three commands in a sequence.
npm config set strict-ssl false
npm update npm –g
npm config set strict-ssl true
2) Set both properties proxy and https-proxy in the npm config using these commands:
npm config set proxy=“http://“proxy-name”:8080”
npm config set https-proxy=“http://“proxy-name”:8080”