621 questions
0
votes
1
answer
22
views
How to fetch data in server side and use in client component of app/page (root page - client)?
I want to fetch some data in server component and pass down to client component in app/page.jsx.
I tried making page.jsx server component but it throws error as children are client component.
Tried ...
0
votes
1
answer
18
views
How to read environment variables server-side in NextJS
Using NextJS v14 with the app router paradigm. I have tried two different high-level approaches to reading environment variables in server-side code, and neither worked. How can I achieve this without ...
0
votes
0
answers
14
views
Next.js Middleware Redirect to "/Verify-Captcha" Causes Page Load Issues and Unexpected token '<' Error
I am using Next.js 14 and have implemented middleware to redirect users to the route /Verify-Captcha when the response status is 429. However, while the redirect works, the page does not load ...
0
votes
0
answers
38
views
How to integrate trading view with custom data feed in react?
I am trying to integrate trading view chart with my custom data to build candle chart. But, all I see is wrong candle chart data. Below is what I have tried
declare global {
interface Window {
...
1
vote
0
answers
51
views
How can I fix this NPM error when trying to install NextJS?
When trying to install NextJS latest version by this code
npx create-next-app@latest
I am facing the following error:
An error occurred
npm ERR! code ERR_SSL_CIPHER_OPERATION_FAILED
npm ERR! ...
0
votes
1
answer
34
views
How to set redirect URL with Supabase Auth after OAuth login & PKCE handling (Next.js 14/App Router app)
In my Next.js 14 app with Supabase Auth, I have social login enabled using Supabase's signInWithOAuth method as an server action. This is Server-Side Auth, so I use the PKCE flow by calling ...
0
votes
0
answers
30
views
Problem with Tailwind CSS and PostCSS Configuration - Tailwind doesn't applied plugins
Problem Description
I added tailwind-animation and a custom plugin to the Tailwind CSS configuration, but the classes generated by the plugin are not visible in the CSS file. IntelliSence suggests ...
-1
votes
0
answers
31
views
Next.js 14 use yt-dlp and send to the client whatever yt-dlp has downloaded
I'm working on a Next.js project that includes yt-dlp inside and I'm not sure how do I actually do it
I've tried pretty much a ton of stuff, going through reddit, stackoverflow, etc. but none of them ...
0
votes
0
answers
24
views
RevalidatePath only fires once in server side action
So, I am very new to NextJS and I was building an app where a user can sign in and perform CRUD operations relative to the user or even the user himself.
The architecture I was following (and I don't ...
-1
votes
1
answer
34
views
<Link> always push to https
I am using Next.js 14.2 app router.
in one of my pages i am using
"use client";
import React from "react";
import { useRouter } from "next/navigation";
export default ...
0
votes
0
answers
14
views
in nextjs 14 how to develop a singleton fontpicker which allows user to select and change font in all pages
in nextjs 14 how to develop a singleton fontpicker so that selected font can be set for all elements below tag ?
i added nextproject/app/ui/fontpicker.js in nextjs example project but it stops ...
0
votes
0
answers
23
views
Error: async/await is not yet supported in Client Components, only Server Components in Next.js
I’m working on a Next.js 14 project and encountering an issue where I receive the following error intermittently:
Error: async/await is not yet supported in Client Components, only Server Components. ...
-1
votes
2
answers
25
views
Nextjs API Integration is not working, error 404
Really suffering here and I do not know wherelse to go. I have been for days trying to integrate my local nextjs 14 app to the strapi API, but no matter what I always get a 404 error, and in the ...
0
votes
0
answers
14
views
I'm trying to download file like pdf, csv which are store in s3 bucket. Downloading of this media is not working after deployment on amplify
When i'm adding the bucket link in anchor tag it showing access denied on deployment while getting downloaded locally. project is build on next 14
I have also update the rewrite and redirect in app ...
0
votes
0
answers
111
views
upstream image response failed for..., "url" parameter is valid but upstream response is invalid - NextJS ImageError
I will be very thankful for any thoughts or ideas about this problem!
In my Next.js 14 project, I'm building a chatting application using Getstream (SDK/API). I'm working on a component to display ...