baidu / Curve

An Integrated Experimental Platform for time series data anomaly detection.
http://curve.baidu.com
Apache License 2.0
531 stars 134 forks source link

fetchMetadata: sill install loadAllDepsIntoIdelTree -----一直在这个地方不懂 #52

Open yangjing1123 opened 6 years ago

yangjing1123 commented 6 years ago

安装过程中出现fetchMetadata: sill install loadAllDepsIntoIdelTree -----一直在这个地方不懂

yangjing1123 commented 6 years ago

长时间不动后出现如下错误:Sill fetch packagemetadata error for request to http://registry.npmjs.org/* failed reason:connect ETIMEOUT,看着像是网络权限问题导致的,不确定是本身工具对网络有要求还是我自己内部网络的权限问题

yangjing1123 commented 6 years ago

npm版本:5.6.0 node版本:V9.6.0 python版本:2.7.12

cuiy245 commented 6 years ago

Hello, try executing npm config set registry http://registry.npmjs.org/

yangjing1123 commented 6 years ago

@cuiy245 the method(npm config set registry http://registry.npmjs.org/) you recommended does not work

cuiy245 commented 6 years ago
  1. Try switching the node version, for example v6.11.2;
  2. Set the mirror
  3. If you use a mac, then it is most likely a permission issue, first enter it in the terminal sudo chown -R $USER /usr/local Then enter your power-on password and you can execute your relevant NPM commands.
renpfly commented 5 years ago

I also encountered the same problem.Is there a solution now?