OxL Справочник OxL
РусскийEnglish

error dep-not-found

error Стандарт: [III.2]

Зависимость не найдена, не скачивается или не загружается.

What it means#

A dependency of [deps] / [dev-deps] could not be provided: the registry has no such package or no version matching the requirement (the message lists the available versions and the requirement chain), the registry or the git repository is unreachable, a path dependency has no oxl.toml / src/, or — under --frozen — the package is not in the local cache ($OXL_HOME, default ~/.cache/oxl).

Example#

toml
# oxl.toml
[deps]
auth = "^5"   # <- dep-not-found: no version of `auth` matches `^5` (available: 2.1.0, 2.3.0)

How to fix#

Check the name and the requirement against the registry (OXL_REGISTRY or [registry] url), the URL and the tag / branch / rev of a git dependency, the directory of a path dependency. Run once without --frozen to fill the cache.

See also#

OxL 1.0.0-beta · Версия документации 1.0.0-beta© OxwaldLink · сгенерировано из Стандарта, исходников std и руководства