npm install dependency request timed out

Not much to say, the error in the above picture can not be installed, and it keeps showing that the request has timed out. I have searched a lot on Baidu but have not been able to solve it.

Reason: It was the company's network that was used at that time, so it was not possible to bypass the wall. 

Solution: Just turn on the hotspot on your mobile phone, use your own private network and then install it with npm i.

(Personal understanding, but the solution is possible, the problem I encountered)

Acho que você gosta

Origin blog.csdn.net/m0_65634497/article/details/126740474
Recomendado
Clasificación