Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
74 views

I'm trying to access google ads accounts in js. Here's how I do the callback mechanism: ... const { clientId, userId } = JSON.parse(state); const oauth2Client = new google.auth....
Mamoudou Kane's user avatar
1 vote
0 answers
39 views

I've been trying to install the local Squarespace server using npm and it's been a mess. My co-workers who use Macs don't have these problems, but the other person with Windows 11 does. When I run npm ...
Zach M's user avatar
  • 11
2 votes
1 answer
105 views

How to add data from an input field in the browser to my array websites[name], and then display it in a html paragraph? server.js import express from "express" import { websites } from "...
user31709236's user avatar
0 votes
0 answers
108 views

I did a fork of this repository and I changed in each package.json the name from @bigbluebutton/editor to @piszczj/editor. Then I've run yarn install and then yarn workspace @piszczj/utils npm publish ...
Korer's user avatar
  • 393
Advice
3 votes
0 replies
78 views

I am working with a small Retrieval-Augmented Generation (RAG) setup and I want to run the entire pipeline purely in Node.js without using any Python-based services. Workflow i am going to follow : ...
Gnaneshwar P's user avatar
0 votes
0 answers
58 views

I have 3 files: // server/src/entities/NewPost.ts export interface NewPost { title: string; content: string; } // server/src/api/posts/create.ts import { NewPost } from '@/entities/NewPost'; ...
eliezra236's user avatar
  • 1,045
1 vote
0 answers
49 views

I'm trying to update my GitHub action to use latest version of "base" action. All is looking fine but one PR check fails on checking if /dist directory was updated. It finds some changes in /...
piotrekkr's user avatar
  • 3,346
2 votes
0 answers
45 views

I am working with Node.js 22 using native ESM and Worker Threads, I'm trying to share a single WebAssembly.Memory instance across multiple workers to avoid duplicating memory. // main.mjs import { ...
Gnaneshwar P's user avatar
0 votes
1 answer
124 views

Using React Native+Expo I'm trying to load only the correct font based on the user font. const comicFontName = 'Comic-Neue'; const fonts = [comicFontName]; export function DisplayPost(props: ...
eliezra236's user avatar
  • 1,045
1 vote
0 answers
62 views

We're experiencing a consistent 1-1.5 second delay in our Angular SSR v20.2.2 application that occurs after all Angular rendering completes but before the response is sent to the client. The delay ...
DevJules's user avatar
  • 332
1 vote
0 answers
69 views

I’m developing a tool to speed up the AWS Lambda creation process for my colleagues and I, as we use it extensively, and I need to periodically check for deprecated runtimes. The idea is to create a ...
Federico Moretti's user avatar
0 votes
1 answer
57 views

I am running a store() method in which I have to create a project using playwright tests. My playwright index.spec.ts file where I am calling create project is: import { test } from '@playwright/test';...
bilalahmedcodes's user avatar
0 votes
1 answer
73 views

I want to call curl with NodeJS with GET method. I want to pass authorization token and parameter. I've wrote my codes as below: const url = 'https://external-url?table-name=LD_PRD&schema-name=...
Niladri Banerjee - Uttarpara's user avatar
0 votes
1 answer
27 views

I am trying to make a api endpoint to get the token of salesforce using username and password. I have nodejs+expressjs server set up and using the jsforce package. Here is my endpoint app.post('/auth/...
vivek modi's user avatar
1 vote
0 answers
32 views

I'm trying to set up Scalekit for my MCP server on Node.js It opens a google login page, but when I select my google account it shows invalid_connection_id error: "No active SSO Connections ...
Stanislav Sapogov's user avatar
0 votes
2 answers
95 views

I installed nodemon globally and locally I added it to the environment path. I tried to use flags but nothing works One month ago (last time I used it), it was running completely fine. Now it's ...
ABDULAZIZ HAMZAH's user avatar
0 votes
1 answer
90 views

I am facing a critical authentication issue where a newly generated Google AI Studio API key consistently fails with a 400 API_KEY_INVALID error, both from Google Apps Script and a standard Node.js ...
Ângelo Fernando Cruz's user avatar
2 votes
1 answer
67 views

i just discovered this (see top answer) where they used format() for bulk query, but i can't find format anywhere in both mysql and mysql2 docs. Does anyone know where to find it?
user31750755's user avatar
0 votes
1 answer
122 views

I am having a problem downloading the Sharp dependency for my Next.js project v15.5.6. I've tried reinstalling Node.js, but it still fails. Below is the failure message after running npm install sharp ...
Jannette Rose's user avatar
0 votes
0 answers
72 views

I have been recently working with Genetec(a surveillance system company) software in order to incorporate the footage of my company in a web server. They have support for this, and I have set up an ...
Tigo Schutgens's user avatar
0 votes
0 answers
25 views

I am trying to integrate socket.io with Node's HTTP alongside Node's Cluster Module. Consider the reproducible example: index.js: let cluster = require('cluster') let fs = require('fs') let http = ...
Issac Howard's user avatar
2 votes
1 answer
103 views

I'm building a Node.js backend using plain SQL (no ORM, just mysql2 wrapped in a small helper). However, as my project grows, my route handlers start looking messy — full of raw SQL strings embedded ...
OuterTowner's user avatar
0 votes
1 answer
210 views

I'm currently using Playwright in Node.js to capture screenshots of webpages, but I'm exploring Firecrawl and wondering if it can handle screenshots directly. Here is what my firecrawl looks like with ...
James's user avatar
  • 11
0 votes
0 answers
24 views

I have the following code in my index.js (node js): const corsOptions = { origin: function (origin, callback) { if (!origin || whitelist.includes(origin)) callback(null, true); ...
Rue Vitale's user avatar
  • 1,975
2 votes
1 answer
66 views

We have some Tests for our electron node.js UI. They work fine if run on our desktops (windows and linux, even on linux via SSH and local X-Server) But the moment they run in our Jenkins pipline they ...
nobs's user avatar
  • 750
2 votes
1 answer
80 views

I am new to programming (and NextJS) and I'm building a NextJS app, using Mongoose for my MongoDb connection. I was wondering if I should close the connection after each query? Right now I am just ...
Alex's user avatar
  • 13
0 votes
0 answers
40 views

I'm following a Node.js tutorial where the database is created with Turso but I have a problem, the connection is created well but I can't realise any type of query. I'm using these libraries: import ...
Jordi García's user avatar
0 votes
1 answer
88 views

I'm developing a project using Next.js 15.5.4 inside an Electron.js application, with the following stack: React.js Tailwind CSS SQLite On Windows 11, running npm run build (or next build) ...
Ignatius Chandra's user avatar
0 votes
1 answer
67 views

I am trying to set up an app using Flutter to act as a companion app that checks to see if logged-in user is a member; if they are, provide reward. I am using Firebase with Firestore and Functions to ...
Luke Litherland's user avatar
2 votes
0 answers
138 views

I have a nvim setup that I have created and when I want to open a react/nextjs project it errors on imports like import Image from "next/image"; and no one likes that, so I wanted to ask how ...
user27392773's user avatar
0 votes
0 answers
116 views

I have TypeScript installed as a dev dependency in my Node project, and when I run tsc --noEmit, it does not report most of the errors I'm seeing for the same project in VS Code, although they both ...
prmph's user avatar
  • 8,454
0 votes
0 answers
40 views

I'm building a CLI using Oclif v4 with TypeScript and tsup for bundling. I want my main command to run by default, without requiring the user to type it as a subcommand. Currently, my oclif ...
Vin's user avatar
  • 85
0 votes
0 answers
62 views

I'm working on a Node.js project that reads data from an HFSQL database. I'm using the odbc library to create a simple connection like this: connection = await odbc.connect("DSN=xxxxx;UID=xxxxx;...
Gio's user avatar
  • 593
0 votes
0 answers
41 views

I have a React Native project where I import a lot of .svg files into my components. How can I use npx knip to find all unused svg files, just like it has found all unused .js/tsx files? This is my ...
Esben von Buchwald's user avatar
0 votes
0 answers
52 views

I have deployed a MERN stack app into production which has a basic login function that asks the backend to search for the given username and password in the database and if it was found, return with ...
user31641956's user avatar
4 votes
1 answer
168 views

I was experimenting with this code using node a.js command: console.log(this); // {} (function func() { console.log(this); // Object [global] })(); and: 'use strict'; console.log(this); // {} (...
EzioMercer's user avatar
  • 2,149
-1 votes
1 answer
120 views

I'm trying to use Prisma with neon/serverless from vercel. When I run npm run dev, I get this error message: Argument of type 'Pool' is not assignable to parameter of type 'PoolConfig'. Types of ...
KingSlayer3X's user avatar
0 votes
0 answers
131 views

I’m working on a Node.js backend that generates a signed URL for uploading files to AWS S3 via CloudFront. However, when I hit the signed URL endpoint from curl, I always get the following response: {&...
Koperumsozhan VR's user avatar
0 votes
0 answers
33 views

I can't seem to figure out why my node script is blocking this chrome instance from running fully detached. The UI freezes, then if I force close node script the chrome becomes responsive again. const ...
miran80's user avatar
  • 1,135
0 votes
1 answer
66 views

I have two entities with a one-to-many relationship, something like this: model ParentEntity { id Int @id @default(autoincrement()) name String children ChildEntity[] } ...
Yuri Almeida's user avatar
0 votes
0 answers
54 views

I’m seeing a weird intermittent read issue with DynamoDB using the AWS SDK for JavaScript v3. For some (but not all) item IDs, the first call to GetItem returns no item, and the second call ...
ksadjad's user avatar
  • 603
1 vote
0 answers
63 views

I'm working with Express Gateway to proxy requests to a backend service and want to transform error responses into a common format like this: const errorResponse = { timestamp: new Date()....
The witcher's user avatar
0 votes
0 answers
42 views

I am building an electron app with preact + typescript with vite tool. below is my vite config import { resolve } from 'path' import obfuscatorPlugin from "vite-plugin-javascript-obfuscator";...
Nikunj Guna's user avatar
0 votes
0 answers
29 views

I'm working on integrating my custom RAG into Soul Machines avatar to make the conversations of avatar according to my RAG Database. I'm connecting RAG with soul machines using orchestration server(...
Hemanath Arumugam's user avatar
1 vote
0 answers
61 views

I assign the cookie here: const sessionEnd = new Date(Date.now() + ( 1000 * 60 * 60 * 24 )); const cookieOptions = {path: "/", expires: sessionEnd, httpOnly: false}; async function ...
user31641956's user avatar
0 votes
1 answer
58 views

So I am trying to build a dynamic dashboard application ,so I use socket io 4.8.1 , and In frontend as well I installed the same version , now I used polling socket io it actually worked with polling ...
Vignesh's user avatar
  • 61
0 votes
1 answer
65 views

A legacy application is running v12.18.0, and when presented with a large GET request it gives me 413 Request Header Fields Too Large I have checked the same request by running it on a different ...
Husain Shaikh's user avatar
1 vote
1 answer
103 views

I have this in package.json: "engines": { "node": ">=18.20.5" }, But when trying to install (yarn install) using Node version 18.20.3 did not throw any errors,...
mason's user avatar
  • 524
0 votes
2 answers
180 views

I am running my backend using mongodb and express. I am restarting the server using nodemon. After running: npm run dev I am getting the error below: > [email protected] dev > nodemon server.js [...
Ambagwa Eugene's user avatar
0 votes
0 answers
36 views

I'm trying to bundle a Node.js CLI tool that uses @xenova/transformers into a single executable using pkg. The build works fine, but when I run the packaged executable, I get this error: Error: Cannot ...
Jibi Joseph's user avatar