ffmpegwasm / ffmpegwasm/ffmpeg.wasm
Nuxt framework project introduction of @ffmpeg/ffmpeg
- Dominant language
- C
- Stars
- 17.8k
- Forks
- 1.1k
- PR merge metrics
- No merged PRs in 30d
Description
code:
import { createFFmpeg } from '@ffmpeg/ffmpeg'
I attempted to install the import in nuxt, but encountered an error.
Vue-cli can create a project.
I don't understand the reason
ERROR MESSAGE:
Module parse failed: Unexpected token (29:51) friendly-errors 14:28:44
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| /* From remote server/URL */
| } else {
> const res = await fetch(new URL(_data, import.meta.url).href);
| data = await res.arrayBuffer();
| }
Contributor guide
Assessment
This issue has not been assessed yet.