gleam-lang/gleam

Low quality error message coming from version resolution library

Open

#4,560 建立於 2025年5月5日

在 GitHub 查看
 (5 留言) (0 反應) (0 負責人)Rust (960 fork)batch import
help wanted

倉庫指標

Star
 (21,417 star)
PR 合併指標
 (平均合併 10天 19小時) (30 天內合併 69 個 PR)

描述

gleam 1.10.0

When running gleam CLI under a proxy with a GLEAM_CACERTS_PATH wrongly set, the error is too ambiguous and is unclear that this is the problem.

What happens now:

> gleam run 
Resolving versions 
error: Dependency resolution failed

An error occurred while determining what dependency packages and versions should be downloaded. 
The error from the version resolver library was: 

Unable to determine package versions: file operation failed

Suggested:

> gleam run 
Resolving versions 
error: Dependency resolution failed

An error occurred while determining what dependency packages and versions should be downloaded. 
The error from the version resolver library was: 

Unable to determine package versions: certificate error
Hint: are you sure the certificates are correct?

or something along those lines

貢獻者指南