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.

TypeError: this.sendTimer.reset is not a function

See original GitHub issue

I got

this.sendTimer = new Timer();
this.sendTimer.start({precision: 'seconds', target: {seconds: 2}});

but later, this.sendTimer.reset();

gives the bug.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
albert-gonzalezcommented, Mar 23, 2018

Hi again,

you are using a fork of this library that is published in npm with a similar name. I made improvements since that fork was made, and the actual version is 2.1.0. You can install it with:

npm install easytimer.js

Best Regards!

0reactions
albert-gonzalezcommented, Mar 23, 2018

You are welcome 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

reset is not a function in JavaScript [duplicate] - Stack Overflow
I am getting errors when I click on the reset button. Error: Uncaught TypeError: document.getElementById(...).reset is not a function. Where is ...
Read more >
All events work except for reset() · Issue #65 - GitHub
When trying to use the reset method the console says the TypeError: timer.reset is not a function. Am I doing something wrong or...
Read more >
e.reset is not a function" error occurs on an attempt to open ...
Scheduler - The "Uncaught TypeError: e.reset is not a function" error occurs on an attempt to open appointment form for the second time...
Read more >
Uncaught TypeError: this.reset is not a function at Object.j [as ...
I'm trying to set up custom video player tracking for my app since my requirements are somewhat unique and the default player tracking...
Read more >
How to reset a form using jQuery with .reset() method?
JQuery doesn't have a reset() method, but native JavaScript does. ... Media error: Format(s) not supported or source(s) not found.
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