Closed ranuser99 closed 7 years ago
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
Any suggestions?
Thank you!
To update, I worked around the issue by bringing migrating the code into our project.
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
Any suggestions?
Thank you!