Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Angular Fusion Charts does not work bulding with Angular ESBuild #192

Open
rnogueira-namoadigital opened this issue Jul 10, 2024 · 0 comments

Comments

@rnogueira-namoadigital
Copy link

rnogueira-namoadigital commented Jul 10, 2024

I cloned the project and changed the anguar.json builder from

@angular-devkit/build-angular:browser to @angular-devkit/build-angular:browser-esbuild

After build and run, I got this error on browser:

main.ts:11 ERROR TypeError: FusionChartsModules is not a function
    at fusioncharts.service.ts:55:11
    at Array.forEach (<anonymous>)
    at _a45.resolveFusionCharts (fusioncharts.service.ts:48:15)
    at new _a45 (fusioncharts.service.ts:37:10)
    at NodeInjectorFactory._a45_Factory [as factory] (ɵfac.js:1:1)
    at getNodeInjectable (core.mjs:5984:44)
    at searchTokensOnInjector (core.mjs:5911:16)
    at lookupTokenUsingNodeInjector (core.mjs:5860:34)
    at getOrCreateInjectable (core.mjs:5772:23)
    at ɵɵdirectiveInject (core.mjs:11050:19)

Since ESBuild is the default Angular Build, we need some attention in this issue as soon as possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant