Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

初始化项目出错 read ECONNRESET #96

Closed
berwin opened this issue Sep 7, 2016 · 3 comments
Closed

初始化项目出错 read ECONNRESET #96

berwin opened this issue Sep 7, 2016 · 3 comments

Comments

@berwin
Copy link

berwin commented Sep 7, 2016

[test] egg-init --type simple showcase
[egg-init] /Users/xx/test/showcase is not exists, now create it.
[egg-init] dest dir is /Users/xx/test/showcase
Error: read ECONNRESET
    at exports._errnoException (util.js:896:11)
    at TLSWrap.onread (net.js:556:26)
@berwin berwin changed the title 初始化项目出错 初始化项目出错 read ECONNRESET Sep 7, 2016
@atian25
Copy link
Member

atian25 commented Sep 7, 2016

ECONNRESET 是网络问题, 多试几次看看.

现在应该还没支持国内的 npm 地址, cc @fengmk2

@atian25
Copy link
Member

atian25 commented Sep 7, 2016

看了下, 默认已经是中国的了, const REGISTRY = 'https://registry.npm.taobao.org';

@berwin 你再试试

@atian25 atian25 closed this as completed Sep 7, 2016
@berwin
Copy link
Author

berwin commented Sep 7, 2016

恩呢,可以啦。。多谢~

elrrrrrrr pushed a commit to elrrrrrrr/egg that referenced this issue Feb 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants