'expo init project proxy error in Windows 10 cmd window

I'm new to React-Native.

Run "expo init newProject" command in Windows 10 command window with Admin right.The computer is behind a proxy server.

I searched the Internet for answers with no luck.

These are the commands I have tried with no luck. set HTTP_PROXY=http://ProxyServerIP:8080 and netsh winhttp set proxy ProxyServerIP:8080

Any help would be appreciated.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source