I've just created a new Firebase project, and I'm trying to get my Angular app hosted properly but I'm getting Hosting site or target partwizard not detected in firebase.json when I try to run ng deploy.
I'm following the steps on the official Angular docs here: https://angular.io/start/start-deployment#hosting-an-angular-app-on-firebase
My dist folder that is built on ng build --prod is dist/projectName, I've tried using
{
"hosting": {
"public": "public",
]
}
}
and
{
"hosting": {
"public": "dist/projectName",
]
}
}
and
{
"hosting": {
"public": "dist",
]
}
}
But none work.