nativescript-community / nativescript-community/ui-pager

angular version unusable, publishing failed?

Open
#13 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
21
Forks
14
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the build with Angular 11.2.13, NativeScript 8.0.11, and the latest pager plugin. Inspect the published angular/fesm2015/nativescript-community-ui-pager-angular.mjs artifact and compare its exports with the reported errors. Done means the app builds without the plugin's named-export errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, typescript
Domain
frontend, mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.