All Questions
Tagged with javascript node.js
177,512
questions
-2
votes
0
answers
14
views
Stripe Connect Payouts API
I am creating an application in which users can add their bank accounts in the application and from admin side I want to send the payouts to their bank accounts. I am using Node.js and Stripe.js (In ...
-1
votes
0
answers
2
views
req.headers.authorization is undefined
So I've been trying to implement JWT authorization for my project, and there's this specific step that I've been stuck for hours... So I have a middleware setup to try and verify the access token ...
0
votes
1
answer
14
views
The input in searchbar disappears when i click on any other space/part of the browser of when i click tab button
import React, { useState, useEffect, useRef } from "react";
import { useNavigate } from "react-router-dom";
import axios from "axios";
import Autocomplete from "@mui/...
-2
votes
0
answers
21
views
Why res.clearCookie() is not working after deploying to vercel?
First of all, everything works fine when running on localhost.
However, after deploying the app to Vercel when the user tries to log out it should clear cookies with res.clearCookie() but it doesn't ...
0
votes
3
answers
26
views
How can I store the response of my axios get request as json in node.js?
I'm trying to send a request to an api using axios and store the json response in a variable. When I output the response to the console, it shows it, but when setting a variable equal to it and ...
0
votes
0
answers
16
views
NoSuchElementError: no such element: Unable to locate element: {"method":"xpath","selector":"//select[@id='InputPrefix']"}
when i created seperate stepdefinition classes like Given, When,Then the automation script usin findElement etc.. is not reading in when and then step.js but its reading in given.js file what mistake ...
-2
votes
0
answers
20
views
Server is started successfully but getapi is not loading in nodesjs [closed]
I am working on an Express.js application and encountered an issue with routing. Here is what I have done so far:
Controller:
exports.dummyLink = (req, res) => {
res.send("this is your dummy ...
-1
votes
0
answers
20
views
Node Media Server Problems
I'm trying to setup a livestreaming website and I'm encountering problems when trying to host node media server on my Ubuntu 20.04 VPS. Basically whenever the user starts the livestream it works when ...
-1
votes
0
answers
29
views
Get the langauge belonging to the given country
Using the node package: npm install countries-list, found here (where there is a bit of info on usage:
https://www.npmjs.com/package/countries-list
We have countries which gives us an object of all ...
-8
votes
0
answers
37
views
You need to run the program installed on Windows [closed]
You need to run the program installed on Windows (C:\Program Files\Spark\Spark.exe) in the program window on NodeJS Electron. How to implement it? It is in the window, not separately!
const { app, ...
-3
votes
0
answers
23
views
Java Script Error occured in main process [closed]
Cannot find module 'C:\Program Files\Microsoft VS Code\resources\app\out\main
Hello Guys when i try to push update from SCCM only few users getting the error i have tried many solutions nothing works ...
0
votes
0
answers
17
views
Any IDE work with import typescript nodejs, react, libs correctly in monorepo style? [closed]
Let me give more context. In a previous monorepo, we could load any microservice in Intellij IDE (java based) and it would load the microservice and all libraries it depended on. Basically, we ...
0
votes
1
answer
62
views
Nodejs Server Sent Events reading undefined at the javascript front-end
I am working with mobile wallet gateway for user on a website pay for a service. I need to send every stage and what the server is currently doing all the way to waiting for user response that is ...
1
vote
0
answers
18
views
max-old-space-size not working while executing webpack command to build bundle
i have been getting javascript heap out of memory error while running webpack command to build my project
i have tried to put 4GB memory allocation to node for executing webpack
this is the ...
0
votes
0
answers
25
views
Run a backend server upon start in electron app
I have an electron app (created using electron forge) that uses Flask (python) for the backend. I'd like to start the whole application (flask and electron) from electron itself by starting a child ...