[英]I want to use fluent-ffmpeg module
I want to ask about video convert in JS.我想问一下JS中的视频转换。 I chose the
fluent-ffmpeg
module to do that.我选择了
fluent-ffmpeg
模块来做到这一点。
But, when I imported that in JS file, something happen like the picture below:但是,当我在 JS 文件中导入它时,会发生如下图所示的情况:
So, I went in package.json file, and this module exists in file:所以,我进入了 package.json 文件,这个模块存在于文件中:
What's the problem in this case?在这种情况下有什么问题? I guess it is problem about version, but what do I have to check first?
我想这是版本的问题,但我必须先检查什么?
Your package.json is correct the thing you need to do is add @types/fluent-ffmpeg to your dev dependencies to get hinting !您的 package.json 是正确的,您需要做的是将 @types/fluent-ffmpeg 添加到您的开发依赖项以获得提示! https://www.npmjs.com/package/@types/fluent-ffmpeg
https://www.npmjs.com/package/@types/fluent-ffmpeg
npm i --save-dev @types/fluent-ffmpeg
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.