ng2-idle icon indicating copy to clipboard operation
ng2-idle copied to clipboard

Uncaught TypeError: Object(...) is not a function

Open santhoshrajuvysyaraju opened this issue 6 years ago • 3 comments

I Got this error while integrating my application with ng2-idle.

Here is the Error I got

Uncaught TypeError: Object(...) is not a function at eval (eventtargetinterruptsource.js:39) at Array.map () at DocumentInterruptSource.EventTargetInterruptSource [as constructor] (eventtargetinterruptsource.js:39) at new DocumentInterruptSource (documentinterruptsource.js:21) at createDefaultInterruptSources (index.js:16) at eval (index.js:19) at Object../node_modules/@ng-idle/core/index.js (vendor.bundle.js:471) at webpack_require (inline.bundle.js:55) at eval (app.component.ts:7) at Object../src/app/app.component.ts (main.bundle.js:50)

Please help me to solve the issue.

Thanks In Advance.

santhoshrajuvysyaraju avatar Jul 25 '18 13:07 santhoshrajuvysyaraju

Try this

npm install --save @ng-idle/[email protected] @ng-idle/[email protected]

reach2deep avatar Jul 30 '18 03:07 reach2deep

Great!!!. Thanks @HackedByChinese

nilesh121196 avatar Oct 15 '18 08:10 nilesh121196

I am on angular 6 still have this issue

redsan74 avatar Oct 23 '18 19:10 redsan74