Closed
Description
Version info
Angular: 12.2.13
Firebase: 9.5.0
AngularFire: 7.2.0
Other (e.g. Ionic/Cordova, Node, browser, operating system):
How to reproduce these conditions
Failing test unit, Stackblitz demonstrating the problem
Cannot be reproduced inside stackblitz as it's an issue with ng deploy
.
Steps to set up and reproduce
- Create a project that uses @angular/fire, add it using
ng add
- Enable SSR deployment in the configuration prompts
- Run
ng deploy
- Error shows up
Sample data and security rules
Full deploy configuration:
{
"builder": "@angular/fire:deploy",
"options": {
"ssr": "cloud-functions",
"prerender": false,
"firebaseProject": "<projectName>",
"firebaseHostingSite": "<projectName>",
"functionName": "ssr_<projectName>",
"functionsNodeVersion": "16",
"region": "us-central1",
"browserTarget": "guides:build:production",
"serverTarget": "guides:server:production",
"prerenderTarget": "guides:prerender:production",
"outputPath": "dist/guides/functions"
}
}
Debug output
** Errors in the JavaScript console **
Property 'ssr' does not match the schema. 'true' should be a 'boolean,string'.
Expected behavior
The app should build and deploy properly inside the cloud function.
Actual behavior
Builder doesn't start because the schema doesn't match.
Metadata
Metadata
Assignees
Labels
No labels