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
0 answers
Facing ERR_OSSL_EVP_UNSUPPORTED in NextJS
I tried deploying my old code via vercel but it threw me this error:
enter image description here
My package.json file:
enter image description here
I am not sure what to do :(
I wanted to try adding in the flag "--openssl-legacy-provider" but not…

Solomon Lijo
- 3
- 2
0
votes
0 answers
importing modules from node_modules not working properly
I am using next.js 13.4 where I am getting error on directly importing any module from node_modules.
This is not working:-
import Link from "next/link"
if I do this then its working:
import Link from "@/next/link" // or import Link from…
0
votes
1 answer
How to Exclude Layout from Display on Specific Pages in Next.js 13 App Router
I'm working on a personal project using Next.js 13 app router and I've encountered an issue. In my project, there's a header component that's injected into the layout.tsx file in the root directory. However, I also have a dashboard page that should…

Abubalo
- 17
- 1
- 5
0
votes
0 answers
from next-intl/server causing a reload
I'm using nextjs v13.4 (App router) with internationalization, specifically next-intl@3.0.0-beta.9 and following the same guide as their official docs suggest for next server-side components.
resource: official docs for next-intl
but I'm not getting…

naeemgg
- 177
- 1
- 8
0
votes
1 answer
Upload base64 image in Next.js to Azure Storage
I have tried every other "dupe" to this issue but it seems many of them are out of date. The following code runs "successfully" and uploads the image and sets the mimetype correctly however it does not render as an image. The base64 content is…

gregwhitworth
- 2,136
- 4
- 22
- 33
0
votes
0 answers
digital ocean next pwa show this error "Does not register a service worker that controls page and start_url"
in localhost:3000 pwa work fine for next js. but when i try to deploy my frontend in digital ocean, it show this error "Does not register a service worker that controls page and start_url".
in next.config.js file
/** @type…
0
votes
1 answer
How To Set Dynamic Meta Keyword & Author In Next.js 13
I tried this but it's not working, In official documentation they only given example of dynamic title and description, plzz anyone help me.
I Tried This:
export const metadata = {
title: {
default: 'HealthCare Biodiversity',
template: '%s…

Arshcode
- 1
- 1
0
votes
0 answers
How do I add custom controls on mantine embla carousel in next js?
i have this code:
import React from "react";
import { Container } from "@mantine/core";
import { Carousel } from "@mantine/carousel";
import { ArticleCard } from "@/components";
import { cards } from "@/data";
export default function…

giorgi1998
- 23
- 5
0
votes
1 answer
VSCode breakpoints no binding with TypeScript npm linked package
I have a Next.js app written using TypeScript with the following .tsconfig:
{
"compilerOptions": {
"baseUrl": "src",
"experimentalDecorators": true,
"target": "es5",
"lib": [
"dom",
"dom.iterable",
"esnext"
…
0
votes
0 answers
TypeError: $(...).telerik_ReportViewer is not a function Using Jest test in my React Typescript Application
● ReportViewer › renders without crashing
TypeError: $(...).telerik_ReportViewer is not a function
…
0
votes
1 answer
Link / routing does not work after making build in next 13
Im making project in next.js 13 and currently there is only 1 folder name explore that has dynamic routing.
in explore im mapping over a list and using as well and in link im passing index of map ( which will be id ) like .
in my development it…

Adnan Khan
- 11
- 3
0
votes
0 answers
Uncaught ModuleParseError: Module parse failed: Expecting Unicode escape sequence
Good morning, I am trying to use a next 13 project and it returns the following error.
File was processed with these…
0
votes
0 answers
NextJS with broken images after deploy
I have this NextJS app being deployed to an Azure App Service (Linux), using local images (everything into /public).
While running the app locally (with npm run dev) or building + starting it locally (npm run build and npm start), everything works…

Marcelino Borges
- 33
- 6
0
votes
2 answers
Named export 'PDFDataRangeTransport' not found while using react-pdf in next-js App
Hi I am trying to render pdf using react-pdf in my next app, but facing the following issue:
SyntaxError: Named export 'PDFDataRangeTransport' not found. The requested module 'pdfjs-dist' is a CommonJS module, which may not support all…

Shekhar
- 1
0
votes
0 answers
It's Showing cannot read properties of undefined reading name
const page = (props) => {
const slug = props.params.id
// console.log(slug)
const [showModal, setShowModal] = useState(false)
// const [pDetail, setPDetail] = useState(null)
let prod
useEffect(() => {
…