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

Questions tagged [node.js]

Node.js is an event-based, non-blocking, asynchronous I/O runtime that uses Google's V8 JavaScript engine and libuv library. It is used for developing applications that make heavy use of the ability to run JavaScript both on the client as well as on the server side and therefore benefit from the re-usability of code and the lack of context switching.

0 votes
0 answers
30 views

how to test localhost API from docker container

I am a little new to docker and I trying to figure out how to use docker compose. So far I have only created a test API called "http://localhost:3000/test" which would just return a "...
Danh Nguyen's user avatar
1 vote
1 answer
22 views

Get Redis keys that match a pattern in v4

I was using Redis version 3 in my Node.js app that published a message. To publish this message, I was able to fetch specific keys that matched a value. Now I have updated to version 4, and it looks ...
Manuel Duarte's user avatar
0 votes
0 answers
15 views

Typescript: Circular Definition and Cannot Find Module Errors During Build

I cloned a project from GitHub and encountered some issues while trying to build it. I've already installed all the necessary dependencies using npm install, and I'm running MongoDB through the mongo ...
dawid_Pascal's user avatar
1 vote
0 answers
19 views

Two node_modules folders in a React and Tailwind project [closed]

I first installed React (with TypeScript) then added Tailwind to the project as it's documented on their website here and this resulted in two node_modules folders and two package.json files in the ...
Nerdenberg's user avatar
-1 votes
0 answers
18 views

ESP32 http.post request to a NodeJS server results in lag/freezing and a -2 http.responsStatusCode

I have a project wherein hits detected from an electronic dart board are transmitted from an ESP32-WROOM, over WiFi, to a NodeJS server running on Windows. On a fresh boot of the Arduino everything ...
Christopher K's user avatar
1 vote
0 answers
17 views

Evaluate a user provided logic statement in React

I have a JS object. I need to validate that object against a condition / logic statement that was provided via a CMS. let logicFromCMS = "user.properties.phone.length != 10" if (...
majestiq's user avatar
  • 565
1 vote
0 answers
19 views

How to disable auto-setting of `packageManager` when corepack is enabled

In Node.js, when corepack is enabled, any yarn, pnpm or npm command will auto-set packageManager field in package.json. This is a breaking change for some projects, since having packageManager means ...
Ilia Sidorenko'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
0 votes
0 answers
19 views

after restarting the page in the browser, the player stops loading

I have a problem which is that when I start icecast server on ubuntu and not only on ubuntu but also on windows regardless of the operating system, when I first go to the radio station in icecast2 ...
Uximy's user avatar
  • 43
-1 votes
0 answers
27 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
0 votes
0 answers
13 views

genSourceMapUrl - Cannot create a string longer than 0x1fffffe8 characters

I am not the greatest at node build issues. ERROR Internal server error: Cannot create a string longer than 0x1fffffe8 characters ...
Jamie Marshall's user avatar
0 votes
0 answers
22 views

Installing Angular npm error code ECONNRESET npm error syscall read npm error errno -4077 npm error network read ECONNRESET

I am trying to install angular using npm. I installed Angular with no errors but when I do ng new test it creates the files but does not get past the installing stage. I am under a corporate network ...
NimsTay's user avatar
0 votes
0 answers
22 views

Remove Cypress dependency from higher environments [duplicate]

I have cypress as a dependency in my package.json for my next.js app. Cypress is installing some dependencies that have security vulnerabilities when it does a yarn install. I really only need Cypress ...
joshpopelka20's user avatar
0 votes
0 answers
23 views

How to know when $merge as completed in MongoDB

I have an aggregation pipeline ending with a $merge stage. db.collection("mycoll").aggregate([..., {$merge:{into:"myview"}}]) I have to generate materialized views at run-time and ...
Jean-Samuel Girard'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

15 30 50 per page
1 2 3
4
5
22