Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70429

Cannot resolve all parameters for 'CustomComponent'(undefined, HttpClient). Make sure that all the parameters are decorated with Inject

$
0
0

@sp33k3rph433k wrote:

Hi all!

I'm trying to build an ionic app that's pretty loosely based on an angular 2 app that I've got up and running. In the process, I'm reorganizing a little and running into some problems that I didn't have on my web app. For example, I get the following error:


Cannot resolve all parameters for 'DashboardWorkoutComponent'(undefined, HttpClient). Make sure that all the parameters are decorated with Inject or have valid type annotations and that 'DashboardWorkoutComponent' is decorated with Injectable.

Here's the code I've got (into gists so it's easier to see):

I didn't have this problem on the angular app, but the user-dashboard page was a component there, so am I not just understanding how to inject components into pages?

Thanks!

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 70429

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>