angular-notifier icon indicating copy to clipboard operation
angular-notifier copied to clipboard

TypeError: this.finishPromiseResolver is not a function

Open NaLLiFFuNT opened this issue 7 years ago • 10 comments

Hi, sometimes i get following crash report from my bugtracker.

` TypeError: this.finishPromiseResolver is not a function

File "/usr/src/app/node_modules/angular-notifier/src/services/notifier-timer.service.js" line 60 col 1 in t.finish this.finishPromiseResolver();

File "/usr/src/app/node_modules/angular-notifier/src/services/notifier-timer.service.js" line 46 col 1 in [anonymous] _this.finish();

File "/usr/src/app/node_modules/zone.js/dist/zone.js" line 425 col 1 in t.invokeTask task.callback.apply(applyThis, applyArgs);

File "/usr/src/app/node_modules/@angular/core/@angular/core.es5.js" line 3881 col 1 in Object.onInvokeTask return delegate.invokeTask(target, task, applyThis, applyArgs);

File "/usr/src/app/node_modules/zone.js/dist/zone.js" line 424 col 1 in t.invokeTask this._invokeTaskZS.onInvokeTask(this._invokeTaskDlgt, this._invokeTaskCurrZone, t...

File "/usr/src/app/node_modules/zone.js/dist/zone.js" line 192 col 1 in r.runTask return this._zoneDelegate.invokeTask(this, task, applyThis, applyArgs);

File "/usr/src/app/node_modules/zone.js/dist/zone.js" line 499 col 1 in e.invokeTask return task.zone.runTask(task, target, args);

File "/usr/src/app/node_modules/zone.js/dist/zone.js" line 488 col 1 in ZoneTask return ZoneTask.invokeTask.apply(global, [self, this, arguments]);

File "/usr/src/app/node_modules/zone.js/dist/zone.js" line 2040 col 1 in patchTimer task.invoke.apply(this, arguments); `

I use both polyfils the lib is required. import 'web-animations-js'; import 'web-animations-js/web-animations-next.min.js'; It occurred in Google Chrome & Yandex Browser which is based on Chrome.

NaLLiFFuNT avatar Feb 06 '18 11:02 NaLLiFFuNT

Hm, that's interesting ... this would mean that the timer finishes before it even starts. Any chance you can reproduce this issue, perhaps in a GitHub repo?

dominique-mueller avatar Feb 06 '18 11:02 dominique-mueller

I have no idea how users do it :) It occurs seldom but bug exists.

NaLLiFFuNT avatar Feb 06 '18 12:02 NaLLiFFuNT

Weird ...

dominique-mueller avatar Feb 06 '18 17:02 dominique-mueller

are there any updates to this issue?

Jmfelton avatar Jan 18 '19 20:01 Jmfelton

Hello. I m also getting this random error, it happens when I use the service multiple times at the same time

rwpino avatar Apr 09 '19 15:04 rwpino

Same here. It happened on IE 11.

DerekLiang avatar Nov 06 '19 17:11 DerekLiang

Hello, firstly i want to thank you for the library. I really like the designs of the notifications. Regarding this issue, are there any updates?

anc93 avatar Jul 08 '20 14:07 anc93

Any updates?

gpalsingh avatar Oct 08 '20 13:10 gpalsingh

+1, still a problem

Brachacz avatar Mar 10 '21 09:03 Brachacz

+1 Still an Issue

Stankman avatar May 14 '21 21:05 Stankman