使用lein命令时报“Could not transfer artifact”问题的解决方法
问题现象
使用lein命令时报错Could not transfer artifact。
处理步骤
第一次在环境中使用lein命令需要依赖外网的包,需要确保编译前能连通外网,否则需要配置代理,如下所示。
1 2 |
export http_proxy="http://Username:Password@Host:Port" export https_proxy="http://Username:Password@Host:Port" |
父主题: 故障排除