Skip to content

UnhandledPromiseRejectionWarning: ReferenceError: subtitles is not defined #118

Description

@WindedHero

I've set up a channel but I am unable to get anything to play, keeps stumbling across this error:

(node:19) UnhandledPromiseRejectionWarning: ReferenceError: subtitles is not defined
at FFMPEG.spawnError (/home/node/app/src/ffmpeg.js:45:84)
at FFMPEG. (/home/node/app/src/video.js:156:25)
at FFMPEG.emit (events.js:315:20)
at ChildProcess. (/home/node/app/src/ffmpeg.js:326:22)
at ChildProcess.emit (events.js:315:20)
at maybeClose (internal/child_process.js:1021:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
(node:19) 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: 127)

(node:19) UnhandledPromiseRejectionWarning: ReferenceError: subtitles is not defined
at FFMPEG.spawnError (/home/node/app/src/ffmpeg.js:45:84)
at FFMPEG. (/home/node/app/src/video.js:156:25)
at FFMPEG.emit (events.js:315:20)
at ChildProcess. (/home/node/app/src/ffmpeg.js:326:22)
at ChildProcess.emit (events.js:315:20)
at maybeClose (internal/child_process.js:1021:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
(node:19) 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: 127)

I am on :dev branch to enable forced direct play.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions