All Questions
270
questions
0
votes
0
answers
18
views
Writing to `CONOUT$` on Windows for node.js 22
I am trying to fix a node.js package that writes directly to the console (/dev/tty in Unix-likes) in the case of Windows. It's using some internal bindings, sadly, which means it breaks with different ...
0
votes
1
answer
30
views
Nodejs - why console.log in a secondary method does not show up
In Node when I trigger another method(for sending email using nodemailer) from the main method, why the console.log of the error in sending email does not show up. I am testing the method for an ...
1
vote
0
answers
38
views
NodeJS console logging, sporadic missing carriage return
I can't seem to figure this one out.
I have tried multiple terminals.
I have a NodeJS application, that logs to a logfile and stdout, if a tty is attached. However, when logging to the terminal, ...
0
votes
1
answer
168
views
Intermediate value is not iterable reactJS error
I am trying to create a component with ant design (https://ant.design/components/tabs), but keep getting the same console error for the last item of the list
...(ticket
? menuEntities?.map((...
0
votes
2
answers
186
views
Removing console.log from React Native app in release (production) using yarn and npm for performance improvement
Using console.log statements is one of the most common patterns to debug in JavaScript applications in general, including React Native apps. Leaving the console statements in the source code when ...
0
votes
0
answers
27
views
How to display file, line and position of a piece of code on vscode terminal
I have a nodejs project with many controller files, in these files I often use console.log statement to check values. Sometimes my console.log numbers are quite large and they are not necessary so I ...
0
votes
0
answers
38
views
How to make a node js console application accessible?
I want to make a console application using Node.js but I want to make it accessible, i.e be readable by screen readers. I wanted to know what is the state of accessibility for console applications in ...
0
votes
0
answers
441
views
How to configure run command in replit using node.js to make the different files executed separately without updating configuration manually overtime
Problem
I use replit to practice code online while creating files to refer to each object in my programming study. But whenever I opened a different file and intended to run it in console (not shell),...
0
votes
0
answers
88
views
Register mouse data sequences in pseudoterminal with conpty
I'm working on a terminal emulator written in js, built on top of node-pty and now I'm testing on windows. I'm currently stuck on trying to send mouse control sequences to the terminal, which I test ...
1
vote
1
answer
201
views
How to log to console without clearing the user input line in node.js?
I am trying to find a way to have a node app where logging to the console and allowing user input is possible. That way I can have the console have logs while allowing the user to enter commands at ...
1
vote
1
answer
296
views
node:console test is producing TypeError: Console is not a constructor
I already know how to use the global implementation on console, but I would like to use the Node.js Console module. The code below is copied from the tutorial. (https://nodejs.dev/en/api/v19/console/)...
0
votes
0
answers
128
views
How to disable node.js output wrap?
code is unimportant here
So on the right, in the output It comes out like this:
Because it is wrapping the output.
Instead, it should be something like this:
`['.', '.', '.', 'W', 'O', 'O', 'O', '...
0
votes
1
answer
109
views
Is There a Way to Hide Builtin Network Error?
I'm using node.js to run my discord music bot, oops that's not the point...
The point is that I'm using soundcloud-downloader to download music, which uses axios I guess.
Whenever I type in a invalid ...
0
votes
0
answers
187
views
browser console code to change youtube video quality setting, e.g. from 360p to 144p?
browser console code in the web developer tools (inspect+q in firefox) to send commands to youtube to change the video quality setting, e.g. from 360p to 144p? Is this doable?
0
votes
1
answer
616
views
How to clear the Terminal Console in JavaScript
I am creating a RPG CLI Game with JavaScript and Node.js. I have multiple pages (menu to choose options from, the actual fight...) and I need that every time a page changes everything on the console ...