Requiring canvas crashes bot

前端 未结 0 1578
梦毁少年i
梦毁少年i 2021-01-02 03:20

I have a bot on Heroku, and if I do: const canvas = require(\'canvas\') then the bot crashes.

If I comment out that line, the bot works normally. How can

相关标签:
回答
  • 消灭零回复
提交回复
热议问题