the error I keep getting is “Error: Assertion failed: resolving hosting target of a site with no site name or target name. This should have caused an error earlier”. I checked with my boss and he says the firebasesrc
is the right id and we have been making changes to the firebase.json
but have not been able to get a passing pipeline.
as i mentioned above we changed the firebase.json
file a few times. (tried adding needs, dependencies, and cache) We also tried to re-initialize hosting. We are currently trying to deploy locally.
this is what the firebase.json
looks like currently:
{
"hosting": {
"public": "public",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"rewrites": [
{
"source": "**",
"destination": "/index.html"
}
]
},
"storage": {
"rules": "storage.rules"
}
}