For questions regarding Angular specific to version 14. Please include all relevant tags on your question; e.g., [Angular], [TypeScript], etc.
Questions tagged [angular14]
536 questions
0
votes
0 answers
Upgrading an existing project from Angular 5 to Angular 14
There were some enhancements needed to be done from an old project but my Angular is angular 14 and the project is in Angular 5. I cannot load the project because of the version compatibility issues. I have tried simply everything including deleting…

loki_cap
- 99
- 1
- 4
0
votes
1 answer
Pass validator to child component
I'm using an angular child component that implements ControlValueAccessor with reactive forms. The child component is essentially just wrapping another component with a few extra things. So in the parent, when I do this:

Gargoyle
- 9,590
- 16
- 80
- 145
0
votes
0 answers
Getting CORS error with Google login(OAUTH) API in Angular
Methods I have tried out -
I tried to add 'Access-Control-Allow-Origin': '*' in my header but i get the same result.
Adding proxy.cong.json file in my src folder again same result
Adding https://cors-anywhere.herokuapp.com/ in my API
Getting CORS…

Mrigank Mathur
- 17
- 1
0
votes
1 answer
Cannot be loaded because running scripts is disabled on this system -- ANGULAR V14
When I have to run my Angular project or any ng command, the system shows the below error:
ng : File C:\Users\achra\AppData\Roaming\npm\ng.ps1 cannot be loaded
because running scripts is disabled on this system. For more
information, see…

SmileDev94
- 34
- 5
0
votes
0 answers
Is it possible to publish Angular Elements Library as self contained web components?
I have an angular multi project solution where I have libraries with components. I would like to publish these libraries to NPM but as web components with Angular Elements.
It seems possible to define these as elements in an Angular Application but…

Ms01
- 4,420
- 9
- 48
- 80
0
votes
1 answer
Angular back button in chrome stack router outlet
I'm having an issue (Angular 14) with Chrome and back button of the browser, when return to the previews page (url) it doesn't delete the current page (components in URL), and instead it adds other and stack more and more when continue to press back…

dreis
- 1
- 2
0
votes
1 answer
Alert Message When user logged out Firebase authentication in angular 14
I am using angular 14 with firebase Authentication. I want to alert the message in the home page when users are logged out.
So, does anyone have an idea for this please let me know. Thank you
auth.service.ts
SignOut() {
return…

Shweta Joshi
- 31
- 6
0
votes
1 answer
Angular Route Resolver - multiple return types?
I have a component that I've defined for a route which needs 2 different pieces of data when the component initializes.
The route is configured with a resolver:
{
path: "session/:sessionId",
component: CaptureComponent,
resolve:{
…

Steve
- 646
- 1
- 9
- 23
0
votes
0 answers
I am not able to get the url and not showing any error
I am not able to get the URL and not showing any error Can you help me to generate URL
0
votes
1 answer
Angular Css how to remove border for last child in custom component
I dont want to style border for the last item inside container. how to do this?
I tried
::ng-deep custom-comp .custom-container: last-child {
border-bottom: none; //this is not working
}
…

Mukil Deepthi
- 6,072
- 13
- 71
- 156
0
votes
1 answer
How to Get the ID from html dom in angular14
I m using angular 14, Am tried to get an ID from HTML dom (Html component) in array form .
Manually, I get Id from the HTML component in the TS file but dynamic or in the array is not conveying.
header.ts
toHome() {
const element =…

Shweta Joshi
- 31
- 6
0
votes
0 answers
Why angular.json is removed from Angular 14?
I have created a new angular project with the ng new command.
Angular CLI: 14.2.0
Node: 16.14.0
Package Manager: npm 8.3.1
OS: darwin arm64
Angular: 14.1.3
It has created a project which includes angular.json and the commands ng serve, and ng build…
0
votes
0 answers
convert blob image to normal image in Node and Angular 14
I uploaded the image in mySQL database as BLOB, and other attributes as text using a POST API. While executing a GET API. I am seeing the image as

Tanish Gupta
- 400
- 2
- 8
- 20
0
votes
2 answers
Upgrading from Angular 12 to 14 is failing
I want to update this code to Angular 14 from 12, but ng update isn't working:
https://github.com/PacktPublishing/Reactive-Patterns-with-RxJS-for-Angular/tree/main/Chapter04
npm install fails with:
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to…

Dean Schulze
- 9,633
- 24
- 100
- 165
0
votes
0 answers
Unable to bind form property - Angular 14/Material
Apologies if this has been answered, I've looked around for solutions and haven't found one that works yet.
I'm trying to collect data in a form ngModel to bind the input to DepartmentName but it's not getting the string input in the form:
Morgan Bradford
- 31
- 6

Morgan Bradford
- 31
- 6