Skip to content
This repository has been archived by the owner on Sep 23, 2020. It is now read-only.

Unknown Provider: BootswatchInterceptorProvider #12

Open
DavidMCook opened this issue Dec 26, 2017 · 1 comment
Open

Unknown Provider: BootswatchInterceptorProvider #12

DavidMCook opened this issue Dec 26, 2017 · 1 comment

Comments

@DavidMCook
Copy link

Tried adding this to an AngularJS 1.x app built by JHipster, and all looked to be fine from the sanity checks standpoint. When trying to run the application, the Maven build shows successful, but there is an error with the app itself:

Uncaught Error: [$injector:unpr] Unknown provider: BootswatchInterceptorProvider <- BootswatchInterceptor <- $http <- $templateFactory <- $view <- $state
http://errors.angularjs.org/1.5.8/$injector/unpr?p0=BootswatchInterceptorProvider%20%3C-%20BootswatchInterceptor%20%3C-%20%24http%20%3C-%20%24templateFactory%20%3C-%20%24view%20%3C-%20%24state
    at angular.js:68
    at angular.js:4511
    at Object.getService [as get] (angular.js:4664)
    at angular.js:4516
    at Object.getService [as get] (angular.js:4664)
    at angular.js:10889
    at forEach (angular.js:321)
    at $HttpProvider.$get (angular.js:10887)
    at Object.invoke (angular.js:4718)
    at angular.js:4517

My assumption is that this is a conflict with either the latest version of JHipster or with AngularJS 1.x. If so, can you please make sure to list supported/compatible versions?

@deepu105
Copy link
Member

deepu105 commented Dec 26, 2017 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants