All Questions
Tagged with vercel server-side-rendering
61
questions
1
vote
1
answer
19
views
Angular 18 SSR Vercel issue with 404
I can't make my 404 page using Angular SSR deployed on Vercel Serveless Function
When accessing a bad url supposed to be 404 have this error This Serverless Function has crashed. its a 500 internal ...
0
votes
0
answers
12
views
vercel Serverless Function has timed out
I'm working on a Next.js project where I need to fetch markdown files from a GitHub repository using an API route. The API route fetches and processes the markdown files, then returns the data to be ...
0
votes
0
answers
17
views
How can I deploy SSR React Application on Vercel?
I have a react application where I am using vercel serverless apis to send emails and text messages. I want to server side render my application mainly for SEO. Previously, I've managed SSR by keeping ...
-1
votes
0
answers
14
views
Optimizing Server-Side Caching and Rendering of Dynamic Menus in a Multi-Tenant Food Commerce System Using Next.js
I am working in a multi tenant food commerce project. Using nextjs (page router) for frontend and deploying a single project on vercel. Restaurant owners will be connecting their domains in the same ...
0
votes
0
answers
17
views
Some pages of the site return 500, SEO from Google Search Console does not index
I have build this site, and want to index each project on this page.
https://www.silkysound.no/projects
But Google Search Console returns 500 status on these pages.
For example this project: https://...
1
vote
0
answers
63
views
How to Improve SSR Page Load Times in Next.js Hosted on Vercel?
I'm new to Next.js and facing some issues with page load times. I have pages using Server-Side Rendering (SSR), and when I click on these pages for the first time, it can take more than 5 seconds to ...
0
votes
0
answers
84
views
Next.js 14 Vercel + Stripe: Error occurred in the Server Components render. Message is omitted in production builds to avoid leaking sensitive details
utils/actions/stripe.ts is a file that holds my stripe checkout function and manageBilling (for cancelling subscription)
"use server";
import Stripe from "stripe";
const stripe = ...
0
votes
0
answers
79
views
Astro with Tailwind and Flowbite does not work when deploy
I created a new Astro project with tailwind and I'm using Flowbite as a component library.
On localhost, everything works perfectly but when I try to deploy to Vercel with mode 'server' or 'hybrid', I ...
1
vote
1
answer
121
views
getting JSON.parse error only while deploying it on vercel but works fine on localhost
This is working fine on localhost but i am facing error while deploying it to vercel
the errors i am getting
0
votes
2
answers
246
views
Vercel - Showing 404 Page Not Found When Deploying Vite SSR
I just tried deploying my Vite SSR React project, the build ran successfully but when it came to the deployment I ran into and issue. Here, take a look:
It runs fine on my local machine when I use ...
0
votes
0
answers
330
views
How to deploy a Vite + React SSR application on Vercel?
I am trying to deploy a Vite app on vercel which is using express to do SSR.
The express server runs successfully, vercel however doesn't deploy the built files (dist/server and dist/client, see the ...
0
votes
0
answers
498
views
Is it possible to fetch data using a server function in client side NextJS 14 runtime
I am wondering about the various data fetching mechanism given by the NextJS. In my application I have a server side function called fetchAHistory() and it is fetching history document data from the ...
0
votes
0
answers
81
views
Is it possible to share a react query `QueryClient` between serverless functions in nextJS?
We've recently inherited a nextJS project which is making far too many API calls to prismic, and are at threat of being bumped up to an extortionate costing if we don't get on top of it.
One of the ...
0
votes
0
answers
68
views
What is the serve:ssr script for, if the browser displays html in the source code anyway? I just made a project with ng new --ssr
What is the serve:ssr script for, if the browser shows html in the source code? When I didn't use ssr in Angular 16 it didn't show it, now it shows it, shows it even when I fetch data via the API, ...
0
votes
1
answer
131
views
Adding vercel.json breaks Vercel deployments
Adding a vercel.json file with the following cron job breaks Vercel deployments on master in my SvelteKit project.
{
"crons": [
{
"path": "/api/cron",
&...