ngx-graph fails in production
See original GitHub issueI’m submitting a … (check one with “x”)
[x ] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here
Current behavior ngx-graph fails in production. Getting a Static injector error (attached image of the error). It however works locally and works in production while using “ng build --prod --aot=false --build optimizer=false”. It mostly is the same issue mentioned in https://github.com/swimlane/ngx-graph/issues/105
Angular - 7.2 ngx-graph - 5.4 ngx-charts - 8.1

Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
[Solved]-ngx-graph : Build fails-angular.js - appsloveworld
The error was caused because ngx-graph had dependency on ngx-charts in earlier versions. They fixed this in version 6.0.0+ and the dependency has...
Read more >angular - ngx-graph : Build fails - Stack Overflow
It seems that previous versions of ngx-graph and ngx-charts are working correctly with AOT compilation. We have tried with "@swimlane/ngx-graph" ...
Read more >swimlane/ngx-graph - Gitter
just started with ngxgraph integration in angular 5. i am getting some error like Can't bind to 'tooltipPlacement' since it isn't a known...
Read more >@swimlane/ngx-charts - npm Package Health Analysis | Snyk
Learn more about @swimlane/ngx-charts: package health score, popularity, ... All security vulnerabilities belong to production dependencies of direct and ...
Read more >swimlane/ngx-charts/package.json - UNPKG
The CDN for @swimlane/ngx-charts. ... --display-error-details && npm run build:esm",. 22, "build:release": "cross-env NODE_ENV=production npm run build",.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Regrading the warnings version 6 will support Angular 7
@zolee I looked into #145. It might be the same but I am not sure. However I tried ng serve --aot locally and it is working fine but it fails for me locally when I execute ng serve --prod or with a production build (ng build --prod). I am not using the tooltip in the graph.