Nativescript-vue: Quick Start causes crash

Created on 17 Feb 2019  路  3Comments  路  Source: nativescript-vue/nativescript-vue

I followed the quickstart guide on the website here: https://nativescript-vue.org/en/docs/getting-started/quick-start/

I get the following error. Previously it was a more vague error but then I deleted node_moduls, platforms, and hooks folder and reinstalled.

I am trying to deploy on "Playground". The viewer app crashed after scanning the QR Code. Upon second scan I get this error.

Any Ideas?

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:1037 )
android.app .ActivityThread.handleBindApplication( ActivityThread.java:6322 )
android.app .ActivityThread.access$1800( ActivityThread.java:222 )
android.app .ActivityThread$H.handleMessage( ActivityThread.java:1862 )
android.os.Handler.dispatchMessage( Handler.java:102 )
android.os.Looper.loop( Looper.java:158 )
android.app .ActivityThread.main( ActivityThread.java:7230 )
java.lang.reflect.Method.invoke(Native Method)
com.android .internal.os.ZygoteInit$ MethodAndArgsCaller.run ( ZygoteInit.java:1230 )
com.android .internal.os.ZygoteInit.main( ZygoteInit.java:1120 )
File: "<unknown>, 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: 519, 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: 469, column: 83
Frame: function:'./main.js', file:'file:///data/data/org.nativescript.preview/files/app/bundle.js', line: 505, 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:'fil
low

Most helpful comment

Unfortunately there is no way to use VueDevtools in the playground, so when creating the application, make sure to select "No" when prompted for VueDevtools.

Thanks @rigor789, I was having a hard time fiding out what was the problem.

Commenting Vue.use(VueDevtools); does the work

All 3 comments

Your issue has been tagged as low priority because it did not follow our issue guidelines.

If you believe your issue should be higher priority please close this issue and create a new one
using the issue helper.

Thanks for your understanding.

Unfortunately there is no way to use VueDevtools in the playground, so when creating the application, make sure to select "No" when prompted for VueDevtools.

Unfortunately there is no way to use VueDevtools in the playground, so when creating the application, make sure to select "No" when prompted for VueDevtools.

Thanks @rigor789, I was having a hard time fiding out what was the problem.

Commenting Vue.use(VueDevtools); does the work

Was this page helpful?
0 / 5 - 0 ratings