This was due to a mismatch in the disk snapshot compared to in memory.
Update an existing Fresh project.
This is a CLI tool can be used to upgrade an existing Fresh project. To do so, run this command:
deno run -Ar jsr:@fresh/update
Go to https://fresh.deno.dev/ for more information about Fresh.