-2

I want to ask about video convert in JS. I chose the fluent-ffmpeg module to do that.

But, when I imported that in JS file, something happen like the picture below:

fluent-ffmpeg import hints

So, I went in package.json file, and this module exists in file:

content of package.json

What's the problem in this case? I guess it is problem about version, but what do I have to check first?

D M
  • 5,769
  • 4
  • 12
  • 27
DAN
  • 13
  • 3

1 Answers1

-1

Your package.json is correct the thing you need to do is add @types/fluent-ffmpeg to your dev dependencies to get hinting ! https://www.npmjs.com/package/@types/fluent-ffmpeg

npm i --save-dev @types/fluent-ffmpeg
Avior
  • 481
  • 6
  • 18