NativeScript / NativeScript/nativescript-cli

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

未关闭
#4,619 0 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

@endarova 已经在做这个了。

开始于 2019年5月20日。

preview
主要语言
JavaScript
星标
1.1k
派生
204
平均合并
1 天 9 小时
30 天内合并 PR
8

描述

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)

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。