Skip to content
Playground(another site)

bynk.embed.missing_file

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

An embed compiles a file's text into the program as a String, so the file must exist when the project is built, or there is nothing to compile in. The path is relative to the project root and must name a regular file under embeds/; a symbolic link is not followed. Create the file, or correct the path. A file that exists but cannot be read is bynk.embed.unreadable_file.

Example

embed shell = "embeds/page.html" // ✗ no such file in the project
embed shell = "embeds/page.html" // ✓ once embeds/page.html exists

In the Book

See also

  • Every code in its category, Embedded text, on the diagnostic index.
  • bynk explain bynk.embed.missing_file shows the same from the installed toolchain, without a network.