Open anmol5varma opened 1 year ago
You have only installed @ffmpeg/ffmpeg, check the docs they also install @ffmpeg/core with it as well or @ffmpeg/util depends on the version. if using ffmpeg verion 0.11.x install @ffmpeg/core if >= 0.12.x install @ffmpeg/util
Describe the bug Following react example as per https://ffmpegwasm.netlify.app/#demo, the build gives an error. Compiled with problems: × ERROR in ./node_modules/@ffmpeg/ffmpeg/src/browser/defaultOptions.js 6:92-166 Module not found: Error: Can't resolve '/node_modules/@ffmpeg/core/dist/ffmpeg-core.js' in '/Users/anmolvarma/personal/new-things/guitar-chords/kareoke-app/node_modules/@ffmpeg/ffmpeg/src/browser'
To Reproduce Steps to reproduce the behavior:
npm i @ffmpeg/ffmpeg
npm start
Expected behavior The app should build successfully.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context Add any other context about the problem here.