Statac

Problems explained

Can't read

error An error stops the build: nothing is published until it is fixed.

Statac couldn’t read a file or folder of the site. The message names it and gives the system’s reason, such as no permission to read it.

What you’ll see

error  Can't read `assets/site.css`: permission denied
  More: https://statac.dev/e/cant-read/

In the terminal the message also names the file and line where there is one, and marks the exact text.

Why Statac stops

A site with a file left out isn’t the site you wrote, so the build stops rather than publish it without.

How to fix it

Deal with the reason the message gives, such as giving yourself permission to read the file, then build again.

Example

Give yourself permission to read assets/site.css, and build again.

Its name

Namecant-read
In the terminalstatac explain cant-read
To stop showing itIt stops the build, so it can't be quietened.

Something unclear or wrong? Open an issue on GitHub.