Top "Angular11" questions

Questions about Angular version 11, the web framework from Google.

Why am I getting "no exported member" errors when attempting to upgrade Angular?

The issue I am trying to upgrade from Angular V9 to V11 and I'm struggling quite a lot with the …

angular typescript npm package.json angular11
TypeError: Jest: a transform must export a `process` function

Recently upgrading my app to Angular 11. Jest has been set up as the default testing framework. Running npm test results …

angular jestjs ts-jest angular11
TS2339: Property 'text' does not exist on type '{}'

I am actually facing this line problem :- <input [(ngModel)]="question.text" name="question" matInput placeholder="Question">here .…

angular typescript angular-material angular11
Angular 11 Inlining of fonts failed

Trying to build angular11 app in a system behind proxy. When running "ng build --prod" I get this error: Inlining …

angular angular11
Error: The Angular Compiler requires TypeScript >=4.0.0 and <4.1.0 but 4.1.2 was found instead

While migrating and existing app to Angular 11, I'm facing the following error: Error: The Angular Compiler requires TypeScript >=4.0.0 and &…

angular typescript angular11
Angular 11 Unit Test Code Coverage is Now Breaking

Prior to upgrading to Angular 11, I ran my unit tests with code coverage via the following command: ng test --project …

unit-testing angular-cli karma-jasmine angular11 karma-coverage
Chart.js Types of property 'type' are incompatible. Type 'string' is not assignable to type '"line" | "bar" | "scatter"

client:159 src/app/analytics-page/analytics-page.component.ts:211:26 - error TS2345: Argument of type '{ type: string; options: { responsive: boolean; }; data: { …

javascript chart.js angular11