angular2-cookie-law.js:77 Uncaught TypeError: Object(...) is not a function
at angular2-cookie-law.js:77
at Object. (angular2-cookie-law.js:79)
at webpack_require (bootstrap a3035af3e3185551034c:54)
at Object.655 (main.ts:5)
at webpack_require (bootstrap a3035af3e3185551034c:54)
at Object.533 (Utility.ts:39)
at __webpack_require__ (bootstrap a3035af3e3185551034c:54)
at webpackJsonpCallback (bootstrap a3035af3e3185551034c:25)
I am getting this error when i am trying to run my application. I am using ionic 3 and angular 5. I have installed rxjs-compat as well but this error still shows up.
angular2-cookie-law.js:77 Uncaught TypeError: Object(...) is not a function at angular2-cookie-law.js:77 at Object. (angular2-cookie-law.js:79)
at webpack_require (bootstrap a3035af3e3185551034c:54)
at Object.655 (main.ts:5)
at webpack_require (bootstrap a3035af3e3185551034c:54)
at Object.533 (Utility.ts:39)
at __webpack_require__ (bootstrap a3035af3e3185551034c:54)
at webpackJsonpCallback (bootstrap a3035af3e3185551034c:25)
I am getting this error when i am trying to run my application. I am using ionic 3 and angular 5. I have installed rxjs-compat as well but this error still shows up.