I’ve done this before so I really don’t understand why I can’t deploy this Angular project to Github Pages
When I run “ng deploy –base-href=/myproject/” I get the following error:
An error occurred when trying to deploy:
.nojekyll file could not be created. ENOENT: no such file or directory, open ‘C:UserskyleDocumentsmyprojectdistmyprojectbrowser.nojekyll’
I currently don’t have a “browser” directory inside myprojectdist, I tried creating one but it gave me the same result and running the deploy command causes the “browser” folder to get deleted, so I don’t get what the problem is.
Kyle Hochdoerfer is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.