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

Starter project not working #108

Open
matdombrock opened this issue Apr 26, 2021 · 0 comments
Open

Starter project not working #108

matdombrock opened this issue Apr 26, 2021 · 0 comments

Comments

@matdombrock
Copy link

I'm on Ubuntu 18.04 serving the files from Apache and testing the front-end on the latest Chrome stable.

I can't get the app to work, all of the pages are 404.

I've confirmed that everything (htaccess, config ect) is working correctly.

As a matter of fact if I clone the main repo instead of the starter it works fine (as expected).

So whatever is going on here really is specific to the starter project.

api.github.com/repos/yourusername/yourrepo/contents/pages?ref=gh-pages:1 Failed to load resource: the server responded with a status of 404 ()
matdombrock.com/:1 Uncaught SyntaxError: Unexpected token o in JSON at position 1
    at JSON.parse (<anonymous>)
    at y.getFileElements (cms.js:2)
    at y.<anonymous> (cms.js:2)
    at XMLHttpRequest.n.onreadystatechange (cms.js:2)
api.github.com/repos/yourusername/yourrepo/contents/posts?ref=gh-pages:1 Failed to load resource: the server responded with a status of 404 ()
matdombrock.com/:1 Uncaught SyntaxError: Unexpected token o in JSON at position 1
    at JSON.parse (<anonymous>)
    at y.getFileElements (cms.js:2)
    at y.<anonymous> (cms.js:2)
    at XMLHttpRequest.n.onreadystatechange (cms.js:2)
cms.js:2 Uncaught TypeError: Cannot read property 'render' of undefined
    at Object.routes.<computed> [as pages] (cms.js:2)
    at CMS.route (cms.js:2)

image

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

1 participant