All Questions
Tagged with node.js javascript
177,404
questions
0
votes
1
answer
25
views
Using an outer Boolean variable inside a mongodb aggregation pipe line logical operator $or
I have to check a Boolean flag and base on its condition return different data result.
for example I have a collection of books and their prices, normal result of query is prices matching 10, BUT IF ...
0
votes
1
answer
16
views
How to handle puppeteer waits efficiently?
The below code is working fine with the added delay of 75secs but that delay is not static, it changes according to the size of the file so I want to remove that delay and substitute that with a ...
0
votes
0
answers
10
views
Extension doesn't work on Puppeteer Cluster
I'm trying to load CapSolver's extension on my browser instances generated with Puppeteer Cluster, but it seems that the extension only works on the about:blank instance (the instance that Puppeteer ...
-1
votes
1
answer
25
views
Buffer includes issue with escaped characters [closed]
In the context of a babel plugin, I reading a Buffer from a file to check some content.
I'm looking specifically for the following string ɵɵfoobar escaped as \u0275\u0275foobar.
When I printing my ...
0
votes
0
answers
7
views
Microsoft Bot Framework dialog issue
I am trying to execute a basic dialog example for the Microsoft bot framework, but getting a strange error and am unable to proceed
node index.js
(node:8600) [DEP0040] DeprecationWarning: The ...
-2
votes
1
answer
32
views
Mastering resolving dependency issues
I'm trying to set up project from my working computer on my home one. But due to fixed dependency versions something going wrong.
Here is my dependencies:
"dependencies": {
"@...
0
votes
0
answers
17
views
Node Js Backend, Database Queries Causing Memory Leak
I have a backend written in NodeJs. I am using a postgreSQL database. I am using docker to run containers. There is a problem I am encountering that the memory consumption of the backend container ...
1
vote
2
answers
36
views
Retrieving image as base64 from Meta Graph API
I uploaded a photo via WhatsApp, which can be accessed via:
https://graph.facebook.com/v19.0/{imageId}
Requesting this API returns the URL of the image:
{
"url": "https://lookaside....
0
votes
1
answer
16
views
Exclude dates not within specific ranges from a user-selected date range in node.js?
I have an array of multiple start and end date ranges and a user-selected start and end date range. I need to exclude the dates from the user-selected range that do not exist within the specified date ...
0
votes
0
answers
31
views
NodeJS v14: issue feeding in multiple commands to living spawn process and extracting output
I'm trying to create a wrapper which uses spawn process (and keep it alive) so that I can pass in several powershell commands one at a time. Where the expectation is for the command to fully execute ...
-1
votes
0
answers
17
views
electron opens raw main file source code in my native browser
When I run my electronjs app (electron . or electron electron.js) instead of opening a electron tab it opens the electron.js file in my browser (opera) as if it were a text file
I figured out that the ...
0
votes
0
answers
17
views
Error with Cypress tests on LambdaTest due to invalid config file URL scheme
I'm encountering an error when running Cypress tests through LambdaTest. The error message is as follows (from the LambdaTest dashboard > Automation > Web Automation):
Your configFile is invalid:...
0
votes
0
answers
13
views
Angular 14 and Electron js Outlook integration doesn't work after creadentials given
We have used
@azure/msal-angular
For outlook integration in our system.
let result = await this.msalService
.loginPopup({
scopes: [
'user.read',
'Mail....
-3
votes
0
answers
35
views
keep coding on my Node.js application, or convert it to C++? [closed]
I'm currently stuck figuring out what I should do. My question is: should I keep coding on my Node.js application, or should I try learning enough C++ so I can convert my project to achieve better ...
0
votes
0
answers
14
views
Slack app not detecting when a message is being sent
I have a slack bot where I want to bridge a slack channel to a discord bot, but the slack part of the app refuses to detect when a message is sent in the specified channel
// Slack
const { App } = ...