Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failed to import ffmpeg-core.js #18183

Closed
nareshallakonda opened this issue Mar 12, 2024 · 3 comments
Closed

failed to import ffmpeg-core.js #18183

nareshallakonda opened this issue Mar 12, 2024 · 3 comments

Comments

@nareshallakonda
Copy link

nareshallakonda commented Mar 12, 2024

when i install ffmpeg and import { createFFmpeg, fetchFile } from '@ffmpeg/ffmpeg';
import like above , its getting like this new issue .!

./node_modules/@ffmpeg/ffmpeg/dist/umd/ffmpeg.js 55:4
Module parse failed: Unexpected character '#' (55:4)
File was processed with these loaders:

  • ./node_modules/babel-loader/lib/index.js
    You may need an additional loader to handle the result of these loaders.
    | new Error("failed to import ffmpeg-core.js");
    | class i {
#e = null;

| #t = {};
| #s = {};

@alexander-akait
Copy link
Member

Please update webpack to the latest version

@nareshallakonda
Copy link
Author

Please update webpack to the latest version

webpack updated latest version but getting same issue !

@alexander-akait
Copy link
Member

Check your babel-loader configuration, your options for babel doesn't support private fields

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants