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

Error during deployment with scheme format #807

Closed
0-Kaustubh-0 opened this issue Nov 6, 2023 · 3 comments
Closed

Error during deployment with scheme format #807

0-Kaustubh-0 opened this issue Nov 6, 2023 · 3 comments

Comments

@0-Kaustubh-0
Copy link

Hello!

I'm getting an error during the deployment of my website on Github actions, which has something to do with htmlproofer:

KaustubhSinha.github.io/vendor/bundle/ruby/3.2.0/gems/addressable-2.8.5/lib/addressable/uri.rb:913:in `scheme=': Invalid scheme format: 'Link to article' (Addressable::URI::InvalidURIError)
htmlproofer 4.4.3 | Error:  Invalid scheme format: 'Link to article'

I'm not a programmer and am using jekyll to host a webpage for my engineering portfolio. I would greatly appreciate any help I can get as CI/CD is beyond my cup of tea.

Thank you.

@gjtorikian
Copy link
Owner

Two things stand out:

  • htmlproofer's latest version is 5.0.8, not 4.4.3. Can you update this?
  • Judging by the error message, I would guess that the HTML is incorrectly written as <a href="Link to article">. Can you share your portfolio, or the line that contains the text "Link to article" ?

Invalid scheme format means that a URL link is not using http or https, so there is almost certainly a typo somewhere.

@0-Kaustubh-0
Copy link
Author

Thank you Garen!

  • I'm unsure how to update the htmlproofer version. Perhaps I'll need to pull to my repo? (This whole jekyll bundle was created by someone else)
  • You mentioning <a href="Link to article"> immediately cleared my question as I knew where the problem was. I encountered some other similar errors but they are resolved and my website is published! 😄

@gjtorikian
Copy link
Owner

Glad to hear it!

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