Dev server error is present when template error is fixed #39147
Labels
area: compiler
Issues related to `ngc`, Angular's template compiler
freq3: high
P3
An issue that is relevant to core functions, but does not impede progress. Important, but not urgent
type: bug/fix
Milestone
The issue is caused by package @angular/....
Description
Dev server error is present when template error is fixed
🔬 Minimal Reproduction
install the latest version of @angular/cli
I am using
create a brand new app like
In app.component.html, copy and paste the following line inside of the main content div:
Change the first double quote to single quote to cause the template error. Then change it back to double quote to fix it.
In the terminal, these errors are shown:
You can read more about issue submission guidelines here:
🌍 Your Environment
It's a brand new angular app as of 10/6/2020:
"dependencies": {
"@angular/animations": "~10.1.4",
"@angular/common": "~10.1.4",
"@angular/compiler": "~10.1.4",
"@angular/core": "~10.1.4",
"@angular/forms": "~10.1.4",
"@angular/platform-browser": "~10.1.4",
"@angular/platform-browser-dynamic": "~10.1.4",
"@angular/router": "~10.1.4",
"rxjs": "~6.6.0",
"tslib": "^2.0.0",
"zone.js": "~0.10.2"
},
"devDependencies": {
"@angular-devkit/build-angular": "~0.1001.4",
"@angular/cli": "~10.1.4",
"@angular/compiler-cli": "~10.1.4",
"@types/node": "^12.11.1",
"@types/jasmine": "~3.5.0",
"@types/jasminewd2": "~2.0.3",
"codelyzer": "^6.0.0",
"jasmine-core": "~3.6.0",
"jasmine-spec-reporter": "~5.0.0",
"karma": "~5.0.0",
"karma-chrome-launcher": "~3.1.0",
"karma-coverage-istanbul-reporter": "~3.0.2",
"karma-jasmine": "~4.0.0",
"karma-jasmine-html-reporter": "^1.5.0",
"protractor": "~7.0.0",
"ts-node": "~8.3.0",
"tslint": "~6.1.0",
"typescript": "~4.0.2"
}
The text was updated successfully, but these errors were encountered: