472,942 questions
0
votes
0
answers
12
views
GraphQL MongoDB data null output in createUser
I'm having a trouble on how to create a simple CRUD with GraphQL + MongoDB first start with the creating a user.
In my postman, I type this in GraphQL Query
mutation CreateUser($username: String!, $...
-1
votes
0
answers
18
views
How to create a proxy that replaces the origin IP address with the proxy server IP address using Node.JS?
I'm trying to use Node.JS with http-proxy-middleware to build a proxy microservice because the Luminate Online API that the customer needs to use requires requests from a server with a static IP ...
0
votes
1
answer
32
views
How to pass an asynchronous handler function to a route
I am coding an express API and I want to use asynchronous functions in app.use() and app.get() methods. When I do so I get an error.
My router:
import { Router } from "express";
import ...
0
votes
0
answers
13
views
ErrorHandling in N-Tier ExpressJS Applications
Say the following layers
controllers try { } catch ()
business (services) try { } catch {}
database (repository) try { } catch {}
suppose when a exception occurs in database layer caught in catch ...
0
votes
0
answers
15
views
VS-Code with Sonar Qube (formerly Sonar Lint) - failure due to node.js
O/S is Linux Mint 21.3 (fully up-to-date)
my IDE is VS-Code 1.98.2 (latest) with various Extensions
Getting Started with C++ using VS-Code as my IDE
I am just getting started on C++ programming ...
1
vote
1
answer
30
views
URLPattern class in Node v23.10 returns Uncaught ReferenceError: URLPattern is not defined
I'm trying out the URLPattern class in Node v23.10, installed with nvm
When I ran the following in the cli or as an executable
const p = new URLPattern({pathname: 'annotations/:id'})
I got this
...
0
votes
1
answer
49
views
The GET method hits the backend twice in a row on ngOnInit Angular
When I make a GET request from Angular with a token, in the backend (Node + Express), the GET request hits twice. The first one arrives without the token, and the second one arrives with the token.
...
0
votes
1
answer
18
views
How to continue in case of the router is not satisfied using http-proxy-middleware?
I have a node.js / express project and I try to implement http-proxy-middleware like this :
const app = express();
...
// 1st : `/mainUrls/*` are processed by the main app
app.use("/mainUrls"...
0
votes
0
answers
10
views
Failed to find binding?
I have an Azure Function App which runs with Node.js. The project uses the following dependencies (from package.json).
"@azure/functions": "4.2.0",
"durable-functions": &...
0
votes
0
answers
22
views
OAuth2Client Email Not Returned google-auth-library | NodeJs
I'm trying to verify a Google Sign-In ID Token in my Node.js backend using the google-auth-library. However, the verifyIdToken function returns the payload, But I'm unable to retrieve the user ...
0
votes
1
answer
28
views
Firebase Functions excessive latency
There is a significant performance degradation in a Firebase function I developed. This function handles payment reception via Stripe, generates a QR Code, and records data in multiple Firestore ...
0
votes
0
answers
24
views
Unable to install opencv4nodejs in n8n Docker: "idealTree already exists"
Problem: I'm running n8n in a Docker container and trying to install opencv4nodejs. Every time I try, I get the following error:
npm error Tracker "idealTree" already exists
Also, there’s an ...
0
votes
0
answers
15
views
Burn .ass into .mp4 using FFMPEG WASM
I'm trying to burn subtitles .ass file into an .mp4 video.
When I try to do so the process finishes and renders the same video without subtitles.
I think the problem is with the font, at least that's ...
0
votes
1
answer
65
views
next js cookies not being send in production to node js server
I've spent days trying to resolve this issue but haven't had any luck. I've read almost all questions and articles related to this problem, but nothing has worked.
Setup
My frontend and backend are ...
0
votes
0
answers
16
views
Error installing node js The installation of visualstudio2019-workload-vctools failed (installer exit code:
i had a problem in Power Shell installing nodejs and chocolatey :
ERROR: The installation of visualstudio2019-workload-vctools failed (installer exit code: -2147024784).
The upgrade of ...