Я следовал многим учебным пособиям, примерам и не могу развернуть угловой сайт на страницах github.Это то, что я сделал после того, как загрузил свой проект:
npm install -g angular-cli-ghpages
ng build --prod --base-href https://Domantas99.github.io/myRepo
ngh
Затем перешел в настройки моего репозитория и в Github Pages выбрал источниккак `gh-pages branch '
В моем терминальном окне после ngh я вижу это
$ ngh
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 { [Error: ENOENT: no such file or directory, stat 'D:\xampp\htdocs\nfq-akademija\dist\index.html']
errno: -4058,
code: 'ENOENT',
syscall: 'stat',
path: 'D:\\xampp\\htdocs\\nfq-akademija\\dist\\index.html' }
� Successfully published via angular-cli-ghpages! Have a nice day!
И на моей странице github к настоящему времени я вижу ошибку 404, файл не найден, даже если я мой 404.html выглядит как index.html в моей папке dist