I want to deploy my angular project in github.
I get this error:
I try to build in dist directly but nothing. any help will be approciated
****Edit:
I try run git remote set-url.. and ngh --no-silent
currently I get this:
I guess it's related to dist folder according this line:
'C:\\Users\\user\\Desktop\\Yaffa\\todo-list\\dist\\index.html'
but I ran ngh --dir=dist/todo-list
and in angular.json
file have: "outputPath": "dist/todo-list",
so I could't understant what wrong
after a lot of search..
what I did was:
fatal: HttpRequestException encountered
" error).angular.json
the line to: "outputPath": "dist/"
and copy all the files to dist folder directly. in cmd ran:
ngh setup
ngh --no-silent --dir=dist/
hope it is help