Ionic 4 error
dodomui opened this issue · comments
dodomui commented
I'd like to setup Google Analytics for Ionic 4.
While I try to declare in app.module.ts providers: [GoogleAnalytics].
Receive below error
compiler.js:2430 Uncaught Error: Invalid provider for the NgModule 'AppModule' - only instances of Provider and Type are allowed, got: [?[object Object]?, ...]
victor sosa commented
this is a angular provider configuration issue.