Skip to content

'Unexpected token' compile error #2

@ncul777

Description

@ncul777

In My setup, electron 9, react 16.6, I get the following compilation error

`./node_modules/@diffusion-studio/ffmpeg-js/dist/ffmpeg-js.js 24:62
Module parse failed: Unexpected token (24:62)
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.
    | e = await (await fetch(o)).arrayBuffer(),
    | s = new Blob([e], {
type: t[((i = o.split(".")) == null ? void 0 : i.at(-1)) ?? "js"]

| });
| return URL.createObjectURL(s);
`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions