Olá, estou seguindo o curso com grades dificuldades. Uma delas foi mesmo ao copiar exatamente o código (cheguei a literalmente copiar o arquivo até). Apareceu um erro sempre que tento chamar o get (somente no get, no post vai certinho)
Como eu posso visualizar usando o Get?
Postman travado e erro no VSCODE:
UnhandledPromiseRejectionWarning: Error: connect ECONNREFUSED 127.0.0.1:8082
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1146:16)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:8408) 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(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 2)
(node:8408) [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:8408) UnhandledPromiseRejectionWarning: Error: connect ECONNREFUSED 127.0.0.1:8082
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1146:16)
(node:8408) 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(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 4)