angular10 Questions
5
I am a beginner in Angular and tried to implement global error handling in the application for this purpose I create appErrorHandler class and implement ErrorHandler and I inject Toast Service on t...
Oversold asked 9/1, 2021 at 16:46
6
I am getting this error Uncaught (in promise): TypeError: Cannot read property 'ɵcmp' of undefined in angular when trying to load the app I just compiled with --prod flag with both optimization and...
Digiovanni asked 16/11, 2020 at 17:52
3
I am following this site and trying to update my project to 11.0 through the following command.
npx @angular/cli@11 update @angular/core@11 @angular/cli@11
Every time I run it, it gives me the fol...
Loftus asked 24/12, 2021 at 17:52
21
Solved
I have an Angular application that I am trying to debug in VS Code.
When I compile and run the application (ng serve) the breakpoints are bound:
However, when I specify a different configuration e...
Sometimes asked 29/10, 2020 at 10:40
3
<ul>
<li data-info="Amount in (₹)">{{depositeAmt}}</li>
<li data-info="Status">
<button class="statusbtn Process" data-bs-toggle="c...
Unlearned asked 6/10, 2021 at 18:57
3
I'm working with angular 10 in VSCode and everything was working fine until today.
Suddenly I can't go to definition from HTML component neither via F12, right click - Go to definition nor Ctrl+cli...
Sandysandye asked 15/1, 2021 at 14:19
14
Solved
I want to use replaceAll in typescript and angular 10.
But I get this error: Property 'replaceAll' does not exist on type 'string'.
This is my code:
let date="1399/06/08"
console.log(date...
Bower asked 27/8, 2020 at 12:57
14
Solved
I want to use replaceAll in typescript and angular 10.
But I get this error: Property 'replaceAll' does not exist on type 'string'.
This is my code:
let date="1399/06/08"
console.log(date...
Fluorspar asked 27/8, 2020 at 12:57
3
We are currently upgrading out project from Angular 8 to 10, and we are running into some trouble with the file replacements during build. We have 2 different stylings with different texts which us...
3
I have integrated the MetaMask with Angular and while opening up the MetaMask extension from the code I am getting this error.
Following is my code for opening up the extension.
I am calling this f...
Rhinoceros asked 24/11, 2020 at 5:34
4
Solved
I have a routed component like this:
From component A: I have an object that was fetched through an API, At the moment I have a button that is redirecting me to Component B.
There is no parent chi...
2
Solved
I'm applying SSR in my project by using Angular 10.
I've found that lot of people recommend using domino.
Below is my server.ts file
...
import { existsSync, readFileSync } from 'fs';
import { cre...
Obumbrate asked 30/1, 2021 at 9:57
3
Solved
Ng serve and ng build --prod command working fine, but when I deploy the app on serve that time below error occurs:-
TypeError: o.Subject is not a constructor
at new e (vendor-esnext.js:1)
at Objec...
1
I am using Angular 10 and imported the CurrencyPipe from '@angular/common' and based on the suggestions found, I implemented the following in the template -
<p>{{Amount | currency}}</p>...
Miskolc asked 5/7, 2022 at 21:50
0
In my Angular 11 project, I am getting the following error when building and serving the project.
(node:15218) UnhandledPromiseRejectionWarning: Error: Symbol LanguageTranslationModule declared in...
Raina asked 20/4, 2022 at 9:33
2
When i sort a column of my mat-table i can no longer extend my rows only about one in two still works. While everything works fine when no sorting is done.
I came across this link : https://github....
Downfall asked 25/8, 2020 at 12:30
1
Solved
I have some common components in my angular 12 application which I am planning to create as an angular library so that other applications can also use it. We have some applications running on lower...
Buffer asked 3/12, 2021 at 11:22
12
Solved
I ran this older 10.0.1 angular project today, and it told me it had a lot of low vulnerabilities and a few high ones. so i ran npm audit fix to fix them.
but now when I try to run it, it gives me ...
1
I have updated the angular application to the latest version, and keep getting the warning message from the @aws-amplify. I know angular 10 doesn't remend to use commonjs. Since the @aws-amplify is...
Dennie asked 10/9, 2020 at 5:53
2
new to angular, I am trying to use ScrollTrigger for horizontal scroll.
It work, but when I serve or build I got the error :
Property 'offsetWidth' does not exist on type 'Element'.
This is the cod...
Waive asked 5/8, 2020 at 13:23
4
I have a basic JSON file in my assets folder of a brand new Angular 10 project.
Angular CLI: 10.0.1
Node: 14.5.0
OS: win32 x64 TSC version 3.9.5.
In my tsconfig.json I have
"compilerOptions&q...
Bataan asked 9/7, 2020 at 20:27
2
Solved
I am getting this error all of sudden in Jenkins build, i tried upgrading to latest Angular that is 10.1 but even after upgrading issue is not resolved. So i rolled back to Angular 10.0, package.js...
5
Solved
I'm trying to update Angular in my project from version 10.2 to 11.0.
Running ng update:
@angular-devkit/build-angular 0.1002.0 -> 0.1100.1 ng update @angular-devkit/build-angular
@angular/cdk...
2
Solved
In my Visual Studio Code editor after last updates I see this text in the status bar:
Angular: Running ngcc for project d:/..../tsconfig.spec.json
It looks like frozen or do nothing a while, just ...
Lafontaine asked 19/2, 2021 at 13:42
1
Solved
I'm using Angular Universal 10 and I want to prerender my site.
I'm confused on the proper build process for a production environment.
Angular gives these two commands:
"build:ssr": "...
Hughett asked 7/2, 2021 at 4:56
1 Next >
© 2022 - 2025 — McMap. All rights reserved.