Error codes › include-not-found

Error codes

include-not-found

error Parse and files

What it means#

An include names a file that does not exist.

How to fix it#

The message says what is wrong and where, and often what was meant (Did you mean …?). Change the model so that what this page describes no longer holds, then check again: archec check main.arche.

An error: archec builds nothing until it is fixed.

archec check --beginner says the most common messages in plain words, with the names that exist.

The automatic fix#

The file is created, empty.

In VS Code, the light bulb on the line (Quick Fix) applies it. In the terminal, archec fix main.arche applies it with the other fixes, then checks again.

In the terminal#

archec explain include-not-found prints this explanation; archec explain parse lists the codes of its area.