Skip to content
Playground(another site)

bynk.package.dependency_not_found

Error A path dependency's directory has no readable bynk.toml, its bynk.toml is invalid, or it has no [package].

A path dependency points at a directory that is a package: it has its own bynk.toml with a [package] table. The path is read from the manifest that names it. The entry is refused when there is no readable bynk.toml there, when it is not valid, or when it has no [package]. Correct the path, or add the manifest to the package.

Example

[dependencies]
lib = { package = "acme/lib", path = "pkg/libs" } // ✗ no `bynk.toml` at `pkg/libs`
lib = { package = "acme/lib", path = "pkg/lib" } // ✓ the package's directory

In the Book

See also

  • Every code in its category, Packages, on the diagnostic index.
  • bynk explain bynk.package.dependency_not_found shows the same from the installed toolchain, without a network.