Open t0mhan opened 4 years ago
Working fine for "nativescript-pager": "^12.0.0-alpha.3",
I have encountered the same issue with aplha.5. its working with: "nativescript-pager": "^12.0.0-alpha.3",
What version of nativescript angular are y’all using .5+ suppose to be for usage with the scoped packages so let’s say 6.2+
My specification:
"nativescript": { "tns-ios": { "version": "6.2.0" } },
Versions:
Angular CLI: 8.3.21
Node: 13.5.0
tns: 6.2.2
--> Ouch !!! Crash issue caused by double NativeScriptModule import !!!! ... it seems there's also a import of NativeScriptModule into Nativescript-pager/angular/index.js
Getting following error in new version:
ERROR in ../node_modules/nativescript-pager/angular/index.js Module not found: Error: Can't resolve '@nativescript/angular' in '/Users/psingh/Desktop/projects/ts-internal/hsa-frontend/node_modules/nativescript-pager/angular' @ ../node_modules/nativescript-pager/angular/index.js 5:16-48 @ ./packages/frame.pck/frame.module.ts @ ./app.module.ts @ ./main.ts
ERROR in ../node_modules/nativescript-pager/angular/pager-items-comp.js Module not found: Error: Can't resolve '@nativescript/angular/element-registry' in '/Users/psingh/Desktop/projects/ts-internal/hsa-frontend/node_modules/nativescript-pager/angular' @ ../node_modules/nativescript-pager/angular/pager-items-comp.js 8:25-74 @ ../node_modules/nativescript-pager/angular/index.js @ ./packages/frame.pck/frame.module.ts @ ./app.module.ts @ ./main.ts
ERROR in ../node_modules/nativescript-pager/angular/pager-items-comp.js Module not found: Error: Can't resolve '@nativescript/angular/lang-facade' in '/Users/psingh/Desktop/projects/ts-internal/hsa-frontend/node_modules/nativescript-pager/angular' @ ../node_modules/nativescript-pager/angular/pager-items-comp.js 12:20-64 @ ../node_modules/nativescript-pager/angular/index.js @ ./packages/frame.pck/frame.module.ts @ ./app.module.ts @ ./main.ts
Which platform(s) does your issue occur on?