Do NOT use this tag for Next.js, use [next.js] instead. For questions related to Iterator, use [iterator]. For questions related to JQuery selectors, use [jquery-selectors]. For questions related to pagination, use [pagination]
Questions tagged [next]
92 questions
0
votes
2 answers
How to send data through Link in Next/JS?
My Next version is 13.1.5. I am trying to send contact.name through the Link in my component. Whats the best way to do this? The first code of the Link is just my original code.

Karnveer Grewal
- 51
- 5
0
votes
0 answers
Next js Image component not reflecting changes even though I've changed image
Even Though I've replaced older image with new one (but with same name) in directory, it's not showing changes and still shows older image even though it doesn't exist in directory(folder) anymore.
const postData: DataType[] = [
{
name:…

gulshan _____
- 1
- 2
0
votes
0 answers
turborepo package has no update or ts namespace no work
a turborepo projexc:
apps
web
packages
api
types
common
intex.tsx
in my api/types, I add 'match' interface
api/types/index.ts
declare namespace API {
export interface Item {...}
export interface Match {...}
}
in common/index.tsx…

Andersen
- 1
- 1
0
votes
0 answers
Nextjs restore Cache Container
- ready started server on 0.0.0.0:3000, url: http://localhost:3000
[webpack.cache.PackFileCacheStrategy] restore cache container: 231.681021 ms
[webpack.cache.PackFileCacheStrategy] restore cache container: 347.670912 ms
…

Azzam Mahmoud
- 1
- 1
0
votes
1 answer
Error: password authentication failed for user “user”
When I run strapi develop I get the following error
$ strapi develop
Starting the compilation for TypeScript files in
Building your admin UI with development configuration…
:heavy_check_mark: Webpack
Compiled successfully in 16.01s
Admin UI built…
0
votes
0 answers
Connecting mongodb with prisma
I am new to nextjs and working with prisma for the first time. I am having trouble connecting the prisma to mongo atlas. I did as the documentation said, but whiling pushing to prisma. It is showing me this error.
Error: MongoDB error
An…

devesh singh
- 1
- 1
0
votes
1 answer
How to implement authorize function from next-auth in next 13 appDir (typescript)
What is the correct way to declare the authorize function in [...nextauth].ts??
I'm tryin it like this:
export default NextAuth({
session: {
strategy: "jwt"
},
providers:[CredentialsProvider({
…

naeemgg
- 177
- 1
- 8
0
votes
0 answers
Next.js - Firebase Cloud Message: Uncaught ReferenceError: navigator is not defined at Component.WindowMessagingFactory [as instanceFactory] next.js
currently I'm trying to implement push notification with firebase in next.js,
I followed this guide from documentation: https://firebase.google.com/docs/cloud-messaging/js/receive?hl=es-419
but I'm getting this error on my localhost:
someone had get…

Fauricio Valencia
- 346
- 4
- 14
0
votes
0 answers
Orphaned Pages in NextJS using
A recent SEM Rush report indicated thousands of orphaned pages on this site. Much must be due to the fact that we use infinite scroll, no static pagination or index page. However, I would like to know if it is possible that the robots do not…

Lucas Gabardo
- 49
- 3
0
votes
1 answer
i18nest translation work just on the root of my Next app
when im at the root of my next app: http://localhost:3000/en, with i18next translations, the later work fine. However, when i browze to another url the translations dont work anymore like this link: http://localhost:3000/en/survey
module.exports =…

NiGhtte
- 3
- 1
0
votes
0 answers
Cannot get input value on onClick event in the same div block in antd tree
there.
I am using Tree in antd, but I got a trouble when creating a new tree list.
Here is my code
import React, { useState } from 'react';
import { Button, Input, Tree } from 'antd';
import type { DataNode, TreeProps } from 'antd/es/tree';
import {…

Lee SeongBae
- 55
- 4
0
votes
2 answers
Next Js Image 'fill' prop, image not displaying
Working on a simple grid with images and text. using Next 13.4.7 and tailwind, But when I try to import the image using the Next Image component and using the fill prop the image doesn't render.
return (
0
votes
1 answer
can't play video in react quill
I can't play video in react quill when I set resize picture in react quill, every time I add a video it gets resized like a photo, and can't play. So does anyone have a way.
this is my code
type here
import React, { useState, useEffect } from…

AdamWarLock9292
- 15
- 6
-1
votes
0 answers
How can I implement Refresh token in pages/api/auth/[...nextauth].js
I want to implement refresh token rotation in credentials providers but found no good documentation for it. Also, the next auth's official documentation doesn't discuss it.
https://authjs.dev/guides/basics/refresh-token-rotation

Augustus17
- 29
- 3
-1
votes
1 answer
Nextjs13 Error: Failed prop type: The prop `href` expects a `string` or `object` in ``, but got `undefined` instead
I'm learning nextjs using book "Building React Apps using server-side rendering"
In this I'm building basic react app with index page link to about page.
The project package.json -
{
"name": "my-next-app",
"version": "1.0.0",
"description":…

user51
- 8,843
- 21
- 79
- 158