question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Angular 7 and Ionic 4 Problem

See original GitHub issue

Animation does not work in ionic/angular project. Just shows static number.

Angular 7.2.12, Ionic 4.2.0

Console Error:

ERROR TypeError: Cannot read property 'reset' of undefined
    at CountUpDirective.push../node_modules/countup.js-angular2/fesm5/countup.js-angular2.js.CountUpDirective.animate (countup.js-angular2.js:59)
    at CountUpDirective.push../node_modules/countup.js-angular2/fesm5/countup.js-angular2.js.CountUpDirective.onClick (countup.js-angular2.js:28)
    at Object.eval [as handleEvent] (PrepHomePage.html:51)
    at handleEvent (core.js:23107)
    at callWithDebugContext (core.js:24177)
    at Object.debugHandleEvent [as handleEvent] (core.js:23904)
    at dispatchEvent (core.js:20556)
    at core.js:21003
    at HTMLHeadingElement.<anonymous> (platform-browser.js:993)
    at ZoneDelegate.push../node_modules/zone.js/dist/zone.js.ZoneDelegate.invokeTask (zone.js:423)

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
I-am-abdulazeezcommented, Sep 30, 2019

Now working,

Add Module in both app.module.ts and the component you want to use it…

Mine is result.module.ts

Answered by Stackoverflow

https://stackoverflow.com/questions/58168597/cant-bind-to-countup-since-it-isnt-a-known-property-of-h1-countup-js-angu/58170883#58170883

0reactions
inorganikcommented, Oct 3, 2019

Closing this since the answer above is the solution. Thanks @I-am-abdulazeez

Read more comments on GitHub >

github_iconTop Results From Across the Web

Angular 7 and Ionic 4 Problem · Issue #27 - GitHub
Animation does not work in ionic/angular project. Just shows static number. Angular 7.2.12, Ionic 4.2.0. Console Error: ERROR TypeError: Cannot ...
Read more >
Angular 7 + Ionic 4 build failing "TypeError: Cannot read ...
I would like some help with a problem with building my Angular 7 & Ionic 4 app... If I run ng build --prod...
Read more >
Problem on login with Ionic4 and Angular7 - Auth0 Community
I have a problem signing in from my app (Android). I switched from Ionic3 to Ionic4 and from Angular 6 to 7. Login...
Read more >
Error when implementing MDB with Angular 7 / Ionic 4
I read in this Forum I should not include the MDB Import in the App component but I read that I should place...
Read more >
Ionic 4 images slider with angular 7
Ionic 4 images slider with angular 7 ... Ionic forum expects you to try to solve your own problem first, as your attempts...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found