I was trying to deploy a newly created angular project on render platform by using the static site, but while generating build files I got this issue. If i run ng build in my local machine dist folder is created and there is no issue seen while running the ng build.
Publish directory ng build does not exist!