Category "node.js"

Sign in with Apple implementation with Angular

I am trying to implement Sign in with Apple in Angular website. The flow of implementation starts with adding in the index.html file. Then created a service ca

node js puppeteer How do I scrape values ​from duplicate selector?

I want to scrape the value, but its selector is duplicate, I don't know how to solve. It will always scrape the value of the one above. here my code: const pupp

puppeteer bypass cloudflare by enable cookies and Javascript

(In nodeJs -> server side only). I'm doing some webscraping and some pages are protected by the cloudflare anti-ddos page. I'm trying to bypasse this page. B

Delay for messages in node-telegram-bot-api

I am working on a telegram bot with the node-telegram-bot-api library. I made 2 buttons using keyboard. But when you click on them a lot, the bot will spam and

Am trying to get data from an atlas file

am trying to get data from an atlas file the way I do with json files but it's not working, please can I get help const jsonFile=require("./Assets/AquaSpawn/Aqu

Remove generated string from Mongoose schema with custom validation

I have a schema with a custom validation. const schema = new mongoose.Schema({ username: { type: String, required: true, validate: {

Error: connect ECONNREFUSED Nodemailer Ethereal

I have an error when trying to use the example from nodemailer. I modified it a little bit but it has all of the same core. When I try to run it I get this erro

error in using ESM Package of "auto-bind" in node.js project

I have a Node.js project. I want to use auto-bind package @v5.0.0. The versions above v4 , are ESM type. so can't use then by require('') . but my Node.js proje

How to call a smart contract function with WalletConnect? (React.js, Node.js)

Is it actually possible to call a smart contract function using WalletConnect? There is a documentation on official website that explains how to establish conne

Somebody knows how to solve 401 Unauthorized error with Clockify API using axios and node js

Does someone know why I'm getting a 401 Unauthorized error when I try to post a request to add a time entry even though I have added my API key? I'm using Axios

Discord.js how can bot ping when someone with a specific role leave

I made a bot and I want to add a feature to my bot. ping a specific room when people with a custom role leave the server. So, for example, we'll know when peopl

type conversion error while executing mongoDB find

I am following official MongoDB typescript tutorial to convert my javascript app to typescript one. After code conversion i am facing following error: routes/us

Reading schema & metadata from a parquet file

I am reading a third-party parquet file using parquetjs-lite const parquet = require("parquetjs-lite"); : reader = await parquet.ParquetReader.openFile(fileNam

Lambda function is not exiting but is logging the return

I have a Lambda function that I am trying to get to work fully. The code works in the sense it does exactly what I need it to however the issue comes in that th

React Js docker image building error with ERROR [linux/arm64 5/7] RUN npm install --silent. Running on Mac M1

I am creating a React Js docker image to run on multiple architecture when i run the command I get an error. I tried a lot but not successful. I am using Mac M1

Problem about dockerizing a NestJS app with Prisma and PostgreSQL

I am trying to build a NestJS app with Prisma and PostgreSQL. I want to use docker; however, I got an error when I sent the request to the backend. Here is my d

whatsapp-web.js, how do I send someone a contact card of someone else?

How do I send someone a contact card of someone else in whatsapp-web.js? Can I send a contact card when The person I send the contact card is saved on my phone

Webpack-dev-server "Cannot GET /"

i'm trying to get my webpack-dev-server to run but i face always the error "Cannot Get /" at the browser. I know that there are serveral questions with the same

How to find KnowledgebaseId in Dialogflow?

// const knowledgeBaseId = `the ID of your KnowledgeBase`; I can't seem to find the knowledgebase ID in Dialogflow nor in the Cloud Console. Please help.

NestJS Middleware Not Executed

The NestJS class or functional middleware doesn't run when connected from a Module. It is also not working for a single path, controller or for every path. Conn