gleam icon indicating copy to clipboard operation
gleam copied to clipboard

Confusing error when depending on a non-existant package version

Open NthTensor opened this issue 1 year ago • 1 comments

Adding the dependency nibble = "~> 1.0.0-rc2" produces the following error

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:

bella 0.0.0 depends on nibble 1.0.0-rc2 <= v < 1.1.0

because there is no 1.0.0-rc2 release of nibble. It should instead say something like

error: Missing package version

The package 'nibble' has no release satisfying the version constraint "~> 1.0.0-rc2".

NthTensor avatar Jun 02 '23 23:06 NthTensor

Fab! Thank you

lpil avatar Jun 03 '23 10:06 lpil