我将按照本教程使用github部署angular应用程序。https://dzone.com/articles/how-to-deploy-an-angular-application-to-github我终于要面对这个错误了

我用来部署应用程序的命令是:-
npm install -g angular-cli-ghpages
$ ng build --prod --base-href https://sahilkatia.github.io/resume/(其中sahilkatia是我的用户名,简历是我的存储库名称)
最后,
ngh -no-silent发布于 2018-09-23 12:00:46
这可能是因为您的简历存储库:
https://github.com/sahilkatia/resume/tree/gh-pages/resume
https://github.com/sahilkatia/resume/blob/gh-pages/resume/index.htmlgh-pages分支应该直接包含简历内容,而不是包含简历内容的文件夹简历
也就是说,您应该能够使用以下命令直接访问index.html:
https://github.com/sahilkatia/resume/blob/gh-pages/index.htmlhttps://stackoverflow.com/questions/52462549
复制相似问题