Category : angular-universal

I have an (external developed) Angular application, which includes also Angular Universal. There are already two different targets / API domains built in this project (referred to as api-url-1 and api-url-2) and I added a third one (referred to as new-api-url). Therefore I added: proxy.config.json: { "/api-1": { "target": "https://api-url-1", "secure": false, "changeOrigin": true }, ..

Read more

I’m currently working on my server side rendering with angular universal. My application currently sometimes breaks during the build process because my docker nodejs container says that my JavaScript heap is exceeded. So now I‘m looking for a way to inspect my code during runtime to avoid memory leaks. Usually I would inspect my nodejs ..

Read more

I have an Angular Universal application with the following Dockerfile: FROM node:14-alpine WORKDIR /app COPY package.json /app COPY dist/webapp /app/dist/webapp ENV NODE_ENV "production" ENV PORT 80 EXPOSE 80 CMD ["npm", "run", "serve:ssr"] And I can deploy it to a Kubernetes cluster just fine but it keeps getting restarted every 10 minutes or so: NAME READY ..

Read more

I have created a SPA: http://vuzopoisk.ru using Angular 7 Universal. The program is deployed into Docker container. The problem is that memory usage of the application is constantly growing and after 12 hours it uses all available memory and gets stuck After searching for possible solutions, found that lazy modules loading and async pipe can ..

Read more