I am trying to deploy my angular project to git.
I use: ng build --prod --base-href “https://urigross.github.io/urigrossltdWebsite/”
It creates New folder: dist\urigrossltd
First Question: Is new folder name :“urigrossltd” okeay (“urigrossltdWebsite” folder name is repo in git) ?
After that I use: ngh --dir dist/urigrossltd.
It gives error: “Unspecified error (run without silent option for detail)”
So I use: ngh --dir --no-silent dist/urigrossltd
ndex.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 ‘C:\web development\projects\frontend current backup 8 - Copy\urigrossltdWebsite–no-silent\index.html’
�� Uploading via git, please wait…
An error occurred when trying to deploy:
ENOENT: no such file or directory, stat ‘C:\web development\projects\frontend current backup 8 - Copy\urigrossltdWebsite–no-silent’
I know 404.html was not there on ng build command.
How do I contunue from here?
Appreciate any help !