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

Unable to fetch stylesheet on initial deploy #2588

Closed
2 tasks done
Manav1712 opened this issue Jul 21, 2024 · 5 comments
Closed
2 tasks done

Unable to fetch stylesheet on initial deploy #2588

Manav1712 opened this issue Jul 21, 2024 · 5 comments
Labels

Comments

@Manav1712
Copy link

Have you checked that your issue isn't already filed?

  • I read through FAQ and searched through the past issues, none of which addressed my issue.
  • Yes, I have checked that this issue isn't already filed.

Bug description

Not able to fetch stylesheet

How to reproduce the bug

I followed all setup steps, fixed the lighthouse badger by adding the secret and made the deployment off of gh-pages. However, my site is unable to fetch the stylesheet.

Error messages and logs

None

What operating system are you using?

Mac

Where are you seeing the problem on?

Deployed site

More info

No response

@Manav1712 Manav1712 added the bug label Jul 21, 2024
@Manav1712
Copy link
Author

Screenshot 2024-07-21 at 2 45 01 PM

@george-gca
Copy link
Collaborator

george-gca commented Jul 21, 2024

Note that the first checkbox your marked before opening this issue is stating that you read our FAQ, which clearly you did not. Please, check our FAQ for the answer to this error. Errors that happen commonly enough we add to our FAQ with the specified solution.

@Manav1712
Copy link
Author

I'm sorry you thought that. However, I actually have gone through the entire FAQ. I have followed everything you posted as well. Another user @Sustainability4 posted the same issue as well. I followed all the steps of your recommended approach, I tried loading it after cleaning my history or on incognito, updated all URLS and checked the entire error thread #1398 (comment) . I just asked a simple question, I don't see the reason for being impolite.

@stsfaroz
Copy link
Contributor

@george-gca same situation here , i added the secrets in lighthouse badger , still same problem

Error: Input required and not supplied: token

@george-gca
Copy link
Collaborator

george-gca commented Jul 21, 2024

I will copy/paste the contents of the FAQ entry here, expliciting the answer:


Question

My webpage works locally. But after deploying, it is not displayed correctly (CSS and JS are not loaded properly). How do I fix that?

Answer (part that you missed)

If you are deploying a personal or organization website, leave baseurl blank.

What this means is: change this line:

baseurl: /al-folio

to this:

baseurl:

Note that this solution is also explicited in the installation steps recommended approach step 3:

  1. Open file _config.yml, set url to https://<your-github-username>.github.io and leave baseurl empty (do NOT delete it).

And was answered in #2569, #2431, #2382, #2313.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants