When I try to upload the project to GitHub Pages, I get a 404 error when loading the index file, followed by an email from GitHub:
The page build failed for the master branch with the following error:
The variable {{a} on line 50 in node_modules/balanced-match/README.md was not properly closed with }}. For more information, see https://help.github.com/articles/page-build-failed-tag-not-properly-terminated/.
For information on troubleshooting Jekyll see:
https://help.github.com/articles/troubleshooting-jekyll-builds
If you have any questions you can contact us by replying to this email
I managed to fix this error after reading up on the following links. This is a common problem with Jekyll:
juliangruber/balanced-match#22
EarthlingInteractive/aframe-geo-projection-component@f06ab2e
I fixed the error by changing the .gitignore file to the following, (BEFORE uploading it as a new repository to GitHub):
may I suggest changing the .gitignore file, or to highlight this issue in the ES6-Tutorial instructions, incase someone else wants to upload it to GitHub pages.
edit: If the repository is already uploaded with node_modules you could untrack node_modules with the following git command at the repository folder:
git rm --cached node_modules -r