473,440 questions
1
vote
0
answers
36
views
Next.js Docker Container Crashes After ~4 Hours: API Timeouts in SSR Pages
I'm experiencing an issue with my Next.js application running in Docker. After approximately 4 hours of operation, the server becomes unresponsive and API calls made during SSR start timing out. The ...
0
votes
0
answers
29
views
Flutter on Windows Cannot Send HTTP Request to Node.js Server Running on WSL 2
I am developing a Flutter application that interacts with a Node.js (Express) server running on WSL 2 (Ubuntu). My problem is that Flutter fails to send an HTTP request to the Node.js server, even ...
-2
votes
1
answer
24
views
Cant make any API calls from programming language [closed]
I am using Fiddler and monitoring the API call of an application. i wanted to automate certain something in this application and was planning to call the API from node.js, but the problem is that i ...
0
votes
0
answers
14
views
Nodejs mysql2/promise deleted data problem
I am trying to resolve an issue in my app.
The problem occurs when I delete data from the MySQL server; my Node.js app still displays the deleted data. However, once I edit any TypeScript (.ts) file ...
0
votes
1
answer
49
views
How can I properly handle database connections in a Node.js application?
I'm building a Node.js application using Express.js and MongoDB (Mongoose). I want to ensure that my database connections are handled efficiently to avoid memory leaks and connection issues.
Currently,...
0
votes
1
answer
70
views
plugin externalize-deps - This package is ESM only but it was tried to load by `require`
I am installing a plugin in Vite, but I run into an error message stating that the package only supports ESM, not CJS.
package.json
{
"devDependencies": {
"example-package": &...
-2
votes
1
answer
49
views
Is Mongoose really an ORM, or is it something else? [duplicate]
I keep hearing people say that Mongoose is an ORM for MongoDB, but I thought ORMs are for relational databases like MySQL or PostgreSQL. Since MongoDB doesn’t use tables and rows but instead works ...
0
votes
1
answer
32
views
How do I redirect a user from a certain page to another in Backend?
I am creating a Full-Stack website, but I have a slight problem when it comes to entering back to my index.ejs, as I want my Backend code to automatically redirect the user from "myPage/index.ejs&...
0
votes
1
answer
32
views
FireBase Push Notifications (FCM) Unity [duplicate]
I made a website enter information into the realtime Database through Firebase.
I want to create an app through Unity and make it get a push alarm whenever new information is entered in Firebase in ...
0
votes
0
answers
58
views
React native Expo suddenly stopped connect to server
I was working on a react native expo app, and using Expo Go with no issues. Suddenly the next day without changing anything, when taking a picture of the QR code to load on the app, it gets stuck ...
0
votes
1
answer
52
views
How to effectively handle multiple message in Kafka?
I've test performance of my consumer and the result is not good.
The consumer job is mapping incoming message from Kafka and storing it into DB (MongoDB).
I use NodeJS and ExpressJS for the server.
...
-2
votes
0
answers
39
views
NPM 403 Err Permission permission_denied: read_package [closed]
I am currently facing an issue with the installation of a package from a private registry. I already followed the steps to solve the issue: npm config set, npm login and also generating PAT with a ...
1
vote
0
answers
25
views
Flutter Cannot Send HTTP Request to Node.js Server Running on WSL 2
I am developing a Flutter application that interacts with a Node.js (Express) server running on WSL 2 (Ubuntu). My problem is that Flutter fails to send an HTTP request to the Node.js server, even ...
-1
votes
0
answers
24
views
Error when deploying full stack app on render
I'm attempting to deploy my full stack chat app thru render but I keep getting a build error of: frontend/node_modules/rollup/dist/es/shared/parseAst.js. My build settings are npm run build and for ...
-1
votes
0
answers
38
views
Axios post rucgcheck login [closed]
I'm trying to use rugcheck API through nodeJS Axios but can't find a way to make that work, it keeps saying signature mismatch whatever I try, and I've spent hours on that.
Error is :
ERR_BAD_REQUEST, ...
0
votes
0
answers
47
views
Next.js Prisma Base Service: UserDelegate Error with Related Schemas
In my Next.js project, I created a BaseService using Prisma and extended it for sub-services. Everything works fine for normal usage, but when I try to use this approach with schemas that have ...
-2
votes
0
answers
35
views
Can Playwright be run inside a browser tab to control an iframe that's in the tab itself?
Weird use case, I need to display some reports but they are behind a login screen and need to be clicked into. Easy task if you're using playwright to open the browser and navigate there.
However I'd ...
0
votes
2
answers
67
views
POST document hook or middleware in mongoose isn't working
I'm using mongoose v8.7.3, here is part of my code which is not working as expected.
const updateOne = (Model) => catchAsync(async (req, res, next) => {
const doc = await Model....
0
votes
2
answers
99
views
How do I determine the algorithm of a public key in nodejs?
Given a public key of the following form (invalidated in example), how would I find the algorithm used in Node.js, using the crypto package?
-----BEGIN PUBLIC KEY-----
...
0
votes
0
answers
33
views
How to set up HLS stream?
I am working on a project where the main goal is to create a website where users will be able to watch live streams. These live streams will come from different sources, over different protocols. I ...
0
votes
0
answers
42
views
How with YouTube Data API v3 get created clips on own channel [closed]
Screenshot from https://www.youtube.com/feed/clips
How i can get a array of clips from this page "https://www.youtube.com/feed/clips" using YouTube Data API v3? Or tell me other solution for ...
0
votes
0
answers
22
views
Does Nodemailer have a proxy parameter? Am I doing something wrong?
const nodemailer = require('nodemailer');
const createTransporter = async (user, passowrd, host) => {
const transporter = nodemailer.createTransport({
host: host,
port: 587,
...
1
vote
3
answers
46
views
Docker build failure in Jenkins Ubuntu
I am not sure if I should be asking this question here but I am giving it a try.
I have Dockerfile that looks like the following. Some parts of it are omitted here for brevity.
# Stage 1: Install ...
1
vote
0
answers
81
views
Setting cookie's domain causes TypeError: option domain is invalid
Follow-up from Express session loses passport user ID on a Safari cookie every week . In Express and NodeJS, I want to set a cookie's domain so user agents see it as a first-party cookie. If I set it ...
0
votes
0
answers
49
views
my node.js is not installed, although in the laravel herd application my node.js status is installed
I am currently learning to use laravel, when I want to install tailwind using the terminal in vs code with the command “npm install tailwindcss @tailwindcss/vite” an error appears “npm : The term 'npm'...
0
votes
0
answers
67
views
Name of video still "video.mp4" after downloading using yt-dlp
I'm using yt-dlp in a Node.js Express application to download videos from YouTube. I'm extracting the video title and using it to name the downloaded file, but all downloaded files are still named ...
-2
votes
0
answers
36
views
transfer between accounts connected to stripe [closed]
I have the following scenario: in my system, a user can book services at a company. This booking can consist of multiple services, and each service has a professional assigned. At checkout, the user ...
0
votes
0
answers
39
views
I made a website for my conlang, and am having issues with multiple translations being displayed on pages [closed]
I created a conlang with my friend and we decided to make an online dictionary for it. All of the pages are dynamically generated using node.js, express, and handlebars. The data for the pages are ...
-1
votes
1
answer
30
views
How to Detect If the Current Visitor is PageSpeed Insights or Lighthouse
I want to selectively disable Google Analytics (GA) when the page is accessed by PageSpeed Insights or Lighthouse to improve performance scores. Is there a reliable way to determine if the current ...
-1
votes
0
answers
16
views
Strapi v4 repeatable component not showing in api response att
I have this url localhost:1337/api/courses?populate[cle_credits]=true. The cle_credits here is the name of the repeatable component, but I don't see it anywhere in the response. I don't know what's ...
0
votes
0
answers
5
views
Handling Dynamic Group Membership with Kafka and Node.js
I'm developing a chat application using Kafka (with KafkaJS) and WebSockets in Node.js. Users can dynamically join and leave chat groups, sometimes multiple times within short periods (online and ...
1
vote
2
answers
62
views
Produce parentheses-enclosed list of values with pgpromise
I am using a queryfile to produce a query:
SELECT
lst.${layerTitleColumn:name}
FROM
(VALUES(${ids:list})) AS ids(id)
LEFT JOIN
${tableName:name} AS lst
ON
ids.id = lst.${layerIdColumn:name}
...
0
votes
0
answers
26
views
Remote window in webrtc won't display
I am trying to setup this web rtc video call function for a site i am building, the call will only be connected if the admin has in the function the same name as the client side's name, in my server ...
0
votes
0
answers
38
views
nodejs child_process exec set encoding
I am running a virussoftware scan via command line and the output will list me some informations in german that has umlaute (ö, ä, ü). The command is something like "C:\Program Files\Antivirus\...
0
votes
1
answer
50
views
I cannot send mail using Azure OAuth with Nodemailer
I am trying to change the authentication in my project to OAuth2 because Microsoft has stopped support for Basic authentication. Everything seems normal on the Azure side.
const createEmailTransporter ...
0
votes
0
answers
29
views
Validation of sending sms through sms gateway - Yeastar
I'm trying to read the message about the correct or incorrect sending of an sms message by the Yeastar TG200 gateway. In the browser I get this message in html form:
<html><head><meta ...
0
votes
0
answers
9
views
Electron Push Reciver With Latest Firebase APIs
Earlier we used the electron-push-receiver NPM package, Now these https://fcm.googleapis.com/fcm/connect/subscribe we are getting a 404 Error.
index.js file source
const uuidv4 = require('uuid/v4');
...
0
votes
0
answers
23
views
langchain dependencies with TypeScript [closed]
"workspace-aggregator-0f235ec8-b7fe-42cb-a3aa-6931db32d29f > backend > @browserbasehq/[email protected]" has unmet peer dependency "@playwright/test@^1.42.1".
warning "...
0
votes
0
answers
36
views
How to solve the microservices with foreign key constraint? [closed]
I am working with micro services: product service, order service, auth service and so forth. Each service has a database table, for database I am using PostgreSQL with sequelize.
Now the problem I am ...
1
vote
0
answers
67
views
How to switch to "puppeteer-real-browser" from default puppeteer? [closed]
i want to change my scraper's "puppeteer" library with "puppeteer-real-browser". I tried so many ways but i got bunch of errors and i dont want to ask all in here to make process ...
0
votes
1
answer
44
views
How do I build a Node-based derivation that outputs a directory?
I'm pretty new to Nix, and I'm trying to build a derivation around an Eleventy static site project.
I have a build script in my package.json file defined as "npx eleventy". When I run npm ...
1
vote
0
answers
21
views
Erc20 Programatic Token Swap Parameters for broadcasting Pulsechain (python)
I am 1. trying to send from wallet a to wallet b, and 2. buy a token ("mars", in this case) with wallet a.
I'm trying these 2 tasks programatically, and have a simple front end to test the ...
0
votes
0
answers
26
views
chunked_data_pipe_upload_data_stream.cc(217)] OnSizeReceived failed with Error: -2
I have my project in next and react js, The project uses microphone for some purpose, I have used window.SpeechRecognition and SpeechSynthesisUtterance . I have used electron js to make it desktop app....
0
votes
1
answer
37
views
Simple Raspberry PI 5 GPIO button reading does not work (NodeJS)
I'm trying to read a simple momentary push button on a Raspberry Pi 5 using NodeJS.
const button = new Gpio(538, 'in', 'both');
button.watch((error, value) => {
console.log(error);
console....
-2
votes
0
answers
57
views
Difference between form data and x www form urlencoded
So I'm new to programming and recently started learning Backend. Okay so recently I came across a problem with postman while making POST request. So when I wrote a controller for registering a user I ...
0
votes
0
answers
26
views
Why `virtual-store-dir` needs to be unique for each project in `pnpm`
virtual-store-dir
The documentation https://pnpm.io/npmrc#virtual-store-dir says:
NOTE: the virtual store cannot be shared between several projects. Every project should have its own virtual store (...
2
votes
0
answers
72
views
How can I efficiently process large PostgreSQL datasets in Node.js without high memory overhead?
I have a Node.js application that interacts with a PostgreSQL database containing millions of users. For a specific feature, I need to fetch around 100,000 users based on a criterion (for example, ...
0
votes
0
answers
34
views
Socket check for triggering timeout
socket.timeout(timer).emit('foo', (error, response))
I need a method to check if the timer is started
0
votes
0
answers
53
views
Why does `fs.writeFile` give "EBADF: bad file descriptor" when using `./`, but works with `/` in Node.js 22.14.0?
I'm encountering an issue with Node.js fs.writeFile when trying to write to a file using a relative path (./message.txt). Whenever I use ./, I get the error:
[Error: EBADF: bad file descriptor, write] ...
0
votes
0
answers
46
views
Turkish character problem in Node.js fs.readFile
I have a XML file which is created in Windows.
It has some Turkish characters in it.
<?xml version="1.0" encoding="iso-8859-9"?><?xml-stylesheet type="text/xsl" ?...