I am currently utilizing the compact/angular-bootstrap-lightbox library in a project where I am transitioning from RequireJS to webpack. I have encountered an error and I am uncertain whether it is due to my configuration or an issue with the module itself.
Within my webpack entry point, my code includes:
require("angular");
require("angular-bootstrap-lightbox");
...
To address these dependencies, I have taken the following steps:
npm install angular
npm install angular-bootstrap-lightbox
webpack
The outcome of this process is the following error message:
Module not found: Error: Cannot resolve module 'angular-bootstrap-lightbox' in ...
If I remove the require statement for angular-bootstrap-lightbox, Google's AngularJS imports without any issues. This leads me to believe that the problem lies within the third party module. In such a scenario, what components should they incorporate, and is there a temporary solution available?