Statac

Problems explained

Unknown command

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

The first word after statac isn’t one of its commands. Statac’s commands are build, check, serve and explain, and statac --help lists them.

What you’ll see

error  Unknown command: `biuld`
  Did you mean `statac build`?
  More: https://statac.dev/e/unknown-command/

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

Why Statac stops

Statac can’t tell what you meant to do, and doing the wrong thing could write files you didn’t ask for. When a command is close to what you wrote, Statac offers it.

How to fix it

Write one of Statac’s commands. Statac spells each of its words one way, so statac help is written statac --help.

Example

statac biuld

The command is build:

statac build

Its name

Nameunknown-command
In the terminalstatac explain unknown-command
To stop showing itIt stops the build, so it can't be quietened.

Something unclear or wrong? Open an issue on GitHub.