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

The page build failed for the master branch with the following error #5

Open
mgifford opened this issue Mar 29, 2020 · 5 comments
Open

Comments

@mgifford
Copy link
Contributor

mgifford commented Mar 29, 2020

I got this error from Jekyll when pushing this to Github:

The page build failed for the master branch with the following error:

The submodule registered for ./elementary could not be cloned. Make sure it's using https:// and that it's a public repo. For more information, see help.github.com/en/github/working-with-github-pages/troubleshooting-jekyll-build-errors-for-github-pages-sites#invalid-submodule.

I assume this is because "http://rubygems.org" is used rather than source "https://rubygems.org".

@abhn
Copy link
Owner

abhn commented Mar 29, 2020

Yes, let's see if it comes up again. I'm hosting on netlify, so I don't see any errors/warnings. I'll pull your PR and check if I can fix that build failure error

@mgifford
Copy link
Contributor Author

I've been looking around and one possible suggestion was modifying the .gitmodules to use https. I can't see why this would be different.

[submodule "elementary"]
        path = elementary
        url = https://github.com/abhn/Elementary.git

But it seemed to nudge me ahead to this error:

The page build failed for the master branch with the following error:

Your SCSS file elementary/assets/main.scss has an error on line 1: File to import not found or unreadable: main. For more information, see help.github.com/en/github/working-with-github-pages/troubleshooting-jekyll-build-errors-for-github-pages-sites#invalid-sass-or-scss.

@abhn
Copy link
Owner

abhn commented Mar 29, 2020

Aah, that's weird. Especially because it runs fine locally and on Netlify. Thank you for letting me know

@abhn
Copy link
Owner

abhn commented Apr 5, 2020

Okay, so I discovered that this is also a way to do it: https://github.blog/2017-11-29-use-any-theme-with-github-pages/ basically just involves adding a remote_theme: abhn/Elementary to the config. It seems to get rid of the error, but then I'm not sure how is one supposed to run it locally.

In my personal site, I've added both theme and remote_theme. Not ideal, but works.

@mgifford
Copy link
Contributor Author

mgifford commented Apr 5, 2020

All these little things.. Thanks for circle back with this.

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

2 participants