gulp/browserify: Cannot find module 'videojs-contrib-hls.js'
ranuser99 opened this issue · 1 comments
ranuser99 commented
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
- I have removed and re-installed the package.
- Confirmed node_path
- Cleared node-cache
Any suggestions?
Thank you!
ranuser99 commented
To update, I worked around the issue by bringing migrating the code into our project.