Topic: Error in loading esm5/ng-uikit-pro-standard.es5.js
Hi,I have bought the pro version and want to import Toast module.I have downloaded the files in zip and the folder I got I put in nodemodules.The imports are possible for both the ToastModule and ToastService from this folder.But I get this:ERROR in ./node_modules/ng-uikit-pro-standard/esm5/ng-uikit-pro-standard.es5.js Module parse failed: Unexpected token (1:14) You may need an appropriate loader to handle this file type. | kiimport * as tslib_1 from \"tslib\";
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
Open
Specification of the issue
- User: Pro
- Premium support: No
- Technology: MDB Angular
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No
Damian Gemza staff commented 7 years ago
Dear Bares, I need to ask you because something isn't clear to me. Did you downloaded our zip package and then copied the code from that zip into node_modules directory? Why? Also, are you trying to use that zip as a standalone project, or you're trying to add zip into your existing project? If you're trying to add zip into an existing project, please try to reproduce your case on our blank MDB Angular Pro zip, and check if the problem still exists. If not, that's the case. If yes, please let me know, and I'll try to help you. Best Regards, Damian