nativescript-vue / nativescript-vue-devtools

A NativeScript-Vue plugin for connecting to the standalone vue-devtools
https://nativescript-vue.org/en/docs/getting-started/vue-devtools/
MIT License
28 stars 7 forks source link

Failed to find module nativescript-vue-devtools #11

Open quantumwebco opened 5 years ago

quantumwebco commented 5 years ago

Following the docs juts gives me this...

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:1162) android.app.ActivityThread.handleBindApplication(ActivityThread.java:6566) android.app.ActivityThread.access$1900(ActivityThread.java:267) android.app.ActivityThread$H.handleMessage(ActivityThread.java:1963) android.os.Handler.dispatchMessage(Handler.java:109) android.os.Looper.loop(Looper.java:207) android.app.ActivityThread.main(ActivityThread.java:7470) java.lang.reflect.Method.invoke(Native Method) com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:524) com.android.internal.os.ZygoteInit.main(ZygoteInit.java:958) 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: 562, 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: 484, column: 83 Frame: function:'./main.js', file:'file:///data/data/org.nativescript.preview/files/app/bundle.js', line: 522, 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:1162) android.app.ActivityThread.handleBindApplication(ActivityThread.java:6566) android.app.ActivityThread.access$1900(ActivityThread.java:267) android.app.ActivityThread$H.handleMessage(ActivityThread.java:1963) android.os.Handler.dispatchMessage(Handler.java:109) android.os.Looper.loop(Looper.java:207) android.app.ActivityThread.main(ActivityThread.java:7470) java.lang.reflect.Method.invoke(Native Method) com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:524) com.android.internal.os.ZygoteInit.main(ZygoteInit.java:958) 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: 562, 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: 484, column: 83 Frame: function:'./main.js', file:'file:///data/data/org.nativescript.preview/files/app/bundle.js', line: 522, 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:1162) android.app.ActivityThread.handleBindApplication(ActivityThread.java:6566) android.app.ActivityThread.access$1900(ActivityThread.java:267) android.app.ActivityThread$H.handleMessage(ActivityThread.java:1963) android.os.Handler.dispatchMessage(Handler.java:109) android.os.Looper.loop(Looper.java:207) android.app.ActivityThread.main(ActivityThread.java:7470) java.lang.reflect.Method.invoke(Native Method) com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:524) com.android.internal.os.ZygoteInit.main(ZygoteInit.java:958) 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: 562, 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: 484, column: 83 Frame: function:'./main.js', file:'file:///data/data/org.nativescript.preview/files/app/bundle.js', line: 522, 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:1162)
at android.app.ActivityThread.handleBindApplication(ActivityThread.java:6566)
at android.app.ActivityThread.access$1900(ActivityThread.java:267)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1963)
at android.os.Handler.dispatchMessage(Handler.java:109)
at android.os.Looper.loop(Looper.java:207)
at android.app.ActivityThread.main(ActivityThread.java:7470)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:524)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:958)
KhalifaGad commented 5 years ago

The same here, did you figure it out ?

KhalifaGad commented 5 years ago

There are another issue addressed this problem with using VueDevtools in the playground, you can see it here