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.
node.js
91
questions
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 ...
-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 ...
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 (...
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 ...
-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 ...
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 ...
-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 ...
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 ...
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 ...
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 ...
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 ...
-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 ...
0
votes
1
answer
47
views
Selecting Rows By Specific Column Data in PostgreSQL
I'm trying to build a recipe finder app (PERN stack) like SuperCook but I ran into some problems with my postgres table.
Short description of the desired result. I'd like the user to select some ...
1
vote
2
answers
22
views
Building react app with github actions then pushing build to digital ocean apps
I am trying to build my react app on github actions then deploy it to digital oceans app platform. It keeps building but doesn't seem to actually be making changes, here is my actions script. I'm also ...
0
votes
0
answers
22
views
Difficulties Encrypting and Decrypting Files from AWS S3 using AWS KMS
[ Explanation ]
I am working on a problem that is proving to be pretty cumbersome, I feel as though I'm getting close to a solution but there's still difficulties I'm encountering.
I currently have a ...