egg icon indicating copy to clipboard operation
egg copied to clipboard

egg初始化安装错误

Open ghost opened this issue 2 years ago • 4 comments

在此输入你需要反馈的 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

ghost avatar Jun 26 '23 22:06 ghost

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

ghost avatar Jun 26 '23 22:06 ghost

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

可以打印一下

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

fengmk2 avatar Jun 27 '23 01:06 fengmk2

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

ghost avatar Jun 27 '23 09:06 ghost

image 还是说这样的

ghost avatar Jun 27 '23 09:06 ghost