Boa noite, esse erro é da ultima versão do projeto do curso Rest com NodeJS: API com Express
PS C:\Users\felipe.ribeiro\00 ws-default\Node\nodejs-api-rest-aula-5> node .\index.js conectado com sucesso consign v0.1.6 Initialized in C:\Users\felipe.ribeiro\00 ws-default\Node\nodejs-api-rest-aula-5
- .\controllers\atendimentos.js Servidor rodando na porta 3000 Tabela Atendimentos criada com sucesso Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info. Arguments: [0] isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: Invalid date, _f: undefined, _strict: undefined, _locale: [object Object] Error at Function.createFromInputFallback (C:\Users\felipe.ribeiro\00 ws-default\Node\nodejs-api-rest-aula-5\nodemodules\moment\moment.js:319:25) at configFromString (C:\Users\felipe.ribeiro\00 ws-default\Node\nodejs-api-rest-aula-5\node_modules\moment\moment.js:2536:19) at configFromInput (C:\Users\felipe.ribeiro\00 ws-default\Node\nodejs-api-rest-aula-5\node_modules\moment\moment.js:2977:13) at prepareConfig (C:\Users\felipe.ribeiro\00 ws-default\Node\nodejs-api-rest-aula-5\node_modules\moment\moment.js:2960:13) at createFromConfig (C:\Users\felipe.ribeiro\00 ws-default\Node\nodejs-api-rest-aula-5\node_modules\moment\moment.js:2927:44) PS C:\Users\felipe.ribeiro\00 ws-default\Node\nodejs-api-rest-aula-5> node .\index.jsconectado com sucesso consign v0.1.6 Initialized in C:\Users\felipe.ribeiro\00 ws-default\Node\nodejs-api-rest-aula-5
- .\controllers\atendimentos.js Servidor rodando na porta 3000 Tabela Atendimentos criada com sucesso Deprecation warning: value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info. Arguments: [0] isAMomentObject: true, _isUTC: false, _useUTC: false, _l: undefined, _i: Invalid date, _f: undefined, _strict: undefined, _locale: [object Object] Error at Function.createFromInputFallback (C:\Users\felipe.ribeiro\00 ws-default\Node\nodejs-api-rest-aula-5\nodemodules\moment\moment.js:319:25) at configFromString (C:\Users\felipe.ribeiro\00 ws-default\Node\nodejs-api-rest-aula-5\node_modules\moment\moment.js:2536:19) at configFromInput (C:\Users\felipe.ribeiro\00 ws-default\Node\nodejs-api-rest-aula-5\node_modules\moment\moment.js:2977:13) at prepareConfig (C:\Users\felipe.ribeiro\00 ws-default\Node\nodejs-api-rest-aula-5\node_modules\moment\moment.js:2960:13) at createFromConfig (C:\Users\felipe.ribeiro\00 ws-default\Node\nodejs-api-rest-aula-5\node_modules\moment\moment.js:2927:44) at createLocalOrUTC (C:\Users\felipe.ribeiro\00 ws-default\Node\nodejs-api-rest-aula-5\node_modules\moment\moment.js:3021:16) at createLocal (C:\Users\felipe.ribeiro\00 ws-default\Node\nodejs-api-rest-aula-5\node_modules\moment\moment.js:3025:16) at hooks (C:\Users\felipe.ribeiro\00 ws-default\Node\nodejs-api-rest-aula-5\node_modules\moment\moment.js:16:29) at Atendimento.adiciona (C:\Users\felipe.ribeiro\00 ws-default\Node\nodejs-api-rest-aula-5\models\atendimentos.js:9:30) at C:\Users\felipe.ribeiro\00 ws-default\Node\nodejs-api-rest-aula-5\controllers\atendimentos.js:17:21