Hi Guys ,
In this blog I will share information related to error : ReferenceError: MongoClient is not defined .
This error is related to the node.js code which is trying to connect to the database . To fix this check the following lines of code highlighted in yellow . You need to make sure module mongodb is imported and the MongoClient is referenced using the variable .
In this blog I will share information related to error : ReferenceError: MongoClient is not defined .
This error is related to the node.js code which is trying to connect to the database . To fix this check the following lines of code highlighted in yellow . You need to make sure module mongodb is imported and the MongoClient is referenced using the variable .
Please make changes to the code and retest . Hope this will help you in resolving this issue .
No comments:
Post a Comment