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
2
votes
3 answers
Angular $localize error after updating from version 14 to 15
After updating our Angular app from version 14.0.4 to version 15.1.3 (also tried 15.1.2 before) we get the following error when trying to access the app:
Uncaught Error: It looks like your application or one of its dependencies is using i18n.…

Recek
- 1,258
- 13
- 16
2
votes
1 answer
Uncaught SyntaxError: Cannot use import statement outside a module - Angular 15
I am using angular 15, where on console I am seeing this error of Uncaught SyntaxError: Cannot use import statement outside a module (at scripts.js:7:1)
This is my tsconfig.json file code
/* To learn more about this file see:…

kim93
- 31
- 2
2
votes
2 answers
Angular 15+ No provider for TemplateRef when structural directive used as hostDirective
There is a possibility to bind standalone directives to component and directive decorator since angular version 15. Is there a way how to use structural directive (injecting templateRef) as hostDirective? It would be super usefull, but as I try…

Eduard Void
- 2,646
- 1
- 13
- 13
2
votes
0 answers
Can't resolve 'node_modules/@angular/cdk/overlay-prebuilt.css'
I've tried to migrate Angular 13 to Angular 15 and after this I get error message:
./node_modules/@app/app-core/theme/app-theme.scss - Error: Module build failed (from ./node_modules/css-loader/dist/cjs.js):
Error: Can't resolve…
user12302787
2
votes
1 answer
Angular 15 / Node 18 proxy fails
I've recently updated my angular-14 app to angular 15 following this migration guide. I upgraded Node from 16.17.0 to 18.10.0 as well.
I've ran npm install and npm start and I'm getting errors when my app sends http requests:
[webpack-dev-server]…

Carla C
- 79
- 5
1
vote
0 answers
Should I update every component as standalone?
I'm a bit confused with the latest Angular update concerning standalone components. I read they are more efficient, but does this imply that every component (mid-size project) should be migrated to being a standalone component?
While it may be more…

FishyK
- 121
- 1
- 7
1
vote
1 answer
Primeng 15 how to override default sort icon in Angular 15
I'm using Primeng 15.4 in Angular 15. Could you help to override the default icon.
I tried the below 2 solutions but nothing was working

ABC123
- 11
- 3
1
vote
1 answer
Active chips without keyManager

Mat
- 113
- 6
1
vote
0 answers
How to render 3d model (GLB or STL format) from server in angular?
In my project , The admin can upload 3D models of products in glb or stl format to the Firebase FireStorage. I want them to render in my project using the link to the file that I get from the Firebase FireStorage.
I'm using angular-stl-model-viewer…

Malik Zain
- 11
- 4
1
vote
2 answers
Apexcharts not shown the Model
Im using my Angular-15 and Bootstrap-5 papplication for the Apexchart
The problem is with open the Model and chart not showing,
If I refresh page and browser zoom out 90% or Zoom in 100% and then chart is is showing. but after refresh chart…

core114
- 5,155
- 16
- 92
- 189
1
vote
0 answers
Jenkins build stuck after running karma tests with angular version 15+
We are building our angular UI via frontend-maven-plugin , After upgrading to angular 15, the build is not moving ahead after the tests. All tests are passed and there s no skipped test.
There is no activity after the ng test.
When we tried the…

anurag
- 82
- 2
- 10
1
vote
0 answers
How to disable Ripple + hover effect from a mat-button in Angular Material 15
I'm using Angular 15 with Material 15 and trying to add a button without ripple effect / any hover effect's.
This used to work in angular material 12:
But now it's still showing ripple /…

Kenny vm
- 31
- 2
1
vote
0 answers
Type Doughnut--> Argument of type 'CanvasRenderingContext2D | null' is not assignable to parameter of type 'chartItem'. Chart js in Angular
I have upgraded the chart.js 2.x to 4.x version.
So I got resolving but when I get declaring the variable for chart
ts file :
let chart= new Chart(
donutCtx, //error here
{
"type":'doughnut',
"data" : dataformat,
"options":{
…

User0777
- 21
- 3
1
vote
0 answers
Ng-neat/hot-toast custom component and passing usual options not working
My project currently use ngneat/hot-toast as our alert message library. It works fine.
but now we need to add some custom attributes in to the alert element due to requirement of cypres test automation. So I make a custom service wrap aroung the…

Rumesh Wishwa
- 56
- 7
1
vote
0 answers
How to apply default theme to ngx-mat-datetime-picker?
I'm using Angular 15, but somehow the ngx-mat-datetime-picker styling got disturbed; I'm not able to see which date has been selected while clicking on the calendar date, but functionality-wise, it's working fine as I'm getting output as per my…

Sumit
- 11
- 1