Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
0 votes
0 answers
17 views

EJS isn't being rendered

I'm making a rock, scissors, paper game on the backend of Node.js with express server, frontend.js client-side, index.ejs and main.css files. I firstly want to render a string line of the result of ...
Yuval Yanay's user avatar
0 votes
0 answers
9 views

NodeJS WebRTC - RTCAudioSource - Expected a .byteLength of 480, not 2770

I'm trying to have my nodejs backend act as a peer that streams pcm audio to the browser via webrtc (https://github.com/WonderInventions/node-webrtc). (let's assume it's the only way to achieve what I ...
Royi Bernthal's user avatar
-3 votes
0 answers
25 views

Stripe Connect Payouts API [closed]

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 ...
Hammad Umar's user avatar
-1 votes
0 answers
15 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 ...
BabyBeginner's user avatar
0 votes
1 answer
28 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/...
ismail sakhani's user avatar
-2 votes
0 answers
22 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 ...
Z-i-n-k-s's user avatar
0 votes
3 answers
30 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 ...
LanSsd Sdftytgk's user avatar
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 ...
R Rubika's user avatar
-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 ...
Rahul Raj's user avatar
-1 votes
0 answers
26 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 ...
Alfie Frost's user avatar
-1 votes
0 answers
30 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 ...
user1960836's user avatar
  • 1,750
-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, ...
UserAndroidDeveloper's user avatar
-3 votes
0 answers
24 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 ...
Nishanth teja's user avatar
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 ...
Dean Hiller's user avatar
  • 19.8k
0 votes
1 answer
64 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 ...
code46's user avatar
  • 147

15 30 50 per page
1
2 3 4 5
11839