C:\Users\morte\Desktop\slave-bot>cd ./src & ts-node main.ts & pause
(node:5628) UnhandledPromiseRejectionWarning: Error: Request failed with status code 403
at createError (C:\Users\morte\Desktop\slave-bot\node_modules\axios\lib\core\createError.js:16:15)
at settle (C:\Users\morte\Desktop\slave-bot\node_modules\axios\lib\core\settle.js:17:12)
at IncomingMessage.handleStreamEnd (C:\Users\morte\Desktop\slave-bot\node_modules\axios\lib\adapters\http.js:260:11)
at IncomingMessage.emit (events.js:327:22)
at IncomingMessage.EventEmitter.emit (domain.js:467:12)
at endReadableNT (internal/streams/readable.js:1327:12)
at processTicksAndRejections (internal/process/task_queues.js:80:21)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:5628) 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
). (rejection id: 2)
(node:5628) [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.
Что делать ?