Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failures with #anchors: file not found #1591

Closed
grahamc opened this issue Dec 18, 2024 · 3 comments
Closed

Failures with #anchors: file not found #1591

grahamc opened this issue Dec 18, 2024 · 3 comments

Comments

@grahamc
Copy link

grahamc commented Dec 18, 2024

I have a website with this in the HTML:

<h2 id="outcomes" class="heading"> <a href="#outcomes"> Outcomes </a> </h2>

Using lychee main (1780aa0, v0.18.0) or lychee v0.17.0, and calling it like this:

lychee --threads 1 --cache --config ./lychee.prod.toml --verbose --base "$(realpath ./dist)" ./dist

and a lychee.prod.toml containing:

cache = true
include_mail = true
max_cache_age = "1w"
max_redirects = 5

exclude = [
# a few unrelated entries...
]

I get this error:

[ERROR] file:///Users/grahamc/src/github.com/DeterminateSystems/website/dist/%23outcomes | Cannot find file
@mre
Copy link
Member

mre commented Dec 18, 2024

Can you try 0.16.0? Might be a duplicate of #1457, #1577, #1574. I basically broke anchors/fragments. 😬

@grahamc
Copy link
Author

grahamc commented Dec 18, 2024

I'll give it a try, @mre! Thank you! By the way, while I did just open up three issues, we are very happy with Lychee. It works very well for us, and I'm grateful for the project. Thank you.

@grahamc
Copy link
Author

grahamc commented Dec 18, 2024

You're right, totally solved on v0.16.0! Thank you!

@grahamc grahamc closed this as completed Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants