meta-magic / amexio.github.io

Amexio is a rich set of Angular 7 (170+) components powered by HTML5 & CSS3 for Responsive Design and with 80+ Material Design Themes, UI Components, Charts, Gauges, Data Point Widgets, Dashboards. Amexio is completely Open Sourced and Free. It's based on Apache 2 License. You can use it in your production grade work today at no cost or no obligation.
http://www.amexio.tech
Apache License 2.0
167 stars 72 forks source link

unable to build AOT #124

Closed vikram06 closed 5 years ago

vikram06 commented 5 years ago

I'm submitting a...


[ ] Regression (a behavior that used to work and stopped working in a new release)
[ X] Bug report  
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request

Current behavior

While running and JIT working fine.But when build AOT getting ERROR in node_modules\amexio-ng-extensions\amexio-ng-extensions.d.ts.ɵci.html(3,50): : Expected 1 arguments, but got 2.

Expected behavior

Expecting AOT Build success

Environment


Angular version: 7.2.0


Browser:
- [X ] Chrome (desktop) version XX
- [ ] Chrome (Android) version XX
- [ ] Chrome (iOS) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] Safari (iOS) version XX
- [ ] IE version XX
- [ ] Edge version XX

rashmithakkar commented 5 years ago

Please take the amexio-ng-extensions(v5.11.1) update.

Thanks

vikram06 commented 5 years ago

Thanks @rashmithakkar Now getting

ERROR in ./node_modules/amexio-ng-extensions/amexio-ng-extensions.es5.js 61:9
Module parse failed: Identifier '__extends' has already been declared (61:9)
You may need an appropriate loader to handle this file type.
|     return extendStatics(d, b);
| };
> function __extends(d, b) {
|     extendStatics(d, b);
|     function __() { this.constructor = d; }
priyavenkat95 commented 5 years ago

I am also facing the same error. Is there any solution for this error?

vikram06 commented 5 years ago

No updates from @rashmithakkar . So i switched to an another framework.

priyavenkat95 commented 5 years ago

I want to know which framework did you use?

rashmithakkar commented 5 years ago

@priyavenkat95 May I please know which amexio version are you using?

vikram06 commented 5 years ago

@priyavenkat95 I am using e-charts

priyavenkat95 commented 5 years ago

I am using amexio versions are "amexio-chart-d3": "0.1.9", "amexio-ng-extensions": "5.18.0"

rashmithakkar commented 5 years ago

@priyavenkat95 Can you share the versions of Angular CLI, Node and Angular that you are using?

priyavenkat95 commented 5 years ago

@rashmithakkar I am using Angular CLI: 7.3.9 Node: 8.10.0 Angular: 7.2.15

rashmithakkar commented 5 years ago

@priyavenkat95 Can you please take the update of amexio 5.18.1 and do tell if you are still facing the issue.

priyavenkat95 commented 5 years ago

@rashmithakkar Thanks for your response. My problem was fixed. I downgrade the versions like "amexio-chart-d3": "0.1.1", "amexio-ng-extensions": "5.5.3". It works perfectly for my problem.