Nothing to search for
error An error stops the build: nothing is published until it is fixed.
statac search was given no words. It shows the pages a reader of the
site would find for some words, so it needs the words.
What you’ll see
error Nothing to search for: `statac search` needs the words to look for
Give them after the command, as `statac search "raspberry pi"`.
More: https://statac.dev/e/nothing-to-search/
In the terminal, the message also shows the file and line, if there is one, and marks the exact text.
Why Statac stops
Without words, there is nothing to look for.
How to fix it
Give the words after statac search. Put them in quotes when there are
several, so they arrive as one search.
Example
statac search
To search the site for pages about a Raspberry Pi:
statac search "raspberry pi"
Its name
| Name | nothing-to-search |
|---|---|
| In the terminal | statac explain nothing-to-search |
| To stop showing it | It stops the build, so it can't be quietened. |
Something unclear or wrong? Open an issue on GitHub.