Topic: Error when trying to install angular mdb into existing project.
kenc free asked 5 years ago
Expected behavior Installing angular mdb into existing project which uses webpack.
Actual behavior Getting error which I don't understand at all. Can you give me any ideas?
Resources (screenshots, code snippets etc.)
When I try to upload screenshot I keep getting connection lost error. So here is the text error message:
TypeError: Object(_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdefineInjectable"]) is not a function. (In 'Object(_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdefineInjectable"])({ factory: function MdbTableService_Factory() { return new MdbTableService(); }, token: MdbTableService, providedIn: "root" })', 'Object(_angular_core__WEBPACK_IMPORTED_MODULE_9__["ɵɵdefineInjectable"])' is an instance of Object)
Closed
This topic is closed.
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Closed
- ForumUser: Free
- Premium support: No
- Technology: MDB Angular
- MDB Version: 8.4.0
- Device: iMac
- Browser: safari
- OS: iOS
- Provided sample code: No
- Provided link: No
kenc free commented 5 years ago
I believe this was caused by an older version of angular being used. I have updated all the angular versions and now have completely different errors so am closing this.