Peer5/videojs-contrib-hls.js

gulp/browserify: Cannot find module 'videojs-contrib-hls.js'

ranuser99 opened this issue · 1 comments

Error when creating a bundle using gulp and browserify:

Error: Cannot find module 'videojs-contrib-hls.js'

Any clues on what may be happening here? I create a bundle of all 3rd party packages using a line like this in gulp.js:

extLibPackageNames.forEach(function (name) { browserify.require(name); });

All other packages work, including react, videojs, videojs-contrib-media-sources, hls.js, etc. The only problem is videojs-contrib-hls.js

  1. I have removed and re-installed the package.
  2. Confirmed node_path
  3. Cleared node-cache

Any suggestions?

Thank you!

To update, I worked around the issue by bringing migrating the code into our project.