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

AOT compiling errors with 2.2.3 #370

Closed
timwright35 opened this issue Dec 14, 2016 · 2 comments
Closed

AOT compiling errors with 2.2.3 #370

timwright35 opened this issue Dec 14, 2016 · 2 comments

Comments

@timwright35
Copy link
Contributor

I'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
When you try to compile your project in AOT mode it gives errors coming from Angular2-Data-Table.

ERROR in [default] /var/www/html/scheel_refactor/src/compiled/node_modules/angular2-data-table/release/components/body/body-row.component.ngfactory.ts:222:45
Property '$colGroup' does not exist on type 'DataTableBodyRowComponent'.

ERROR in [default] /var/www/html/scheel_refactor/src/compiled/node_modules/angular2-data-table/release/components/body/body-row.component.ngfactory.ts:222:93
Property '$colGroup' does not exist on type 'DataTableBodyRowComponent'.

ERROR in [default] /var/www/html/scheel_refactor/src/compiled/node_modules/angular2-data-table/release/components/header/header.component.ngfactory.ts:270:45
Property 'colGroup' does not exist on type 'DataTableHeaderComponent'.

ERROR in [default] /var/www/html/scheel_refactor/src/compiled/node_modules/angular2-data-table/release/components/header/header.component.ngfactory.ts:270:92
Property 'colGroup' does not exist on type 'DataTableHeaderComponent'.

ERROR in [default] /var/www/html/scheel_refactor/src/compiled/node_modules/angular2-data-table/release/directives/resizeable.directive.ngfactory.ts:71:34
Supplied parameters do not match any signature of call target.

Expected behavior
The project compiles without errors from Angular2-Data-Table

Reproduction of the problem
Try compiling a project with Angular2-Data-Table as a lib in AOT mode

What is the motivation / use case for changing the behavior?

Please tell us about your environment:
Using https://github.com/qdouble/angular-webpack2-starter as the seed the lib was added to

  • Table version: 0.7.x
    2.2.3

  • Angular version: 2.0.x
    2.3.0

  • Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
    No clue

  • Language: [all | TypeScript X.X | ES6/7 | ES5]

@gitbufenshuo
Copy link

I got this issue too.
[typescript - 2.0.10]
[Angular - 2.3.0]
[Angular2-data-table - 2.2.3]
all beginning with the [Angular2 Hero Edit Seed].

@amcdnl
Copy link
Contributor

amcdnl commented Dec 16, 2016

Fixed in 2.3.0 ... release coming shortly.

@amcdnl amcdnl closed this as completed Dec 16, 2016
amcdnl added a commit that referenced this issue Dec 16, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants