angular-notifier
angular-notifier copied to clipboard
TypeError: this.finishPromiseResolver is not a function
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.
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?
I have no idea how users do it :) It occurs seldom but bug exists.
Weird ...
are there any updates to this issue?
Hello. I m also getting this random error, it happens when I use the service multiple times at the same time
Same here. It happened on IE 11.
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?
Any updates?
+1, still a problem
+1 Still an Issue