All Questions
3,431
questions
-2
votes
0
answers
10
views
Displaying host machine info with docker container
I have nextjs app and im using nodejs os to gather system info about totalram cpu etc. How i can make it work with docker cause if i run my app with docker compose on my app ui i see ram allocated to ...
0
votes
0
answers
22
views
Remove Cypress dependency from higher environments [duplicate]
I have cypress as a dependency in my package.json for my next.js app. Cypress is installing some dependencies that have security vulnerabilities when it does a yarn install. I really only need Cypress ...
0
votes
0
answers
10
views
IIS Reverse Proxy with NextJS + NodeJS API
I have an NextJS website running on a Windows Server on port 3000. I've setted the URL Rewrite to redirect all the requests to port 3000 on the server and everything works fine, the Frontend works ...
0
votes
0
answers
22
views
Return 403 forbidden in production env
I have issue when try to perform the api in production environment, but it works it my staging environment. This is my code for the api
import prisma from '../../../prisma/db';
export default async ...
0
votes
0
answers
8
views
How to Efficiently Upload Files in Parallel in Next.js/Node.js Using Async and S3?
I'm working on a Next.js project where I need to upload multiple files to AWS S3 in parallel. I'm using the @aws-sdk/client-s3 for uploading the files. Despite trying different approaches, my uploads ...
0
votes
0
answers
20
views
How to automatically refresh, and reuse access tokens using nextJS app router and Auth0?
I am working with a Next.js frontend and an Express backend. I need a solution to automatically create and reuse a user’s access token until it expires. I believe there might be a way to achieve this ...
0
votes
1
answer
32
views
Cannot get Nextjs 14 application serving under sub application in IIS
I have a basic Next 14 app that I am hosting under IIS website on the root that works fine. If I create a sub application off the root and move the application there, I get a 404 when browsing to root/...
0
votes
0
answers
25
views
How to Convert PDF Generated by Puppeteer to DOCX in Nextjs API
I'm using Puppeteer to generate a PDF that a user can download and save. I want to be able to convert the same PDF to a DOCX file instead, so the user downloads a DOCX instead of a PDF. I can't seem ...
0
votes
0
answers
38
views
How to get the Authorization key value from the response headers
The Network tab shows the header but unable to get the header in frontend(Next js)
But when I am console the response headers then this thing is showing.
Here is my code of frontend(Next js)
try {
...
0
votes
1
answer
33
views
Next.js build deployment fails on typecheck when using Dockerfile
Im trying to deploy my Next.js application with docker. When running "npm run build" locally on my Windows machine, all works fine.
When using the Dockerfile provided by Vercel though, the ...
0
votes
1
answer
84
views
Next-auth throwing a CallbackRouteError when CredentialsSignin error expected on signin with invalid credentials. Using Credentials provider
I am following Next JS's tutorials. Currently I'm doing chapter 15, but when I sign in with invalid credentials the error thrown is CallbackRouteError when it should be a CredentialsSignin. When ...
0
votes
0
answers
22
views
Nextjs and prisma: TypeError: Unknown file extension ".ts"
I am starting on the Nextjs world and i wanted to try the prisma ORM but i'm facing some errors.
So basicaly other thing what i am in doubt here is the fact that prior this erros i was getting another ...
1
vote
1
answer
342
views
Strange memory/IO errors when building nextjs/node app inside docker
I have Linux server with 1.3T of nvme ssd, and 64gb of ram memory.
There is production app based on latest nextjs and nod. So I have docker-compose with container for the frontend where I just copy ...
0
votes
0
answers
13
views
Uncaught Exception: ERR_STREAM_WRITE_AFTER_END in Next.js API route
I'm frequently encountering this error in one of my Next.js serverless API routes:
"Uncaught Exception: Error [ERR_STREAM_WRITE_AFTER_END]"
This error suggests that there's an attempt to ...
0
votes
0
answers
14
views
How to Protect Videos in a Hosting Environment for an LMS Platform Using Next.js and Node.js? [closed]
I'm working on an LMS (Learning Management System) platform using Next.js for the front-end and Node.js for the back-end. One of the key features of the platform is hosting and streaming educational ...