question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

AOT : "Supplied parameters do not match any signature of call target"

See original GitHub issue

I’m submitting a …

[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 When building with AOT, I got the error :

[at-loader] Checking finished with 26 errors Error in bail mode: [at-loader] compiled/node_modules/@swimlane/ngx-charts/release/bar-chart/bar-horizontal-2d.component.ngfactory.ts:784:35 TS2346: Supplied parameters do not match any signature of call target.

Please tell us about your environment: I’m using the AngularClass webpack seed

  • ngx-charts version: 4.2.1
  • Angular version: 2.4.6
capture d ecran 2017-03-11 a 16 12 38

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

6reactions
CaerusKarucommented, Mar 25, 2017

Will this be resolved soon in a minor/patch release? Getting the same thing still using angular-cli with AoT (which no longer masks the warnings)

3reactions
botmonstercommented, Mar 14, 2017

I confirm this with following versions:

  • ngx-charts version: 4.3.0
  • Angular version: 2.4.9

Full error output:

ERROR in [at-loader] compiled\node_modules\@swimlane\ngx-charts\release\bar-chart\bar-horizontal-2d.component.ngfactory.ts:784:35
    TS2346: Supplied parameters do not match any signature of call target.

ERROR in [at-loader] compiled\node_modules\@swimlane\ngx-charts\release\bar-chart\bar-horizontal-2d.component.ngfactory.ts:788:35
    TS2346: Supplied parameters do not match any signature of call target.

ERROR in [at-loader] compiled\node_modules\@swimlane\ngx-charts\release\bar-chart\bar-horizontal-normalized.component.ngfactory.ts:746:35
    TS2346: Supplied parameters do not match any signature of call target.

ERROR in [at-loader] compiled\node_modules\@swimlane\ngx-charts\release\bar-chart\bar-horizontal-normalized.component.ngfactory.ts:750:35
    TS2346: Supplied parameters do not match any signature of call target.

ERROR in [at-loader] compiled\node_modules\@swimlane\ngx-charts\release\bar-chart\bar-horizontal-stacked.component.ngfactory.ts:746:35
    TS2346: Supplied parameters do not match any signature of call target.

ERROR in [at-loader] compiled\node_modules\@swimlane\ngx-charts\release\bar-chart\bar-horizontal-stacked.component.ngfactory.ts:750:35
    TS2346: Supplied parameters do not match any signature of call target.

ERROR in [at-loader] compiled\node_modules\@swimlane\ngx-charts\release\bar-chart\bar-vertical-2d.component.ngfactory.ts:782:35
    TS2346: Supplied parameters do not match any signature of call target.

ERROR in [at-loader] compiled\node_modules\@swimlane\ngx-charts\release\bar-chart\bar-vertical-2d.component.ngfactory.ts:786:35
    TS2346: Supplied parameters do not match any signature of call target.

ERROR in [at-loader] compiled\node_modules\@swimlane\ngx-charts\release\bar-chart\bar-vertical-normalized.component.ngfactory.ts:746:35
    TS2346: Supplied parameters do not match any signature of call target.

ERROR in [at-loader] compiled\node_modules\@swimlane\ngx-charts\release\bar-chart\bar-vertical-normalized.component.ngfactory.ts:750:35
    TS2346: Supplied parameters do not match any signature of call target.

ERROR in [at-loader] compiled\node_modules\@swimlane\ngx-charts\release\bar-chart\bar-vertical-stacked.component.ngfactory.ts:746:35
    TS2346: Supplied parameters do not match any signature of call target.

ERROR in [at-loader] compiled\node_modules\@swimlane\ngx-charts\release\bar-chart\bar-vertical-stacked.component.ngfactory.ts:750:35
    TS2346: Supplied parameters do not match any signature of call target.

ERROR in [at-loader] compiled\node_modules\@swimlane\ngx-charts\release\bubble-chart\bubble-chart.component.ngfactory.ts:696:41
    TS2339: Property 'clipPathId' does not exist on type 'BubbleChartComponent'.

ERROR in [at-loader] compiled\node_modules\@swimlane\ngx-charts\release\force-directed-graph\force-directed-graph.component.ngfactory.ts:207:35
    TS2346: Supplied parameters do not match any signature of call target.

ERROR in [at-loader] compiled\node_modules\@swimlane\ngx-charts\release\gauge\gauge-axis.component.ngfactory.ts:131:7
    TS2346: Supplied parameters do not match any signature of call target.

ERROR in [at-loader] compiled\node_modules\@swimlane\ngx-charts\release\gauge\gauge-axis.component.ngfactory.ts:373:50
    TS2339: Property 'big' does not exist on type 'any[]'.

ERROR in [at-loader] compiled\node_modules\@swimlane\ngx-charts\release\gauge\gauge-axis.component.ngfactory.ts:376:50
    TS2339: Property 'big' does not exist on type 'any[]'.

ERROR in [at-loader] compiled\node_modules\@swimlane\ngx-charts\release\gauge\gauge-axis.component.ngfactory.ts:379:50
    TS2339: Property 'small' does not exist on type 'any[]'.

ERROR in [at-loader] compiled\node_modules\@swimlane\ngx-charts\release\heat-map\heat-map.component.ngfactory.ts:642:48
    TS2339: Property 'onActivate' does not exist on type 'HeatMapComponent'.

ERROR in [at-loader] compiled\node_modules\@swimlane\ngx-charts\release\heat-map\heat-map.component.ngfactory.ts:646:48
    TS2339: Property 'onDeactivate' does not exist on type 'HeatMapComponent'.

ERROR in [at-loader] compiled\node_modules\@swimlane\ngx-charts\release\pie-chart\advanced-pie-chart.component.ngfactory.ts:342:44
    TS2339: Property 'labels' does not exist on type 'AdvancedPieChartComponent'.

ERROR in [at-loader] compiled\node_modules\@swimlane\ngx-charts\release\pie-chart\pie-label.component.ngfactory.ts:300:67
    TS2346: Supplied parameters do not match any signature of call target. ```
Read more comments on GitHub >

github_iconTop Results From Across the Web

Supplied parameters do not match any signature of call target ...
On compiling this with AOT getting below error: PRINHYLTPAP0592:matata ajays$ ng build --prod --aot /myApp/src/$$_gendir/app/image-uploader/ ...
Read more >
Supplied parameters do not match any signature of call target ...
When upgrade to angular 4 and angular\cli 1.0.0 getting this error when compiling with AOT: ERROR in ng:///C:/ProjentName/node_modules/angular2- ...
Read more >
Supplied parameters do not match any signature of call target
Supplied parameters do not match any signature of call target. Quickest fix is to do const BodyAny:any = Body and use BodyAny ....
Read more >
Angular2 AOT编译出现Supplied parameters do not match any ...
原因:函数调用时的参数与函数定义时的参数不匹配,如: go(path:string,param:s...,CodeAntenna技术文章技术问题代码片段及聚合.
Read more >
报错Supplied parameters do not match any signature of call target_ ...
问题原因是html所绑定的方法与ts页面的方法参数不一致导致的.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found