Skip to content
Playground(another site)

bynk.asset.missing_file

Error An asset names a file that is not in the project's assets/ folder.

An asset is a file the build ships, and the compiler reads it to hash its contents into the asset's URL, so the file must exist when the project is built. The path is relative to the project root and must name a regular file; a symbolic link is not followed. Create the file under assets/, or correct the path. A file that exists but cannot be read is bynk.asset.unreadable_file.

Example

asset style = "assets/board.css" // ✗ no such file in the project
asset style = "assets/board.css" // ✓ once assets/board.css exists

In the Book

See also

  • Every code in its category, Static assets, on the diagnostic index.
  • bynk explain bynk.asset.missing_file shows the same from the installed toolchain, without a network.