npm install error - unable to get local issuer certificate
Article ID: 338 | Rating: Unrated | Last Updated: Mon, Sep 28, 2020 at 4:21 AM
Cannot install node and getting the below error
Error: unable to get local issuer certificate
This usually occurs when outbound connection on port 443 has been blocked and can be resolved by running the command below :
root@localhost:~ npm config set strict-ssl false