Category "node.js"

Executing ksql query using node npm ksqlDb-client throwing an timeout error

Hi am trying to execute the KSQL query using npm package ksqlDb-client package, it throws an timeout error. I have attached the code as well, please let me kno

How to secure the attachment URL getting from cloud services

I have an angular form where the user is uploading the attachment. On uploading, the attachments are stored in the Azure Storage Account. In return, I am receiv

This version of µWS is not compatible with your Node.js build: Error: node-loader. while running "truffle console"

I'm working on a Blockchain project where I use Truffle. when I run the Truffle Console command I face this issue. Complete Log: This version of µWS is no

node soap remove xmlns attribute from method

I'm using the npm soap package to work with a soap webservice. Apparently it's the most widely used soap client in the Node.JS ecosystem, and I'm working with a

Swagger OpenAPI describing string array in multipart request

I need to describe a multipart query that has an array of strings. But I ran into a problem, in the query, the array elements are combined into one string inste

NodeJS GC function cannot be initialized

Trying out my first NodeJS cloud function so far unsuccessfully despite working fine VS code. Getting following error Function cannot be initialized. Error: fun

API call to crypto.com in node returns invalid JSON response

I'm sending a POST request to the crypto.com public API (reference) using node-fetch. More specifically, I'm am attempting to call the private method get-accoun

Is there a way to use NodeJS to append to a github file with github actions?

I have github actions setup on my repo but I have this: // make a socket.io for a connection // fs // prefix (t!), stuff socket.on('message', funct

Loop or map array inside the JavaScript object

I have an array of javascript objects like: const arrayData = [ { name: "campaign 1", date: "2022-05-13", milestones:[{name:"Planning", targetDate: "2022-05-25"

Bash Scripts Are Not Executing From Production Build of Electron App

UPDATE: index.js file content added. I have this electron app that is executing some bash scrips(*.sh) files to perform some task. Everything is working absolut

Memory Leaks in NODEJS With Chrome-DevTools - Get variables that are causing memory leaks and App to crush?

We're experiencing crushes with our NODEJS app , for some reason we have somewhere in the code some variables that are not getting released , and they should be

How to exclude the folder but include all of its files and sub-folder while npm publish in angular library

When I build my angular library app i get the artifacts in the folder dist/. This means when the library is imported in another application it is done like this

Node.js Unable to send multiple csv in an archive folder

I'have currently a problem to create and to send an archive from a node.js server. In fact, i succeeded create an archive with 5 csv files on the archive but wh

getting error while trying to make put request to mysql in nodejs

I am getting this error while I am trying to send a put request to update a row of a product table in mysql using nodejs. Here's my code: exports.updateProduct=

While testing API containing pagination in postman facing skip value error

I am using pagination middleware in my node js project but while testing api in postman it's throwing error skip value Followed the paginate docs but still no u

Error creating react new project. using create-react-app

I am facing issues while creating a new project for React. Here is the command for how I am creating react project. npx create-react-app helloworld But the pro

MongoDB insertMany and skip duplicates

I'm trying to insertMany() items into my Mongo database but I would like to skip duplicate IDs. I'm using Node.js and mongodb. I have some data: const myExam

how to verify google sign in chrome extension using launchWebAuthFlow on nodejs server

I want to signin using google to my server in chrome extension. So I am using launchWebAuthFlow in background.js. Here is the code function showAuthDialog(url,

postgres returns another table column while inserting data in sequelize

When I try to insert new category, I got this error: error: column "image" does not exist sql: 'INSERT INTO "Categories" ("id","createdAt","updatedAt") VALUES

javascript - await promise stucks

I am implementing google video person detection . I completely followed their docs and implemented same script they provided But my code is not passing by this