今天安装egg.js的报错
fetching npm info of egg-boilerplate-simple ConnectionTimeoutError: Connect timeout for 5000ms, GET https://registry.npmjs.o rg/egg-boilerplate-simple/latest -2 (connected: false, keepalive socket: false, socketHandledRequests: 1, socketHandledResponses: 0)
最后使用cnpm安装成功
cnpm init egg --type=simple
本文作者为gengboxb,转载请注明。