angular-bootstrap-affix icon indicating copy to clipboard operation
angular-bootstrap-affix copied to clipboard

Missing mgcrea.jquery dependency

Open AppDevGuy opened this issue 7 years ago • 1 comments

When trying to run this plugin, this error appears:

Failed to instantiate module mgcrea.bootstrap.affix due to: Error: [$injector:modulerr] Failed to instantiate module mgcrea.jquery due to: Error: [$injector:nomod] Module 'mgcrea.jquery' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.

There has previously been the same issue opened, however the method to resolve goes against how a plugin should work. It also did not resolve my error, and caused issues with other packages I have installed.

I have attempted to install mcgrea.jquery which failed to resolve my woes.

Please, if you could, resolve this issue. It looks like a great package, one i'd rather not modify if I can avoid doing so.

Thank you.

AppDevGuy avatar Jun 28 '17 14:06 AppDevGuy

You are welcome to make a pull request. I will merge it. It should be pretty easy but since I don't use this anymore. I don't have time to test it.

I think you just need to add angular-jquery into dependency list in package.json.

maxisam avatar Jun 28 '17 15:06 maxisam