ui-pager icon indicating copy to clipboard operation
ui-pager copied to clipboard

angular version unusable, publishing failed?

Open benedictstrube opened this issue 2 years ago • 2 comments

When attempting to build our app after installing the latest version of the pager plugin, I get errors like:

ERROR in ../node_modules/@nativescript-community/ui-pager/angular/fesm2015/nativescript-community-ui-pager-angular.mjs 215:12-29
Can't import the named export 'ɵɵqueryRefresh' from non EcmaScript module (only default export is available)

and

ERROR in ../node_modules/@nativescript-community/ui-pager/angular/fesm2015/nativescript-community-ui-pager-angular.mjs 351:37-60
Can't import the named export 'ChangeDetectionStrategy' from non EcmaScript module (only default export is available)

There are various errors like this (probably around 50) printed to the console that all affect the plugin.

We are using Angular 11.2.13 and Nativescript 8.0.11.

Is this something somebody else experiences with Nativescript Angular? Is it maybe related to a publishing mistake of the plugin?

benedictstrube avatar Mar 07 '22 06:03 benedictstrube

fyi: version 13.0.21 is the last version of the Pager plugin that does not show this behaviour.

benedictstrube avatar Mar 07 '22 06:03 benedictstrube

It might be because of the old version of Angular you are using. I'm using this in a project with Angular 13 and it works fine.

keerl avatar Mar 08 '22 17:03 keerl