Skip to content

Problems Publishing to Github Pages #371

Open
@ds17f

Description

@ds17f

Hi! This project is amazing! Great work!

I'm trying to use jsnes-web on a github pages site. I'm doing so with the gh-pages package. I've used gh-pages to successfully deploy a react site in the past.

Prior to deployment I've added a line to the package.json (as per gh-pages instructions)

  "homepage": ".",

I've used the following to build and deploy (from the root of jsnes-web)

npm run build
npx gh-pages -d dist

This appears to work. And if I run

npx serve build

I see a working version of the site (locally). When i browse to the corresponding site though, I get a blank page.

Here's the repo and branch that I'm building from: https://github.com/ds17f/jsnes-web/tree/customize
and here's the GH pages site: https://ds17f.github.io/jsnes-web/

Does anybody have any thoughts on why this doesn't work? I would expect to at least see the main title screen which lets me pick a rom. But instead I get nothing. I've also checked the js console and there's no output worth mentioning.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions