All Questions
Tagged with server-side-rendering node.js
533 questions
-2
votes
0
answers
69
views
How to render <App/> on nodejs server side? [closed]
Given this server.ts code:
import 'ignore-styles';
import register from '@babel/register';
import express from "express";
import fs from "fs";
import path from "path";
...
0
votes
1
answer
33
views
Render Deployment Failed
I deployed my app to render but got the error :
throw new ERR_MODULE_NOT_FOUND(packageName, fileURLToPath(base), null);
^
Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'express' imported ...
0
votes
0
answers
38
views
Search engine result pages not displaying correct titles and descriptions [closed]
We currently have a React application connected to a Craft CMS. We’ve been trying to solve some SEO issues we’ve been running into where our results in search engine result pages have incorrect ...
0
votes
0
answers
7
views
Error: Failed to lookup view "../layout/base.ejs" in views directory "C:\Users\admin\Desktop\app\views"
Issue with Express view rendering in /products route
Folder Structure
app/
├── src/
│ ├── controllers/
│ │ ├── authController.ts
│ │ └── productsController.ts
│ ├── models/
│ ...
0
votes
0
answers
18
views
Failed communication between Nextjs and internal docker services inside a docker network [duplicate]
I am building a password manager app. Here I am using Next JS as frontend and Django as backend framework. I am deploying the whole thing using docker. There are three services frontend, backend and ...
1
vote
0
answers
54
views
Next.js Docker Container Crashes After ~4 Hours: API Timeouts in SSR Pages
I'm experiencing an issue with my Next.js application running in Docker. After approximately 4 hours of operation, the server becomes unresponsive and API calls made during SSR start timing out. The ...
0
votes
1
answer
162
views
Cookies not sent in server request of Angular SSR (v18)
I'm here because I'm frustrated and stuck. I have tried different possible solutions but I can't find my mistake...
I'm using native server side rendering of angular (not Angular Material).
The ...
0
votes
1
answer
52
views
Page Rendering Multiple Times in Next.js (v14.0.1)
I'm developing a new feature in a Next.js project and have encountered an unexpected behavior. The page hosting the component in question is rendering multiple times, even though the props remain ...
3
votes
1
answer
220
views
How to inject nonce from express.js node to angular 19?
According to docs:
Set the ngCspNonce attribute on the root application element as . Use this approach if you have access to server-side templating that can add the nonce both to the header and the ...
1
vote
1
answer
273
views
React 19 prerenderToNodeStream vs renderToPipeableStream with onAllReady
React 19 added new static server APIs, prerenderToNodeStream
Is there any functional difference in using prerenderToNodeStream instead of renderToPipeableStream with onAllReady?
I understand that the ...
0
votes
0
answers
28
views
What is the Best Authorization Technique for SSR Pages in Next.js with a Separate Backend
I am building a Next. js app where the first pages are server-side rendered (SSR). The backend for the app is separate and deals with the business logic and data. So I have to add a strong ...
0
votes
0
answers
126
views
Angular 17 SSR issue wen serving with nodejs on my local
I am trying to implement SSR for my Angular 17 app which migrated from Angular 14 recently. When building for SSR I can see it's building fine for the browser and server both but when trying to serve ...
1
vote
0
answers
52
views
Module parse failed: Unexpected token (1:3)
I build a SSR project using webpack and it runs totally fine. But when I apply SCSS in my project, it give me an error:
ERROR in ./src/client/styles/Calculator.scss 1:3
Module parse failed: ...
0
votes
0
answers
18
views
Node platform exports during SSR
I have a package that declares platform exports in its package.json. I'm using the browser field to point to a entrypoint that is meant for use in browsers.
"exports": {
"browser"...
0
votes
0
answers
104
views
Error EADDRINUSE: Address Already in Use when Running Angular SSR App
I have an Angular SSR application that works well initially. However, when I start my app with npm run dev:ssr, the app compiles successfully, but when I try to change something in my code,
I get the ...