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
473,517
questions
0
votes
0
answers
10
views
Getting a lot of errors in this aws-sdk server mainly in websockets
I am getting multiple warning and errors but I am not able to debug them
The delay between the input submitted and the server is extremely long (approx 90 sec) with increases with more emit functions ...
0
votes
0
answers
10
views
Subscriptions public on postgraphile
Currently I have a project that has a middleware where it checks that each subscription has in the request the jwt:
` if (config.graphileConfig?.subscriptions === true) {
// Subscriptions have ...
0
votes
0
answers
32
views
Having trouble running a project locally/ npm install, dependency issues
I am trying to run an example project locally. Its a full stack project so it needs to access a mongodb database. I downloaded the project files, and ran npm install so I could get everything set up, ...
0
votes
0
answers
16
views
Node js web app Auction how become more secure? [closed]
I don't know why my web app written in node.js with Express, Socket.io and AXIOS give me multiple errors, this is the code:
Client:
document.addEventListener('DOMContentLoaded', () => {
const ...
0
votes
0
answers
36
views
I can't import my User model on my new service files, it says undefined
I have an express.js application. It contains several models and the User model is one of them.
When I tried to import the User model in my new service files, I got 'TypeError: Cannot read properties ...
0
votes
1
answer
20
views
How to configure axios to use SSL certificate with an umbrella proxy pac?
We're trying to use axios to contact some APÏ using a proxy pac umbrella.
We're using the conf we've seen around here but have the same error as this topic :
How to configure axios to use SSL ...
1
vote
1
answer
36
views
ng not found error when building Angular project using dockerfile
I came into a very strange issue yesterday. I have been working on an Angular project and deploying using docker. Everything works fine till yesterday, all of sudden I cannot build the docker image. ...
0
votes
2
answers
57
views
Why does creating a React/Vite app take so much time?
I'm trying to make a simple app with React but I'm stuck at the first step. It doesn't seem to do anything at all. Tried with both npx create-react-app and npm create vite@latest:
It's stuck on the ...
0
votes
0
answers
9
views
MaxListenersExceededWarning:Possible EventEmitter memory leak detected.11 close listeners added to [TLSSocket]
this is the error that i encounter whenever i try to install packages. how do i fix it? i am not an advanced developer so kindly be as descriptive as possible
(node:6461) MaxListenersExceededWarning: ...
-3
votes
1
answer
35
views
Serverless S3 Sync is invalid
I was getting started with serverless everything was fine until i used S3Sync to upload data to my bucket, this is my yml file i also installed serverless-s3-sync plugin using yarn before using sls ...
-1
votes
0
answers
18
views
They are on the same network but they can't see each other
I wrote a website (NEXTJS + node js + express + postgresql). This website will run on LAN. That's why I ran both Next js (frontend) and nodejs (backend) sides over HTTPS, Now it should be accessible ...
0
votes
1
answer
56
views
Why can't we deploy to the app engine with nodejs version 20?
Since this morning we are not able to deploy to the app engine on GCP.
We recieve this kind of error message.
ERROR: (gcloud.app.deploy) INVALID_ARGUMENT: Error(s) encountered validating runtime. Your ...
0
votes
0
answers
29
views
How to read a file from url with Node.js and Electron
How can I read a file with nodejs, even json, from url?
My file is on a server. I tried with ftp download but it is very inefficient.
Now is working on this, but is very slow for download and running.....
1
vote
1
answer
196
views
Strange memory/IO errors when building nextjs/node app inside docker
I have Linux server with 1.3T of nvme ssd, and 64gb of ram memory.
There is production app based on latest nextjs and nod. So I have docker-compose with container for the frontend where I just copy ...
0
votes
0
answers
17
views
ASTRO / SendGrid - Redirecting when sending is successful or gives error
I have an issue with Astro.redirect. It constantly gives me an error: "AstroError [ResponseSentError]: The response has already been sent to the browser and cannot be altered"
I just want to ...