Skip to content

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

Open
@codytooker

Description

@codytooker

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.

Activity

matyre73

matyre73 commented on Mar 10, 2020

@matyre73

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

alexandre-combemorel

alexandre-combemorel commented on May 30, 2020

@alexandre-combemorel

Facing the same problem. Any update on this issue?

rigor789

rigor789 commented on May 30, 2020

@rigor789
Member

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

alexandre-combemorel commented on Jun 2, 2020

@alexandre-combemorel

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @rigor789@matyre73@codytooker@alexandre-combemorel

        Issue actions

          Vuex never changes and crashes the app when clicking on a mutation · Issue #13 · nativescript-vue/nativescript-vue-devtools