Open Zaniyar opened 5 years ago
make sure the version of angular you're using is compatible https://github.com/angulartics/angulartics2/blob/master/README.md#dependencies
@scttcper I think I am using the right versions:
"@angular-redux/store": "^9.0.0",
"@angular/animations": "^7.0.0",
"@angular/cdk": "^7.0.0",
"@angular/common": "^7.0.0",
"@angular/compiler": "^7.0.0",
"@angular/core": "^7.0.0",
**"angulartics2": "^7.5.2",**
I got nothing dog
I get the same error when using clicky with angular universal. The error happens when running the prerender task which is executed in a node environment. Hence, the scripts are not properly loaded and the clicky
symbol doesn't exist.
Is there any way to disable clicky conditionally (i.e. in this case when execution happens in a node environment)?
I am trying to use clicky on my project. But I get this error.
Before I got to the error above, I had these errors, which prevented from run:
in node_modules\angulartics2\fesm2015\angulartics2.js node_modules\angulartics2\clicky\fesm2015\angulartics2-clicky.js
after removing the "ee" from each "eedefinedInjectable" and "eeinject" I could run the project and then in the browser console I got the "clicky is not defined" error.