skip to Main Content

Amazon web services – ( session: options?.session, ^ SyntaxError: Unexpected token '.')mongoose give a error deploying in instance ubuntu aws

I have this error while using mongoose: /var/www/node-api/node_modules/mongoose/node_modules/mongodb/lib/admin.js:62 session: options?.session, ^ SyntaxError: Unexpected token '.' I reinstalled node_modules but I always get the same problem. For mongoose and my connection in my device it worked correctly.

VIEW QUESTION
Back To Top
Search