Questions

Login to create Question


db.collection(...).findOne(...).project is not a function

getting following error with NodeJS MongoDB driver db.collection(...).findOne(...).project is not a function

Views: 348

6 months ago by megamind

Error while starting NodeJS application - Error: listen EADDRINUSE :::80

Getting following exception while starting my NodeJS application Error: listen EADDRINUSE :::80

Views: 1267

1 year ago by ffc

Unable to run NodeJS application on 80 port

Unable to run NodeJS application on 80 port, getting error 'Error: listen EACCES 0.0.0.0:80'

Views: 973

1 year ago by ffc

Error while deploying NodeJS app into Google App Engine

Getting the following exception while deploying NodeJS application into Google App Engine Updating service [default] (this may take several minutes)... ...........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................failed. ERROR: (gcloud.app.deploy) Error Response: [4] Your deployment has failed to become healthy in the allotted time and therefore was rolled back. If you believe this was an error, try adjusting the 'app_start_timeout_sec' setting in the 'readiness_check' section.

Views: 275

1 year ago by ffc

Unable to update npm using npm i -g npm to update

While using npm i -g npm to update to update my npm i am getting permission denied issues.

Views: 334

2 years ago by ffc

Exception while accessing PM2 - Error: connect EACCES /home/ubuntu/.pm2/rpc.sock

I am getting exception 'Error: connect EACCES /home/ubuntu/.pm2/rpc.sock' for all pm2 commands

Views: 247

2 years ago by ffc

How to fix FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory

FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory Exception while running NodeJS application

Views: 2520

2 years ago by ffc

NodeJS + MongoDB Error: read ECONNRESET Issue

Fixing NodeJs + MongoDB errors due to network glitches

Views: 2094

2 years ago by ffc

How to fix 'the server/replset/mongos options are deprecated, all their options are supported at the top level of the options object' in NodeJs

Fixing the warning message while establishing mongoDB connection - the server/replset/mongos options are deprecated, all their options are supported at the top level of the options object

Views: 796

2 years ago by ffc