Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
36 views

I'm using Next.js 15.2.1 with the App Router. I noticed that when I navigate to a page, my loading.tsx file is not triggered, and neither is React Suspense, if the page makes an _rsc request. For ...
ferwtqe's user avatar
1 vote
0 answers
85 views

How do I properly initialize the Firebase Admin SDK with environment variables in Next.js / Node.js? I'm trying to initialize the Firebase Admin SDK in a Next.js project using the environment ...
Moha C.'s user avatar
  • 11
1 vote
0 answers
63 views

I have 10k+ lines of global CSS in a NextJS project. Does this affect the LCP, as in mobile? I have tried a lot of optimizations, like adding priority for LCP images, adding lazy loading for other ...
Iqbal's user avatar
  • 1
0 votes
0 answers
54 views

I'm trying to create a modal using intercepting routes and parallel routing, and am confused if i should go with the basic way or use create portal function. The code looks something like this if i ...
m112120's user avatar
  • 31
0 votes
0 answers
57 views

I'm a newbie to Next.js and module federation, and I'm working on an exercise (let's call it that) where I have a web component bundled with Webpack 5 in a federated module, and I want to import it ...
alvostrues's user avatar
0 votes
0 answers
20 views

Problem After uploading new trade files through an "Upload New File" dialog, the trade reconciliation table shows stale data from the previous upload instead of the updated data. The table ...
J_Max's user avatar
  • 35
0 votes
0 answers
23 views

We currently have a nextjs app with a server that doesn't do much. We basically have a bunch of static pages and the server just reads environment variable to configure the app. We would like to ...
Simon Bergot's user avatar
  • 10.6k
1 vote
1 answer
100 views

I have a Next.js application on Vercel. My API route fails when calling Firestore's doc() function, but only when deployed to Vercel or when running the production build locally. The dev server (npm ...
Matthew Helker's user avatar
0 votes
1 answer
47 views

I have a layout like this: export default async function ClientLayout({ children, }: Readonly<{ children: React.ReactNode; }>) { return ( <> <Header />...
Dmytro's user avatar
  • 75
0 votes
1 answer
144 views

I am using Supabase and NextJS in my app to implement authentication but the majority of my auth actions are server side with the exception being the sign-out action as the Supabase docs advise using ...
frzzled's user avatar
  • 92
0 votes
1 answer
56 views

I'm building an e-commerce site with Next.js 14 (App Router) and React 18. Website: https://parfumedeparis.az The issue The problem happens only on this page: https://parfumedeparis.az/az/store?page=...
Asgar's user avatar
  • 449
0 votes
0 answers
44 views

I have a monorepo project with a Flask backend (deployed separately) and a Next.js frontend located in a frontend directory. I'm trying to deploy only the frontend on Vercel. Project Structure: text ...
Alu's user avatar
  • 45
0 votes
1 answer
76 views

this is my layout: export default async function ClientLayout({ children, }: Readonly<{ children: React.ReactNode; }>) { return ( <> <Header /> ...
Dmytro's user avatar
  • 75
1 vote
1 answer
76 views

I want my subdomain sub.example.com to render the page example.com/brand without changing the URL. Examples sub.example.com/ should render example.com/brand sub.example.com/work should render example....
Etemire Ewoma's user avatar
1 vote
0 answers
129 views

I'm getting this error in NextJS (15.3.4) randomly while in dev mode, it often occurs when navigating from one page to another, but I can't seem to reproduce consistently. It seems like an issue with ...
PedroDalla's user avatar
2 votes
0 answers
144 views

According to the official Inngest documentation, I’m setting up Inngest with a Next.js App Router project using the Bun runtime. I followed the installation steps exactly as described. However, when I ...
Grenish Rai's user avatar
0 votes
0 answers
36 views

I have a next.js app that sends a delete request to the ERPNext backend from the next.js application. The issue occurs on production only (i.e. the deployed next.js app) but works flawlessly on local. ...
Aizaz's user avatar
  • 15
1 vote
1 answer
404 views

I'm building a Next.js 14 (App Router) application using Clerk for authentication and Supabase for the database. Despite following the latest integration guides, I'm stuck on a persistent 42501 ...
Nelson Uprety's user avatar
0 votes
1 answer
223 views

I’m building a multi-tenant SaaS application with Django Ninja as the backend and Next.js as the frontend. I’m running into a problem around handling RBAC permissions and org-level feature ...
Tejas's user avatar
  • 37
0 votes
1 answer
80 views

I have completely different layouts for static pages, auth pages (login, signup), and dashboard. I use the app router, and Next v15. When I was working on an old project using Next v14. I remember ...
Yush Shrestha's user avatar
0 votes
0 answers
48 views

While working on a modular Next.js-13 app, I ran into one persistent challenge: plugin-based component overrides. The Setup We structured the app like this: /components/singleNews /plugins/social-...
anwar's user avatar
  • 428
0 votes
1 answer
287 views

I’m creating a reusable component library with tsup to share common UI elements across my Next.js projects (for example, a Footer). The Footer works fine in my base app. But when I publish it as an ...
Muhammad Sikandar Subhani's user avatar
2 votes
1 answer
188 views

I'm using Typescript 5, Next.js 15, tRPC 11, React Query 5 and React 19. How can I programmatically differentiate between DecoratedMutation<...> and DecoratedQuery<...>? I have tried: ...
his dudeness's user avatar
0 votes
0 answers
69 views

I am using Nextjs 14 with the app router and I have some environment variables in my .env.local file: NEXT_PUBLIC_API_URL=https://myapi.com SECRET_KEY=mySecret Inside my app, I need to access them: //...
Santiago Gómez de la Torre's user avatar
0 votes
0 answers
65 views

tRPC when used on client side with .useMutation() hook sends duplicate Transfer-Encoding: chunked header Link to reproduction: https://github.com/DownDev/trpc-bug To reproduce run using: docker ...
Miki 15's user avatar
0 votes
1 answer
67 views

I had a Next.js page that fetches content from WordPress (Pods) and caches it for 5 minutes: // helper const data = await wpFetch<Content[]>( process.env.WP_PAGE_CONTENT_URL!, { revalidate: ...
Etemire Ewoma's user avatar
0 votes
0 answers
59 views

I know nothing about code. I have been using the Firebase Console AI to help me build a website. I'm amazed it's working out to be honest, but I have hit a wall. For reasons specific to the app I am ...
The Outland Tavern's user avatar
0 votes
1 answer
245 views

This is the error it's giving when I run npm run build: ml@M-----MacBook-Air skyfold.dev % npm run build > [email protected] build > next build ▲ Next.js 15.4.6 - Environments: .env ...
DwangML's user avatar
0 votes
1 answer
36 views

I am trying to get ag-charts to work with nextjs v15 using ag-charts-react. This works without any issues using react. Working Example with React However when i try to get this working inside a nextjs ...
Jamie Hutber's user avatar
  • 28.2k
1 vote
1 answer
294 views

I've been working on a project on Next.js 14.1 using Supabase. I also use Supabase Auth for session and cookies storage. There is an error that happens really often and I haven't found a real solution ...
Gaston Jacinto's user avatar
0 votes
0 answers
62 views

I'm working on a Next.js project and have a GA4 property set up to track my website's performance. The main issue is that my GA4 dashboard is collecting traffic data from my local development and ...
Rafay Rashed's user avatar
0 votes
1 answer
127 views

I’m using next-auth with the JWT session strategy and running into a problem with cookie size when storing multiple API tokens. Here’s my JWT callback: async jwt({ token, user }) { if (user) { ...
Sanjay's user avatar
  • 1
1 vote
0 answers
91 views

I'm trying to use a centralized NAV_LINKS constant to define my protected routes for a Next.js middleware. The goal is to avoid repeating the route paths in both my component and the middleware config....
Andre wijaya's user avatar
1 vote
1 answer
164 views

The layout and design is different in production mode and some components are not visible even though they are there in dev mode and when I npm build, as well as when I inspect them on browser. ...
yoenuts's user avatar
  • 53
1 vote
2 answers
121 views

I am trying to use the cursor utility, my code is as following: <button className="border-8 cursor-pointer bg-primary w-max flex gap-2 text-white py-4 px-6 text-2xl font-semibold"> ...
Yush Shrestha's user avatar
0 votes
0 answers
23 views

The problem I am running into is that the local typecheck is OK, but the Vercel deployment typecheck is failing: "@chakra-ui/react": "^3.25.0", "@emotion/react": "^...
Phil Lucks's user avatar
  • 4,152
0 votes
1 answer
151 views

My application uses Auth.js (NextAuth.js v5) to authenticate. In local, it works fine, but when deploying to Vercel problems arise with the "middleware function size". I tried to "...
Leocruz 's user avatar
1 vote
0 answers
42 views

I’ve deployed an NFT Collection contract on Polygon using thirdweb. The contract address is: 0xb853a16bfb7561ED1bf33B080726cb487bdD9006 What works: The contract and minted NFT are visible in the ...
Tom Perry's user avatar
0 votes
0 answers
55 views

I have a nextjs (15.3.1) application entirely based on dynamic routes, this is the output when I build it: Route (app) Size First Load JS ┌ ○ / ...
ste's user avatar
  • 3,289
1 vote
0 answers
50 views

Here's my code: import i18n, { type InitOptions } from 'i18next'; import { initReactI18next } from 'react-i18next'; import LanguageDetector from 'i18next-browser-languagedetector'; import ...
Hyunwoo Lim's user avatar
1 vote
1 answer
156 views

I've copied directly from the document, but the color is still not showing up. I'm using Tailwind v4 with Next.js. In my global.css: @import "tailwindcss"; @theme { --color-bermuda: #...
Chris Nalusaku's user avatar
5 votes
3 answers
156 views

I'm currently building my portfolio and im making a typewriter effect for some text : "use client" import { useEffect, useState } from "react" type Typewriter = { textToWrite: ...
Rayan's user avatar
  • 47
0 votes
1 answer
118 views

I want to be able to authenticate users with Oauth and protect the API endpoints with Basic authentication. How can I achieve this? My currently configuration doesn't work, unless I remove the Basic ...
dascolagi's user avatar
  • 157
1 vote
1 answer
622 views

I am using Shadcn Form which uses React-Hook-Form and Zod Resolver, The problem is when i submit the form by clicking the button while making the input incorrect for testing (Putting 1 char on 2 char ...
Prajil K's user avatar
  • 130
0 votes
0 answers
46 views

I am working with a NextJS project that needs to access a graphql API. I am using the nextjs app router and am trying to follow the best practices outlined here https://github.com/apollographql/apollo-...
Ty Nielson's user avatar
0 votes
0 answers
53 views

I'm having a problem with my Next.js project (version 15.3.1). I have a page.tsx that looks like this: import Search from '@/presentation/flows/search'; interface SearchPageProps { searchParams: ...
Guilherme Matos's user avatar
0 votes
1 answer
45 views

I'm using Cloudinary SDK v2 in a Next.js (Node.js) API route. When running locally it works fine, but after deploying to Vercel I get this error: Must supply sdk_semver I searched extensively but ...
lauti's user avatar
  • 2
0 votes
0 answers
207 views

Here is my user case: a MediaStreamAudioSourceNode object, a AudioWorkletNode object, a Web Worker for ricky123 VAD process. The local mic audio (or remote peer audio) is streamed to the ...
user30919975's user avatar
0 votes
1 answer
173 views

’m building a flight booking system in Next.js (App Router) and I want to use Server-Side Rendering (SSR). However, I’m running into some issues with API calls, cookies, and state management. What I’...
Muskan wbst's user avatar
0 votes
0 answers
47 views

I get these errors when I try to build my nextjs project static/chunks/36443.1f4a0592caf86eec.js from Terser invalid unicode code point at line 1 column 454144 I tried removing node_modules and ...
Konul Memmedova's user avatar

1
3 4
5
6 7
844