Typescript error showing in npm run build
I am in junior in next js . Currently , my problem is that when i am running npm run build , it is showing typescript error even though i am not using in my project . I n my project I am implementation for internationalization and it works well . But when i mentioned in above , npm run build command is showing ts error . Please kindly help me .
Next-auth signIn return {error:’Configuration’} in responce for invalid credentials. Next JS 14.2.3, Next-auth 5.0.0 Beta
I just started to learn Next JS. I started with Next Js version 14.2.3 and I want to create a login form. I am using next-auth 5.0.0 beta for authentication. I am able to login in with correct credentials. But i want to return a message for user when the credentials are not matching.
I am getting the object {error: ‘configuration’, status: 200, Ok…} and I have this line in the server console:
[auth][error] CallbackRouteError: Read more at https://errors.authjs.dev#callbackrouteerror
[auth][cause]: Error: Missing credentials.
at Object.authorize (webpack-internal:///(rsc)/./src/util/AuthOptions.ts:44:27)
….
Here is my codes:
Why Function response is undefined in nextjs inside onsubmit function
I am working on a nextjs project (nextjs version 14.2.3)
Nextjs 14 store server side token
using the nextJs 14 application. seeks to obtain the server-level token in order to use another system’s API. Where can we keep data that is accessible to all users on the server side?
Trying to understand the role of usePathname in a footer component in next js
I’m new to Next js and am trying to finish a website I had paid someone to build but disappeared on me before completing.
Custom hooks giving Error: (0 , _app_usePaginate__WEBPACK_IMPORTED_MODULE_2__.default) is not a function in nextJS 14+
Hi I am new to NextJS and trying to build a pagination component. In this I am using a custom hook to fetch and navigate(next and previous page) and trying to import it into a server side component to then destructure the data from that custom hook and display it. But I keep getting this error:
Why is only the title displayed and not the content when using next-mdx-remote with Next.js?
I am using next-mdx-remote with Next.js to render MDX content on a page, but only the title from the frontmatter is being displayed, and the actual MDX content is not showing up. Here is my setup:
nextjs14 I fetch data in the server component. When building I get Minified React error #31. There are no errors in dev mode
import { getSlides } from “./api/getSlides”; import Slider from “./ui/Slider”; const HeroSlider = async () => { const slides = await getSlides(); console.log(slides); return ( <> { slides && <Slider data={slides} /> } </> ); }; export default HeroSlider; import Image from “next/image”; import BestOffersSlider from “@/shared/bestOffersSlider/BestOffersSlider”; import PopularProductsSlider from “@/shared/popularProductsSlider/PopularProductsSlider”; import Footer from “../footer/Footer”; […]