Skip to content

SalesRep as a ListPicker#56

Open
wantero wants to merge 4 commits intoprogress:developfrom
wantero:develop
Open

SalesRep as a ListPicker#56
wantero wants to merge 4 commits intoprogress:developfrom
wantero:develop

Conversation

@wantero
Copy link

@wantero wantero commented Apr 11, 2019

PR Checklist

[Describe the impact of the changes here. Please include issue # if applicable.]
Add SalesRep as a ListPicker.

@joshualan
Copy link
Contributor

joshualan commented Apr 26, 2019

@wantero I tried just running this app.

Steps:

  1. Cloned your branch
  2. tns create myapp --template /path/to/your/branch
  3. tns preview
  4. Checked this on Android and iOS phones via NativeScript Preview app and both had this error:
Error calling module function

Error: com.tns.NativeScriptException: Failed to find module: "@progress/jsdo-core", relative to: app/tns_modules/
    com.tns.Module.resolvePathHelper(Module.java:146)
    com.tns.Module.resolvePath(Module.java:55)
    com.tns.Runtime.runModule(Native Method)
    com.tns.Runtime.runModule(Runtime.java:624)
    com.tns.Runtime.run(Runtime.java:616)
    com.tns.NativeScriptApplication.onCreate(NativeScriptApplication.java:21)
    android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1154)
    android.app.ActivityThread.handleBindApplication(ActivityThread.java:6204)
    android.app.ActivityThread.access$1200(ActivityThread.java:236)
    android.app.ActivityThread$H.handleMessage(ActivityThread.java:1784)
    android.os.Handler.dispatchMessage(Handler.java:106)
    android.os.Looper.loop(Looper.java:214)
    android.app.ActivityThread.main(ActivityThread.java:7032)
    java.lang.reflect.Method.invoke(Native Method)
    com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:494)
    com.android.internal.os.ZygoteInit.main(ZygoteInit.java:965)
File: "<unknown>, line: 1, column: 265

StackTrace:
	Frame: function:'require', file:'', line: 1, column: 266
	Frame: function:'', file:'file:///data/data/org.nativescript.preview/files/app/shared/progress.service.js', line: 3, column: 19
	Frame: function:'require', file:'', line: 1, column: 266
	Frame: function:'', file:'file:///data/data/org.nativescript.preview/files/app/login/login.component.js', line: 8, column: 26
	Frame: function:'require', file:'', line: 1, column: 266
	Frame: function:'', file:'file:///data/data/org.nativescript.preview/files/app/app-routing.module.js', line: 5, column: 25
	Frame: function:'require', file:'', line: 1, column: 266
	Frame: function:'', file:'file:///data/data/org.nativescript.preview/files/app/app.module.js', line: 6, column: 28
	Frame: function:'require', file:'', line: 1, column: 266
	Frame: function:'', file:'file:///data/data/org.nativescript.preview/files/app/main.js', line: 5, column: 20
	Frame: function:'require', file:'', line: 1, column: 266

Unsure whether this has to do with an npm issue or if it's on your end

@wantero
Copy link
Author

wantero commented Apr 29, 2019

@joshualan,

I did the same steps and got the same error using tns preview on iOS. I try tns run android and it´s running on android studio emulator.

I made a git clone from project repository (https://github.com/progress/template-master-detail-progress-ng.git) and got the same error using tns preview.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants