For questions regarding Angular specific to version 15. Please include all relevant tags on your question; e.g., [Angular], [TypeScript], etc.
Questions tagged [angular15]
342 questions
0
votes
2 answers
Angular 15 environment.ts change
Can anyone explain to me why Angular 15 doesn't automatically create the files: environment.ts
I understand this changed from version 14 to 15
More I did not understand the reason for this change, forcing to create manually, a standard thing.
an…

Augusto Almeida
- 3
- 1
0
votes
1 answer
npm install angular material is stuck
node - 16.3.2,
npm - 8.1.2,
Typescript - 4.8.2,
Angular cli - 15.0.4
I created a new Angular app. I'm able to run npm install and add required packages. However, npm install does not work only for Angular Material. When I try to run npm install on…

Shankar Naru
- 163
- 1
- 12
0
votes
1 answer
Typescript error TS2345: Argument of type 'number' is not assignable to parameter of type 'never'
The following Angular Typescript code has an error:
src/app/is-disabled/is-disabled.component.ts:26:89 - error TS2345: Argument of type 'number' is not assignable to parameter of type 'never'.
26 ([allowDenyListed, denyList, selected]) =>…

albertkao9
- 125
- 8
0
votes
1 answer
How do I access a link which I have to input multiple parameters in it on Angular (15)?
I have the following link: "https://api.api-soccer.com/v1/championship/10/stages/168"
I want to access the object inside the ID /168 but first I have to access the ID on /10.
But I don't know how to do it on Angular.
// urls.ts
const BASE_URL =…

Amanda
- 69
- 8
0
votes
1 answer
Pass Specific Parameter to Method Angular 15
I have an Angular 15 app that uses a pipeline generated api-service. In the service I have a method for getting a list of items, but I am not sure how to pass parameters in any order.
public getList(page?: number | undefined, size?: number, type?:…

bjwhip
- 407
- 1
- 9
- 18
0
votes
1 answer
Getting getNgModuleDef error in Angular micro frontend applications with multiple repo
I have created Micro frontend angular applications in different repository.
Shell App - Repository 1
Mf1 App - Repository 2
Shell Webpack.config
output: {
uniqueName: "shell",
publicPath: "auto",
},
optimization: {
runtimeChunk: false,
…

Warrior
- 5,168
- 12
- 60
- 87
0
votes
1 answer
How do you modify the client and api scopes that are predefined in IdentityServer 7 when creating a web app with individual accounts?
I have been stuck on this problem for a few days now. I have a web application being built on .NET Core 7, IdentityServer 7, EntityFramework 7, and Angular 15 and written in C#. The scope in the JWT contains a scope of (MyAppAPI, openid, and…

Ben C
- 3
- 1
- 2
0
votes
1 answer
Angular 15: Get data from hostDirective in component
Is it possible to use directive composition API to provide inputs to component?
@Directive({
selector: '[colorConfig]',
})
class ColorConfigDirective() {
@Input() colorName: string;
}
@Component({
selector: 'my-icon',
standalone: true,
…

Timur Daudov
- 11
- 2
0
votes
1 answer
How can Auth0 be configured to work with Angular Universal SSR starting from the Sample App?
My Angular app using Auth0 with SSR was working fine until upgrade to Auth0 v2.0.1 (as part of upgrade to Angular 15).
There are no compilation errors but the deployed app errors on the server (Heroku deployment)
The error is on app start up and…

Alex Cooper
- 475
- 3
- 7
- 18
0
votes
3 answers
How can I show the arrows of my sorted table according to my sort order in angular?
I have a table that I sort from largest to smallest or alphabetically.
here is the html of the part I'm sorting

greJuva
- 21
- 4
0
votes
1 answer
When integrating angular/fire 7.5 with angular 15, get error Need to provide options, when not being deployed to hosting via source
I am porting an app from angular8 with angular/fire 5.4 to angular15 with angular/fire 7.5. I added the following to my AppModule imports section
import { provideFirebaseApp, initializeApp } from '@angular/fire/app';
import { provideFirestore,…

Pascal DeMilly
- 681
- 1
- 6
- 16
0
votes
0 answers
Error installing with installing @swc/jest inside Angular 15 and Jest
In an Angular and Jest project, we are looking to improve the response times of unit tests. Looking for solutions, everything pointed to using SWC within the project, we have already implemented it, but we received an error in the components when we…

Jan Pereira
- 1
- 2
0
votes
3 answers
Angular material 15 matInput type datetime-local is missing native datetime picker
I'm using in a mat-form-field the input filed (with mat-input) with type "datetime-local" and until Angular 14 there was a button for a native datetime Picker.
But since I upgraded to Angular 15 and did the Material MDC migration this button is…

Raphael Ebner
- 27
- 5
0
votes
0 answers
Unit test breakpointobserver in Angular V15
I have the following component class in angular (v15):
export class MyComponent implements OnInit {
mobileMode: boolean = false;
constructor(private breakPointObserver: BreakpointObserver) {
}
ngOnInit() {
…

Sun
- 4,458
- 14
- 66
- 108
0
votes
0 answers
How to use Angular 15 with Firebase 9 ? [ Error: firebase.auth is not a function ]
Currently, i am facing issue after build run. Locally it's working fine. But firebase not working on build.
Error: firebase.auth is not a function
I have tried many solution but it's not working for me. Anyone can guide to fix this one ?
Version i…

Manoj Ghediya
- 547
- 1
- 7
- 19