Skip to content

Erro Authenticate #1

@agnaldom

Description

@agnaldom

Error na hora da autenticação

(node:5208) UnhandledPromiseRejectionWarning: MongoError: Projection cannot have a mix of inclusion and exclusion.
    at queryCallback (C:\Users\50s\agnaldo\projetos\api-nodejs\node_modules\mongodb-core\lib\cursor.js:244:25)
    at C:\Users\50s\agnaldo\projetos\api-nodejs\node_modules\mongodb-core\lib\connection\pool.js:544:18
    at process._tickCallback (internal/process/next_tick.js:61:11)
(node:5208) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:5208) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
(node:5208) UnhandledPromiseRejectionWarning: MongoError: Projection cannot have a mix of inclusion and exclusion.
    at queryCallback (C:\Users\50s\agnaldo\projetos\api-nodejs\node_modules\mongodb-core\lib\cursor.js:244:25)
    at C:\Users\50s\agnaldo\projetos\api-nodejs\node_modules\mongodb-core\lib\connection\pool.js:544:18
    at process._tickCallback (internal/process/next_tick.js:61:11)
(node:5208) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)``

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions