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

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

Open codytooker opened 5 years ago

codytooker commented 5 years ago

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.

matyre73 commented 4 years ago

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

alexandre-combemorel commented 4 years ago

Facing the same problem. Any update on this issue?

rigor789 commented 4 years ago

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

alexandre-combemorel commented 4 years ago

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?