ffmpeg.wasm icon indicating copy to clipboard operation
ffmpeg.wasm copied to clipboard

in umi,ffmpeg.load fail,indicate Error: Cannot find module

Open lyqline opened this issue 2 years ago • 2 comments

Describe the bug

in umi,ffmpeg.load fail,indicate:

Uncaught (in promise) Error: Cannot find module 'blob:http://127.0.0.1:8001/594fd908-516c-4e5e-9160-02a0b11302f5' at node_modules_ffmpeg_ffmpeg_dist_esm_lazy_recursive.js:14:11

To Reproduce Please provide a GitHub link or code snippet.

Expected behavior A clear and concise description of what you expected to happen.

Screenshots image image

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context Add any other context about the problem here.

lyqline avatar Aug 16 '23 11:08 lyqline

I have no experience in umijs, so it is unlikely I can help.

jeromewu avatar Aug 16 '23 13:08 jeromewu

umi need use umd standard, more detail see umi-discussions.


umi 需要使用 umd 的模块规范,具体看 umi-discussions.

tangbzai avatar Aug 25 '23 07:08 tangbzai