0

My site refuses to find the rest of the build directory files which is on a separate branch in my GitHub Repo. gh-pages branch in github Any files in the _app folder is not being found when I go to the site. broken webpage

As you can see all the get requests are failing for the page get requests failing It works better on local, but not really; Apparently the tailwindCSS loads but the js still doesn't; local breaking too Any suggestions or help are much appreciated!

EDIT

Underscores, not only in folder names, but in all file names was the culprit. Make sure to get rid of them if you're using SvelteKit!

Ulta
  • 21
  • 5
  • 2
    Does this answer your question? [SvelteKit deployment on gh - pages doesn't work. Only HTML is shown, CSS and JS doesn't load](https://stackoverflow.com/questions/75497065/sveltekit-deployment-on-gh-pages-doesnt-work-only-html-is-shown-css-and-js) – H.B. Mar 02 '23 at 03:02
  • 1
    Second the comment above. Additionally, we'd need a way to reproduce it or to look at the given code to be able to reliably help, with just screenshots we can only guess at the cause. – Jeroen Mar 02 '23 at 09:23
  • I already had a look at that question, it's basically the same issue but I haven't be able to reproduce the success they had. Those steps did not fix it for me. I can't share too much code due to company policy and naturally I understand that means it's unlikely anyone can help too much, but I still felt it worth giving it a shot :) – Ulta Mar 02 '23 at 19:37

0 Answers0