首页 > 解决方案 > 当我在 Heroku 中启动我的 Discord Bot 时,npm-clipboardy 不起作用

问题描述

我在 Heroku 控制台中收到此错误:

Couldn't find the xsel binary and fallback didn't work. On Debian/Ubuntu you can install xsel with: sudo apt install xsel

我制作了我的不和谐机器人,并试图在 Heroku 中启动它,但剪贴板似乎不起作用。我使用了 Windows 10、Node 14.18.3 和 Clipboardy 2.3.0

如果有剪贴板的解决方案或替代方案,请提供帮助。

标签: javascriptnode.jsherokudiscord.jsclipboard

解决方案


推荐阅读