# A file couldn't be hashed

What "Axle couldn't read a file to hash it" means and how to fix it.

```text
error: Axle couldn't read packages/ui/src/button.tsx to hash it: Access is denied. (os error 5)
hint: Check that the file exists and can be read, then run axle again.
```

## Why it happens

Before a run, Axle reads every changed file in the repository to work out each task's hash. It couldn't read this one, so it can't tell whether the task's inputs changed, and stops before running anything.

## How to fix it

Check the file's permissions, and that no other program has it locked. If the file shouldn't be in the repository at all, add it to `.gitignore`.
