Skip to main content
2 votes
0 answers
194 views

Angular Universal (19) SSG and SSR Hybrid, does not serve static files

I'm playing with new ( v19 ) Universal. Im trying to use Hybrid approach, so some pages like home, about, products would be prerendered in build time ( SSG ) while 'dynamic' pages like checkout or my-...
Kamil's user avatar
  • 41
0 votes
1 answer
40 views

Which one is @angular-devkit/build-angular:application equivalent in @angular-builders/custom-webpack

We have requirement to hide environment variables which are comes together in build files in angular application. We found solution using @angular-builders/custom-webpack and dotenv libraries when ...
user1606761's user avatar
1 vote
0 answers
18 views

Angular Universal does not add the necessary files

I try to use the command ng add @nguniversal/express-engine, but I only get this message: Skipping installation: Package already installed NOT SUPPORTED: keyword “id”, use “$id” for schema ID and no ...
Dominik Modrzejewski's user avatar
1 vote
2 answers
369 views

How to set providers in Angular v19 SSR?

In Angular <19 I used such code to specify the providers: // All regular routes use the Angular engine server.get('**', (req, res, next) => { const { protocol, originalUrl, baseUrl, ...
Sergej's user avatar
  • 2,166
1 vote
0 answers
28 views

Angular Universal Hydration HttpTransferState always using cache

We have encountered a strange error in one of our projects. On our live server one GET request suddenly started to always return an empty value. On our test server everything worked fine. We found out ...
Ben5's user avatar
  • 863
1 vote
1 answer
107 views

ng generate universal issue with run command

I am using new @angular/cli 18.2.5. I did: ng new my-app Next: ng add @nguniversal/express-engine I got error "NOT SUPPORTED: keyword "id", use "$id" for schema ID") ...
Silny ToJa's user avatar
  • 2,251
0 votes
0 answers
50 views

Angular server side renders pages multiple times after navigating to it and from it

Angular 18, i build my app with npm run build --configuration docker which triggers angular default builder : "builder": "@angular-devkit/build-angular:application", I have ssr ...
PokerJoker's user avatar
0 votes
1 answer
158 views

angular 17 SSR lazyloading modules not working

after update my angular app from version 10 to version 17, i add SSR using @nguniversal/express-engine and express to this project and it work in build and run ssr on port 4000 , but when i navigate ...
sahar omidi's user avatar
0 votes
0 answers
63 views

How to create a dynamic sitemap in Angular?

I created a dynamic sitemap in my Angular project, but the last modified of all pages changes in each build. I just want the last modified of the page I made changes to change. How do I do this? const ...
user27023959's user avatar
1 vote
0 answers
21 views

JavaScript Animations with Angular Universal Prerendering

I'm new to Angular (and Angular Universal) and need some information. I'm particularly wondering how the JavaScript code of my Angular application is managed in the prerendered version. I currently ...
Antoine Guil's user avatar
0 votes
1 answer
64 views

angular 13 SSR, assign a value to a property in onInit, causes ngOnInit() to be called multiple times

In app.component.ts, I assign a value to a property in onInit, and it used in html. data:any = []; ngOnInit() { this.service.getData().subscribe(res => this.data = res); } Any idea why ...
user26571055's user avatar
0 votes
0 answers
108 views

Angular SSR guard and resolver functions are executed on both, client and server

I'm building an SSR Angular app (with provided hydration) and I'm using Resolver and Guard functions. I noticed that they are running on both the server and the client. I believe that it is redundant ...
Martin's user avatar
  • 66
3 votes
1 answer
2k views

socketio-client causing "Internal server error: Page / did not render in 30 seconds" in Angular 18

I'm working on an Angular application where I use socketio-client within a SocketService. However, I encounter the following error when attempting to use the socket connection in the service ...
Azoulay Jason's user avatar
0 votes
0 answers
52 views

Angular universal routing issue

i have problem with Angular Universal when i load homepage http://localhost:85 page loads but in view source i get <body class="h-100 v-robots"> <app-core class="h-100"...
somczyq's user avatar
0 votes
0 answers
92 views

Build Tailwind Style into index.html with Angular

I'm working on an Angular project with tailwind inline style, currently when I build the project, it will create a styles.css file and add the link to the index file <link rel="stylesheet"...
James's user avatar
  • 1

15 30 50 per page
1
2 3 4 5
118