nativescript-vue-devtools icon indicating copy to clipboard operation
nativescript-vue-devtools copied to clipboard

Vuex never changes and crashes the app when clicking on a mutation

Open codytooker opened this issue 5 years ago • 4 comments

I can connect to the Vue devtools fine. Every table seems to work at first. However when look at the vuex tab no mutation never show and when you click on the "Base State" mutation that is there by default the app crashes with the following error in the console. file:///app/webpack:/src/util.js:376:0 JS ERROR ReferenceError: Can't find variable: window NativeScript caught signal 11.

codytooker avatar Aug 14 '19 03:08 codytooker

@codytooker Did you get any solution to this problem? As I am also having the same issue.

matyre73 avatar Mar 10 '20 08:03 matyre73

Facing the same problem. Any update on this issue?

alexandre-combemorel avatar May 30 '20 05:05 alexandre-combemorel

Latest version should be working fine - I've been testing it a couple weeks ago and had no crashes or issues with the mutation list. Make sure your dependencies are up-to-date! Refer to this package.json for the versions I've been testing with: https://github.com/nativescript-vue/vue-cli-template/blob/master/template/package.json

rigor789 avatar May 30 '20 12:05 rigor789

Sorry @rigor789 for the late reply. I have the current dependencies:

"dependencies": {
    "@vue/devtools": "^5.3.3",
    "nativescript-datetimepicker": "^1.2.2",
    "nativescript-google-maps-sdk": "^2.9.1",
    "nativescript-image-cache-it": "^5.0.0-beta.20",
    "nativescript-socketio": "^3.3.1",
    "nativescript-toasty": "^3.0.0-alpha.2",
    "nativescript-vue": "^2.6.0",
    "nativescript-vue-devtools": "^1.4.0",
    "tns-core-modules": "^6.5.1",
    "vuex": "^3.3.0"
  },

just for your information, it uses to work and load the state when ever I was clicking on it. But I guess one of the plugin I added made it crash. I suspect google-maps-sdk or datetimepicker I can really remember which moment this part failed.

Any idea?

alexandre-combemorel avatar Jun 02 '20 08:06 alexandre-combemorel