Giter VIP home page Giter VIP logo

yomiage-chan's People

Contributors

amu0 avatar

Stargazers

 avatar

Watchers

 avatar

yomiage-chan's Issues

botが読み上げ時にffmpeg/avconv not found!とエラーを吐き出し読み上げない

初歩的な質問ですみません。
botが読み上げ時に

Error: FFmpeg/avconv not found!

at FFmpeg.getInfo (/app/node_modules/prism-media/src/core/FFmpeg.js:143:11)

at FFmpeg.create (/app/node_modules/prism-media/src/core/FFmpeg.js:156:38)

at new FFmpeg (/app/node_modules/prism-media/src/core/FFmpeg.js:45:27)

at Object.transformer (/app/node_modules/@discordjs/voice/dist/index.js:8:13814)

at /app/node_modules/@discordjs/voice/dist/index.js:8:16735

at Array.map (<anonymous>)

at Object.We (/app/node_modules/@discordjs/voice/dist/index.js:8:16726)

at /app/src/connectionManager.js:243:32

at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

とエラーを吐き出し読み上げない状態です

https://goody-jp.com/static%E3%81%AAffmpeg%E3%81%8C%E3%81%A8%E3%81%A6%E3%82%82useful%E3%81%A0%E3%81%A3%E3%81%9F%E8%A9%B1/
このサイトを参考しコテンナ内のbot_app_1のCLIから
wget https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-arm64-static.tar.xz
tar Jxvf ./ffmpeg-release-arm64-static.tar.xz
cp ./ffmpeg-5.0.1-arm64-static/ffmpeg /usr/local/bin/

と打ち、再起動を行ってみましたが。変わりませんでした。

TTS接続中にファイルを投げると、エラー落ちする

TTS接続中に7.66MBの辞書ファイル(.dict)を投げたら、エラー落ちした。

/app/src/connectionManager.js:70
      if (type.startsWith("image")) {
               ^

TypeError: Cannot read properties of null (reading 'startsWith')
    at /app/src/connectionManager.js:70:16
    at r.forEach (<anonymous>)
    at connectionManager.messageProcessor (/app/src/connectionManager.js:68:30)
    at Client.<anonymous> (/app/index.js:189:24)
    at Client.emit (node:events:527:28)
    at MessageCreateAction.handle (/app/node_modules/discord.js/src/client/actions/MessageCreate.js:26:14)
    at module.exports [as MESSAGE_CREATE] (/app/node_modules/discord.js/src/client/websocket/handlers/MESSAGE_CREATE.js:4:32)
    at WebSocketManager.handlePacket (/app/node_modules/discord.js/src/client/websocket/WebSocketManager.js:351:31)
    at WebSocketShard.onPacket (/app/node_modules/discord.js/src/client/websocket/WebSocketShard.js:444:22)
    at WebSocketShard.onMessage (/app/node_modules/discord.js/src/client/websocket/WebSocketShard.js:301:10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.