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

egg初始化安装错误 #5229

Open
ziyanwl opened this issue Jun 26, 2023 · 4 comments
Open

egg初始化安装错误 #5229

ziyanwl opened this issue Jun 26, 2023 · 4 comments

Comments

@ziyanwl
Copy link

ziyanwl commented Jun 26, 2023

在此输入你需要反馈的 Bug 具体信息(Bug in Detail):

1.执行 npm init egg --type=simple
2.出现错误
image

可复现问题的仓库地址(Reproduction Repo)

Node 版本号:

v16.20.1

Eggjs 版本号:

相关插件名称与版本号(PlugIn and Name):

操作平台与版本号(Platform and Version):

Windows11

@ziyanwl
Copy link
Author

ziyanwl commented Jun 26, 2023

image
清楚缓存 重新安装了一下 还是这样的 并且我没有设置任何代理

@fengmk2
Copy link
Member

fengmk2 commented Jun 27, 2023

https://github.com/eggjs/egg-init/blob/master/lib/init_command.js#L47 @ziyanwl 可以看看你的环境变量

可以打印一下

node -p 'process.env.http_proxy || process.env.HTTP_PROXY'

@ziyanwl
Copy link
Author

ziyanwl commented Jun 27, 2023

image
是我的安装有问题吗 打印不出来

@ziyanwl
Copy link
Author

ziyanwl commented Jun 27, 2023

image
还是说这样的

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