The Part II could lead to the following issue, which could be caused by the Angualr itself.
index.html could not be copied to 404.html. This does not look like an angular-cli project?!
(Hint: are you sure that you have setup the directory correctly?)
Diagnostic info: ENOENT: no such file or directory, stat 'D:\02 Xiang\Angular\xiangs-website\dist\dist\xiangs\index.html'
There are two parts in this issue.
Part I - Upload code to GitHub
Part II - Build Angular App
Note here the ngh --dir=dist/, repositoryName should be the folder's name under dist folder. (dist folder will be created automatically after Build)
Then go to the https://puddlejumper26.github.io// to check the app
Part III - Problems could happen
The Part II could lead to the following issue, which could be caused by the Angualr itself.
Then check this blog (https://angular.schule/blog/2020-01-everything-github)
Using the following to replace PART II
Reference
https://www.youtube.com/watch?v=8Mle8owZ3_4