npm install error - unable to get local issuer certificate

 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

0 (0)
Article Rating (No Votes)
Rate this article
    Attached Files
    There are no attachments for this article.
    Related Articles RSS Feed
    Disable two factor authentication (2FA Google, Yubikey , Access Keyword, DUO)
    Viewed 11620 times since Thu, Jun 15, 2017
    LDAP verification failed. Connection to {hostname} closed.
    Viewed 1119 times since Fri, May 18, 2018
    F1 - F4 keys not working in ezsh when using PuTTY
    Viewed 25923 times since Wed, Jun 14, 2017
    Could not download binary package. Please manually download it from
    Viewed 725 times since Thu, Apr 4, 2019
    LICENSE: No license Please contact
    Viewed 21755 times since Wed, Jun 14, 2017
    vi editor having issues while logged in via ezeelogin
    Viewed 3241 times since Wed, Jun 14, 2017
    UnAuthorized IP Address when using proxy
    Viewed 255 times since Mon, Jun 1, 2020
    vi editor not working , insert and delete not working in ssh
    Viewed 2898 times since Wed, Jun 14, 2017
    Backup Ezeelogin failed during Ezeelogin version upgrade
    Viewed 212 times since Tue, Jul 28, 2020
    User add failed: Error waiting for connection: Cannot add user on this node: Could not connect
    Viewed 2290 times since Wed, Jun 14, 2017