GitHub的网站页面无法找到文件(404错误)
问题描述:
在我的GitHub网页的网站,我得到以下错误:GitHub的网站页面无法找到文件(404错误)
我也对另一个仓库同样的问题。
我已经运行install
与npm
,bower
和gulp
已检查所有相关性安装。
所以我写了GitHub的支持,他们告诉我:“看起来你的文件是index.html
正在加载不存在的文件”。
我用yeoman发生器创建了这一切;我没有做任何改变。
如果有人对此有任何意见,请告诉我。
答
404错误是正确的,您的gh-pages
分支上的那些paths do not exist分支为they are required to be为此工作。
| Type of GitHub Pages Site | Pages default domain & host location on GitHub | Publishing Branch |
|--------------------------------------|-------------------------------------------------|-------------------|
| User Pages Site | username.github.io | master |
| Organization Pages Site | orgname.github.io | master |
| Project Page Owned By a User Account | username.github.io/projectname | gh-pages |
| Project Page Owned By an Oganization | orgname.github.io/projectname | gh-pages |
https://github.com/neiromendez/test-reusable,这是我的存储库 – Neiro