2,872 questions
-1
votes
1
answer
82
views
React-ChartJS-2 Radar chart still showing default point labels even when pointLabels.display is false
I’m building a Radar chart in React using react-chartjs-2 and Chart.js v4.
I want to disable the default black “point labels” (around the circle) because I’m drawing my own custom labels with a plugin....
0
votes
0
answers
53
views
Why does generateStaticParams() in Next.js App Router make a page static (SSG) instead of server-rendered (SSR)?
I’m using the Next.js App Router and trying to understand how rendering type is decided.
In my page, I have both generateStaticParams() and a server component that fetches data:
export async function ...
0
votes
0
answers
47
views
Google Rich Results: Missing field image, description, and invalid price in Product structured data
Problem Description:
I have a Next.js / React product page where I tried to generate JSON-LD structured data for Google Rich Results like this:
<script
type="application/ld+json"
...
0
votes
1
answer
53
views
Tailwind css issue with Next Js 13.4 Version [duplicate]
Facing following issue with Next JS 13.4 version:
It looks like you're trying to use tailwindcss directly as a PostCSS plugin. The PostCSS plugin has moved to a separate package, so to continue using ...
0
votes
1
answer
44
views
solace,medusa js and strapi - fetch error
i tried with copilot but still error
Error: Failed to fetch data
at fetchStrapiClient (rsc://React/Server/file:///home/ihsanu/projects/full_stack/Medusa/solace-medusa-starter/.next/server/chunks/ssr/%...
0
votes
0
answers
42
views
How to show an alert dialog based on a flag from backend
I want to show an alert dialog based on backend flag if user payment is failed/cancelled his subscription
I have this layout which is under src/app/(routes)/(user) and all routes use it
import { ...
0
votes
0
answers
17
views
AdonisJS Session Auth: Always Redirects (302) on Logout in Production with Cross-Domain Frontend
I'm using AdonisJS v6 in API Mode with session authentication (auth.use('web')) and a Next.js frontend deployed on a different domain.
Locally, logout works perfectly and returns JSON, but in ...
0
votes
0
answers
82
views
Deploy Next15 application on IIS server
I have created a nextjs application and want to deploy it on IIS server. Referring multiple docs, I created the following dir structure under iis:
Post deployment and testing in localhost of iis, I ...
0
votes
0
answers
44
views
Metadata not rendering in server-side HTML for social media crawlers
I'm facing an issue with Next.js 15 where metadata defined in layout.tsx (using the Metadata API) is not included in the server-rendered HTML, causing social media crawlers (e.g., Twitter, Facebook) ...
0
votes
1
answer
66
views
Custom expiry time in jwt token in NextAuth
How to set custom expiry time for jwt in next-auth, i want to setup the time based on remember me marked on the frontend, but when setting token.exp in jwt callback nothing happens, the token expiry ...
0
votes
0
answers
29
views
How to fetch session in RootLayout/Header without making the whole app dynamic?
I'm building an ecommerce site using Next.js App Router (v13+). About 80% of my pages are static and ideally should remain static for performance and caching benefits.
However, when I fetch the user ...
0
votes
1
answer
124
views
Prisma can't connect to Supabase PostgreSQL: P1001 Error
I'm trying to connect Prisma to a Supabase PostgreSQL database but keep getting P1001: Can't reach database server errors. Here's my setup:
Environment
OS: Windows 11
Tools: Prisma (+ Node.js), ...
0
votes
1
answer
232
views
Payload CMS UI fields with i18n, does not accept translate function
I am trying to add payloadcms/translations from payload to my cms written with payload cms and next,
"@payloadcms/translations": "^3.42.0",
"@payloadcms/ui": &...
0
votes
0
answers
65
views
Prisma migrate fails: "database 'prisma_migrate_shadow_db_xxx' is being accessed by other users" when running npx prisma migrate dev with NeonDB
I'm using Prisma with a NeonDB PostgreSQL database. When I run:
npx prisma migrate dev --name add-base-model
I get this error:
Error: db error: ERROR: database "prisma_migrate_shadow_db_a190f3fb-...
0
votes
0
answers
50
views
Rendering single band in geoserver layer containing multiple bands
I am using Geoserver to serve multiband layer. This layer contains 12 bands one for each month (named Band1, Band2, Band3,...). I want to render data of only 1 band in my application. I am using ...