ffmpegwasm / ffmpegwasm/ffmpeg.wasm

Nuxt framework project introduction of @ffmpeg/ffmpeg

Open
#566 3 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.