Skip to content

A file couldn't be hashed

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.

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.

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.