Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.
This repository was archived by the owner on May 22, 2025. It is now read-only.

The request of a dependency is an expression [webpack] #862

Open
@moshfeu

Description

@moshfeu

Disclaimer: Maybe it's non issue.

I'm using this library (part of youtube-mp3-downloader) with [email protected] and I get the warning below.

As much as I understand, webpack doesn't "like" dynamically require. You can get more info here.

Version information

  • fluent-ffmpeg version: 2.1.2
  • ffmpeg version: irelevant
  • OS: macos

Expected results

This library will not cause webpack to warn

Observed results

Webpack does warn about:

/node_modules/fluent-ffmpeg/lib/options/misc.js 27:21-40
Critical dependency: the request of a dependency isan expression

Checklist

  • I tried the same with command line ffmpeg and it works correctly (hint: if the problem also happens this way, this is an ffmpeg problem and you're not reporting it to the right place) - Irelevant
  • I have included full stderr/stdout output from ffmpeg - Irelevant

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions