Invalid provider error with CACHE_PRIMED_HTTP_PROVIDERS #1444

Closed
opened 2025-08-09 17:20:10 +00:00 by fergalmoran · 0 comments
Owner

Originally created by @andreymir on 8/9/2016

Trying to use PrimeCache helper and angular2-aspnet npm package. When I pass CACHE_PRIMED_HTTP_PROVIDERS into bootstrap function I get the following error:
Uncaught Invalid provider - only instances of Provider and Type are allowed, got: [object Object]
untitled

*Originally created by @andreymir on 8/9/2016* Trying to use PrimeCache helper and angular2-aspnet npm package. When I pass CACHE_PRIMED_HTTP_PROVIDERS into bootstrap function I get the following error: Uncaught Invalid provider - only instances of Provider and Type are allowed, got: [object Object] ![untitled](https://cloud.githubusercontent.com/assets/226866/17530574/c21fb86c-5e80-11e6-86fc-095b7c92b25e.png)
fergalmoran added the P2bugangularbug labels 2025-08-09 17:20:10 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#1444
No description provided.