• Не устанавливается npm install canvas, что делать?

    @RogueQ Автор вопроса
    проделывал эти действия, ничего не изменилось.
  • Cannot read property 'get' of undefined. Как исправить?

    @RogueQ Автор вопроса
    Проблемной строки вроде нет, но если вызвать эту команду, то выдаст в терминале следующие
    UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'get' of undefined
        at Object.exports.run (D:\Kitaro\commands\status.js:14:84)
        at Client.<anonymous> (D:\Kitaro\handlers\message.js:24:29)
        at Client.emit (events.js:315:20)
        at MessageCreateHandler.handle (D:\Kitaro\node_modules\discord.js\src\client\websocket\packets\handlers\MessageCreate.js:9:34)
        at WebSocketPacketManager.handle (D:\Kitaro\node_modules\discord.js\src\client\websocket\packets\WebSocketPacketManager.js:108:65)
        at WebSocketConnection.onPacket (D:\Kitaro\node_modules\discord.js\src\client\websocket\WebSocketConnection.js:336:35)
        at WebSocketConnection.onMessage (D:\Kitaro\node_modules\discord.js\src\client\websocket\WebSocketConnection.js:299:17)
        at WebSocket.onMessage (D:\Kitaro\node_modules\ws\lib\event-target.js:120:16)
        at WebSocket.emit (events.js:315:20)
        at Receiver.receiverOnMessage (D:\Kitaro\node_modules\ws\lib\websocket.js:789:20)
    (node:14464) 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: 1)
    (node:14464) [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.