skip to Main Content

Mongodb – This Serverless Function has timed out

I create a chat app using mern stack. After deploy server in vercel. but it is not work. there is a error in vercel log. Legacy server listening... MongoServerError: bad auth : authentication failed at Connection.onMessage (/var/task/node_modules/mongoose/node_modules/mongodb/lib/cmap/connection.js:207:30) at MessageStream.<anonymous> (/var/task/node_modules/mongoose/node_modules/mongodb/lib/cmap/connection.js:60:60)…

VIEW QUESTION

I have table that uses, angular material. I have also added matSort on the table. I could see that first column of my table is not sorting any idea? – Html

TS : ngOnChanges() { this.dataSource = new MatTableDataSource<Data>(this.someData); //work order data this.dataSource.paginator = this.paginator; this.dataSource.sort = this.sort; } HTML : <table mat-table [dataSource]="dataSource" matSort> <!-- column which does not sort is : --> <ng-container matColumnDef="Name"> <th mat-header-cell *matHeaderCellDef mat-sort-header> Name…

VIEW QUESTION
Back To Top
Search