Forum Discussion

bossleo.io's avatar
bossleo.io
Start Member
20 days ago

Issue with Deploying to GitHub Pages (Blank Screen)

Greetings!

I am having issues with deploying my IWSDK Project to GitHub Pages. When I go to deploy and publish, it returns black screen. 

This was for a simple starter project as I get familiar with the workflows.  I have also run through an in intense deep dive Q&A with ChatGPT to trouble to go through this issue.

ChatGPT (w/ images): https://chatgpt.com/share/691ff205-cea0-8003-bde5-f449b081a1e1

Note. I have also followed the steps provided in the guides for building and deploying, and tried to trouble shoot the errors in the console: https://iwsdk.dev/guides/08-build-deploy.html

 

2 Replies

  • h.taylor's avatar
    h.taylor
    Community Manager

    Hey bossleo, 

    I took a look at the walkthrough and documentation you linked and wanted to clarify - did you set the source as "Deploy from a branch" and select your gh-pages branch then save (section 3-5 in Step 3 of the IWSDK deployment doc)? It looks like this might be running into an error because it's trying to deploy from your root folder rather than the base path you'd have set with Vite in the first step of the deployment guide here.

    Let me know if you need further help here! While I'm not able to do in-depth code reviews, I'm happy to see if I can help with the implementation steps. 

  • Hey bossleo,

    I took a look at the chatgpt conversation history you shared - I think the issue is most likely because chatgpt directed you to make a github repo just for bossleo.github.io but the tutorial here: https://iwsdk.dev/guides/08-build-deploy.html is for deploying the application to GitHub pages from your app's repo.

    For example, if your app's name is iwsdk-app, then you should create a repository on GitHub named iwsdk-app, and follow the tutorial to add your action config yml file, and turn on deploy from github actions in GitHub. Also don't forget to change the base path to whatever your GitHub repo name is in vite.config.js: base: './iwsdk-app/'

    Can you try these steps to see if it addresses the issues you are facing? thank you!

→ Find helpful resources to begin your development journey in Getting Started

→ Get the latest information about HorizonOS development in News & Announcements.

→ Access Start program mentor videos and share knowledge, tutorials, and videos in Community Resources.

→ Get support or provide help in Questions & Discussions.

→ Show off your work in What I’m Building to get feedback and find playtesters.

→ Looking for documentation?  Developer Docs

→ Looking for account support?  Support Center

→ Looking for the previous forum?  Forum Archive

→ Looking to join the Start program? Apply here.

 

Recent Discussions