NativeScript / NativeScript/nativescript-cli

Failed to find module: "nativescript-vue-devtools"

Open
#4,619 0 comments 0 reactions 1 assignee View on GitHub

@endarova is already working on this.

Since May 20, 2019.

preview
Dominant language
JavaScript
Stars
1.1k
Forks
204
Avg merge
1d 9h
Merged PRs (30d)
8

Description

Plugin nativescript-socketio is not included in preview app on device ab48407b-6b3c-4a07-84fc-1b72b4ef2b09 and will not work.
Start sending initial files for platform android.
Successfully sent initial files for platform android.
LOG from device Galaxy S8+: com.tns.NativeScriptException:

Error calling module function

Error calling module function

Error: com.tns.NativeScriptException: Failed to find module: "nativescript-vue-devtools", 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:6217)
android.app.ActivityThread.access$1200(ActivityThread.java:237)
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1785)
android.os.Handler.dispatchMessage(Handler.java:106)
android.os.Looper.loop(Looper.java:214)
android.app.ActivityThread.main(ActivityThread.java:7045)
java.lang.reflect.Method.invoke(Native Method)
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:965)
File: ", line: 1, column: 265

StackTrace:
Frame: function:'require', file:'', line: 1, column: 266
Frame: function:'nativescript-vue-devtools', file:'file:///data/data/org.nativescript.preview/files/app/bundle.js', line: 503, column: 18
Frame: function:'webpack_require', file:'file:///data/data/org.nativescript.preview/files/app/bundle.js', line: 76, column: 30
Frame: function:'', file:'file:///data/data/org.nativescript.preview/files/app/bundle.js', line: 420, column: 83
Frame: function:'./main.js', file:'file:///data/data/org.nativescript.preview/files/app/bundle.js', line: 470, column: 30
Frame: function:'webpack_require', file:'file:///data/data/org.nativescript.preview/files/app/bundle.js', line: 76, column: 30
Frame: function:'checkDeferredModules', file:'file:///data/data/org.nativescript.preview/files/app/bundle.js', line: 45, column: 23
Frame: function:'', file:'file:///data/data/org.nativescript.preview/files/app/bundle.js', line: 149, column: 18
Frame: function:'', file:'file:///data/data/org.nativescript.preview/files/app/bundle.js', line: 152, column: 10
Frame: function:'require', file:'', line: 1, column: 266
Frame: function:'', file:'file:///data/data/org.nativescript.preview/files/app/starter.js', line: 2, column: 1
Frame: function:'require', file:'', line: 1, column: 266

Error: com.tns.NativeScriptException: Failed to find module: "nativescript-vue-devtools", 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:6217)
android.app.ActivityThread.access$1200(ActivityThread.java:237)
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1785)
android.os.Handler.dispatchMessage(Handler.java:106)
android.os.Looper.loop(Looper.java:214)
android.app.ActivityThread.main(ActivityThread.java:7045)
java.lang.reflect.Method.invoke(Native Method)
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:965)
File: ", line: 1, column: 265

StackTrace:
Frame: function:'require', file:'', line: 1, column: 266
Frame: function:'nativescript-vue-devtools', file:'file:///data/data/org.nativescript.preview/files/app/bundle.js', line: 503, column: 18
Frame: function:'webpack_require', file:'file:///data/data/org.nativescript.preview/files/app/bundle.js', line: 76, column: 30
Frame: function:'', file:'file:///data/data/org.nativescript.preview/files/app/bundle.js', line: 420, column: 83
Frame: function:'./main.js', file:'file:///data/data/org.nativescript.preview/files/app/bundle.js', line: 470, column: 30
Frame: function:'webpack_require', file:'file:///data/data/org.nativescript.preview/files/app/bundle.js', line: 76, column: 30
Frame: function:'checkDeferredModules', file:'file:///data/data/org.nativescript.preview/files/app/bundle.js', line: 45, column: 23
Frame: function:'', file:'file:///data/data/org.nativescript.preview/files/app/bundle.js', line: 149, column: 18
Frame: function:'', file:'file:///data/data/org.nativescript.preview/files/app/bundle.js', line: 152, column: 10
Frame: function:'require', file:'', line: 1, column: 266
Frame: function:'', file:'file:///data/data/org.nativescript.preview/files/app/starter.js', line: 2, column: 1
Frame: function:'require', file:'', line: 1, column: 266

Error: com.tns.NativeScriptException: Failed to find module: "nativescript-vue-devtools", 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:6217)
android.app.ActivityThread.access$1200(ActivityThread.java:237)
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1785)
android.os.Handler.dispatchMessage(Handler.java:106)
android.os.Looper.loop(Looper.java:214)
android.app.ActivityThread.main(ActivityThread.java:7045)
java.lang.reflect.Method.invoke(Native Method)
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:965)
File: ", line: 1, column: 265

StackTrace:
Frame: function:'require', file:'', line: 1, column: 266
Frame: function:'nativescript-vue-devtools', file:'file:///data/data/org.nativescript.preview/files/app/bundle.js', line: 503, column: 18
Frame: function:'webpack_require', file:'file:///data/data/org.nativescript.preview/files/app/bundle.js', line: 76, column: 30
Frame: function:'', file:'file:///data/data/org.nativescript.preview/files/app/bundle.js', line: 420, column: 83
Frame: function:'./main.js', file:'file:///data/data/org.nativescript.preview/files/app/bundle.js', line: 470, column: 30
Frame: function:'webpack_require', file:'file:///data/data/org.nativescript.preview/files/app/bundle.js', line: 76, column: 30
Frame: function:'checkDeferredModules', file:'file:///data/data/org.nativescript.preview/files/app/bundle.js', line: 45, column: 23
Frame: function:'', file:'file:///data/data/org.nativescript.preview/files/app/bundle.js', line: 149, column: 18
Frame: function:'', file:'file:///data/data/org.nativescript.preview/files/app/bundle.js', line: 152, column: 10
Frame: function:'require', file:'', line: 1, column: 266
Frame: function:'', file:'file:///data/data/org.nativescript.preview/files/app/starter.js', line: 2, column: 1
Frame: function:'require', file:'', line: 1, column: 266

    at com.tns.Runtime.runModule(Native Method)
    at com.tns.Runtime.runModule(Runtime.java:624)
    at com.tns.Runtime.run(Runtime.java:616)
    at com.tns.NativeScriptApplication.onCreate(NativeScriptApplication.java:21)
    at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1154)
    at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6217)
    at android.app.ActivityThread.access$1200(ActivityThread.java:237)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1785)
    at android.os.Handler.dispatchMessage(Handler.java:106)
    at android.os.Looper.loop(Looper.java:214)
    at android.app.ActivityThread.main(ActivityThread.java:7045)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:965)

Contributor guide

Open the contributing guide

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.