Error: The following routes were marked as prerenderable, but were not prerendered because they were not found while crawling your app: - /changelog
I got this error and running build
with my adapter-static
failed, even though I have a link to changelog:
<a href="/changelog">changelog</a>
in my component inside a modal.
When I add the same line:
<a href="/changelog">changelog</a>
inside my homepage (+page.svelte
), then it does not show the above error and successfully prerenders /changelog
.
When I fork https://node.new/sveltekit and remove the /about
link and add adapter-static
and run build
, it seems to run fine without errors, so it must be a project specific problem. But I've confirmed it's resolved by simply pasting in <a href="/changelog">changelog</a>
into my file.
Thanks in advance!