python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
Getting "Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client" while using Axios
I am trying to use different Axios calls to get some data from a remote server. One by one the calls are working but as soons as I call them directly after each other its throwing the error message ab...
Vale
Votes: 0
Answers: 1
Nodejs ssh2 server detect keystrokes
I'm trying to craete an interactive ssh server in nodejs which can handle a keypress on the client side like in a normal linux ssh session when you start an mc and afte you can use the arrow keys. I f...
esemve
Votes: 0
Answers: 1
return value from a function node js ssh2
how to return the values (data) of the getData function bellow?
const { Client } = require('ssh2');
const conn = new Client();
function getData() {
//i tried to assign the data to a variable but...
aldiano_febrian
Votes: 0
Answers: 1
Previously-defined variable not working in other parts of test in nightwatchjs
I'm using nightwatchjs and the ssh2 npm package to test that a file name is present in a location, and asserting that it's correct.
My code is as follows;
var Client = require('ssh2');
var conn = new ...

Darren Harley
Votes: 0
Answers: 1