Questions tagged [nodejs-server]

405 questions
1
vote
1 answer

Discord bot to check if a minecraft server is online

I was wondering if anyone knew of a discord bot that will send a message in a discord sever when a minecraft server is online and send a message when it goes back offline I've done some googling and can't seem to find one that does what I want there…
Lucas
  • 598
  • 9
  • 18
1
vote
0 answers

Incomplete response received from application in nodejs selector server

so as the title mention my app works on google cloud, heroku, and ovh.. but i can't get it to work on directadmin nodejs selector static pages are served but can't login due to "Incomplete response received from application"
nab
  • 568
  • 8
  • 20
1
vote
1 answer

How to process huge array of objects in nodejs

I want to process array of length around 100 000, without putting too much load on CPU. I researched about streams and stumbled upon highlandjs, but i am unable to make it work. I also tried using promises and processing in chunks but still it is…
1
vote
1 answer

Apollo Server health check not getting called

This is a basic issue which I followed the documentation and it is not working as expected, please shed some light. So, I am creating a grapqhl server with Apollo-Server and trying to get the health-check url working that is given here…
Ankur Verma
  • 5,793
  • 12
  • 57
  • 93
1
vote
0 answers

swagerUi adding token globally to Authorize in swagger ui

I have added header in individual route for sending token but what i am trying is , adding token in Authorize in swagger ui once so that I don't have to send token in header in every individual route. I have tried with adding securityDefinitions as…
1
vote
2 answers

Couldn't call method inside method controller in route Nodejs Express Typescript

I got two classes; authenticationRoutes.ts and authenticationController.ts. In authenticationRoutes I'm calling 'authenticationController.test', the 'authenticationController.test' method calls 'authenticationController.generateAccessAuthToken'…
Jaime Ginorio
  • 153
  • 12
1
vote
0 answers

How to link xml file and java to my node js?

I am an IT trainee and my boss assigned me to make a code in which the web application that we're developing will scan the Bluetooth status (if it is on or off) of the user's device. I looked about the sample codes in the net but most of them shows…
mae tanaka
  • 42
  • 6
1
vote
1 answer

How to select a single field for documents in a MongoDB collection?

I tried get(selected values) query in mongodb.that query in working fine in mongodb shell .but I tried to run node js it not working it showing all data.how to fix it. query db.collection('olc_prod_db_category').find({name: { $nin:['DISCONTINUE',…
smith hari
  • 437
  • 1
  • 11
  • 22
1
vote
2 answers

Running Heroku app not showing the changes in the uploaded files

I push updates to Heroku git push Heruko master then go and run my app from the Heroku page and the changes are not showing in the running app. If I run bash and look at the files on Heroku, the changes are in the files. It shows "Everything is…
1
vote
2 answers

How to update data using _id in node_js and mongodb

I tried crud operation using node js and mongodb.all crud operation is working fine expect update method.I tried to find and update method but its showing error.how to fix it. updated method db.collection('Ecommerce').updateOne({ _id:new…
1
vote
0 answers

Node.js server is constantly returning MaxListenersExceededWarning

My production server is returning the following error: MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 81 wakeup listeners added. Use emitter.setMaxListeners() to increase limit 1|pro_app | 2019-03-19 15:59:01:…
1
vote
0 answers

uv__queue_done: Assertion `((req->loop)->active_reqs.count > 0)' failed?

Recently we are testing Node.js with C++ addon for request processing scalability. Please follow the below steps for more understanding: We registered a callback function of the Node.js in C++ addon..which is called (callback) from the C++ addon…
0
votes
1 answer

Nodejs - Push MQTT Client response to front end

I am very new to nodejs and want to push an MQTT client-received message to the server front-end. I have managed to get an MQTT listener that will write received data to the console via console.log, and I also have used express to create a simple…
0
votes
1 answer

When redirect from SSLCommerz then success_url: pages can not showing content

when redirecting URL then showing this error My server is nodeJS but when redirecting my specific pages from SSLCommerzsuccess_url: I can not show my pages when I hit the redirect URL manually and then show this page info;
0
votes
0 answers

how to fetch data from node js backend to react js front end

I am attempting to retrieve data from a Node.js + MongoDB backend to a React.js frontend. To ensure secure access, I'm utilizing a JWT token for authentication. There are two distinct APIs available for data retrieval: one that doesn't require a JWT…