Video.js: Pack with webpack, mux.js caption-parser not found

Created on 16 Oct 2019  ·  9Comments  ·  Source: videojs/video.js

Description

When pack using webpack, it told me like this:

This dependency was not found:

* mux.js/lib/mp4/caption-parser in ./node_modules/video.js/dist/video.es.js

Steps to reproduce

Explain in detail the exact steps necessary to reproduce the issue.

  1. npm install video.js
  2. write "import videojs from 'video.js'"
  3. run webpack to pack

ENV

"video.js": "^7.6.5"

outdated

Most helpful comment

I fixed it by manualy installing mux.js npm install --save mux.js

All 9 comments

👋 Thanks for opening your first issue here! 👋

If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.
To help make it easier for us to investigate your issue, please follow the contributing guidelines.

Exact same issue, caption-parser is missing

Running into this as well. Any help would be appreciated :)

I fixed it by manualy installing mux.js npm install --save mux.js

我通过手动安装mux.js进行了修复 npm install --save mux.js

Have you solved it

image

  • Exact same issue
  • Fixed it by installing mux.js npm install --save mux.js
  • NOT figure out the reason

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

This dependency was not found:

  • mux.js/lib/mp4/caption-parser in ./node_modules/videojs-flash/node_modules/video.js/dist/video.es.js

To install it, you can run: npm install --save mux.js/lib/mp4/caption-parser

Was this page helpful?
0 / 5 - 0 ratings

Related issues

uikoo9 picture uikoo9  ·  4Comments

pblasi picture pblasi  ·  3Comments

cshah123 picture cshah123  ·  4Comments

stephanedemotte picture stephanedemotte  ·  4Comments

borm picture borm  ·  3Comments