Issues with srt2subtitles install #268
Answered
by
shaishaicookie
leoruby33
asked this question in
Final Cut Pro Questions
Replies: 3 comments 1 reply
|
I'm not sure to be honest. Maybe @shaishaicookie can jump in? Did you install via Does entering Are you supplying the frame rate? For example, |
0 replies
|
@latenitefilms thanks Chris. I installed via |
0 replies
|
Thanks for reaching out! I have already resolved the issue. The problem was caused by my previous oversight of not including 'xmlbuilder2' in the dependencies. Now, everything is working perfectly.
I have just retested it. Additionally, this repository includes an SRT file that you can use for testing.
Sincerely,
Sherry
获取 Outlook for iOS<https://aka.ms/o0ukef>
…________________________________
发件人: leoruby33 ***@***.***>
发送时间: Monday, October 30, 2023 11:45:10 PM
收件人: CommandPost/FCPCafe ***@***.***>
抄送: Sherry Wang ***@***.***>; Mention ***@***.***>
主题: Re: [CommandPost/FCPCafe] Issues with srt2subtitles install (Discussion #268)
@latenitefilms<https://github.com/latenitefilms> thanks Chris. I installed via npm install --global srt2subtitles; I get the output I posted above after running srt2subtitles --help. So far I have not gone beyond entering this, so I haven't even gotten to entering the framerate or using the program.
―
Reply to this email directly, view it on GitHub<#268 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AUO3MPU473HU47SPBJF3PQLYCBX4NAVCNFSM6AAAAAA6W244JSVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TIMZQGYYTA>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
1 reply
Answer selected by
leoruby33
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I'm having some trouble installing srt2subtitles--installation of Node and the tool seem to go fine, but on running I get this output:
`When attempting to run srt2subtitles, I get the follow error:
node:internal/modules/esm/resolve:844
throw new ERR_MODULE_NOT_FOUND(packageName, fileURLToPath(base), null);
^
Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'xmlbuilder2' imported from /opt/homebrew/lib/node_modules/srt2subtitles/utils/fcpxml.js
at packageResolve (node:internal/modules/esm/resolve:844:9)
at moduleResolve (node:internal/modules/esm/resolve:901:20)
at defaultResolve (node:internal/modules/esm/resolve:1121:11)
at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:396:12)
at ModuleLoader.resolve (node:internal/modules/esm/loader:365:25)
at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:240:38)
at ModuleWrap. (node:internal/modules/esm/module_job:85:39)
at link (node:internal/modules/esm/module_job:84:36) {
code: 'ERR_MODULE_NOT_FOUND'
}
`
Any idea what I'm doing wrong here?
All reactions