[x] bug report => Search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Sorry, we will not be able to answer every support request. Please consider other venues for support requests
ng-packagr produces error on ngxDraggable: "Expected 0 arguments, but got 1."
Current behavior
<table class="table">
<tbody ngxDroppable>
<ng-container *ngFor="let row of data">
<tr ngxDraggable>
some item
</tr>
</ng-container>
</tbody>
</table>
Ngx-dnd is added to the project and works correctly. However when I try to build package to send to npm usingng-packagr I get error:
Building Angular Package
Building entry point 'ngx-easy-table'
Rendering Stylesheets
Rendering Templates
Compiling TypeScript sources through ngc
BUILD ERROR
node_modules/@swimlane/ngx-dnd/release/components/container/container.component.html(11,7): : Directive DraggableDirective, Expected 0 arguments, but got 1.
node_modules/@swimlane/ngx-dnd/release/components/container/container.component.html(11,7): : Directive DraggableDirective, Expected 0 arguments, but got 1.
src/app/ngx-easy-table/components/base/base.component.ts.BaseComponent.html(16,11): : Directive DraggableDirective, Expected 0 arguments, but got 1.
src/app/ngx-easy-table/components/base/base.component.ts.BaseComponent.html(16,11): : Directive DraggableDirective, Expected 0 arguments, but got 1.
Error: node_modules/@swimlane/ngx-dnd/release/components/container/container.component.html(11,7): : Directive DraggableDirective, Expected 0 arguments, but got 1.
node_modules/@swimlane/ngx-dnd/release/components/container/container.component.html(11,7): : Directive DraggableDirective, Expected 0 arguments, but got 1.
src/app/ngx-easy-table/components/base/base.component.ts.BaseComponent.html(16,11): : Directive DraggableDirective, Expected 0 arguments, but got 1.
src/app/ngx-easy-table/components/base/base.component.ts.BaseComponent.html(16,11): : Directive DraggableDirective, Expected 0 arguments, but got 1.
I'm submitting a ...
ng-packagr
produces error onngxDraggable
: "Expected 0 arguments, but got 1."Current behavior
Ngx-dnd is added to the project and works correctly. However when I try to build package to send to npm using
ng-packagr
I get error: