[Windows] Solve the problem of FireBase Login failure

Enter firebase login directly in the cmd terminal, and a window will pop up allowing you to log in to your Google account. After clicking Login, the login failure will be displayed:

This happens because we are surfing the Internet scientifically, so we need to do the following two settings:

STEP1:

set "NODE_TLS_REJECT_UNAUTHORIZED=0"

STEP2:

set http_proxy=http://127.0.0.1: your proxy port

The port address can be found in the settings, as shown in the figure, click edit, that port is what is needed

 

 After performing these two operations, enter firebase login and then log in successfully

 

Guess you like

Origin blog.csdn.net/weixin_51972728/article/details/128258436