Skip to content

[Build fails] The vuex dependency leads to errors at building in Version 3.1.2 #10

@egekorkan

Description

@egekorkan

Comes up when

  • npm install
  • npm run electron:serve OR npm run electron:build

Problem

When the vuex dependency is installed in Version 3.1.2 by npm, multiple Errors are thrown during building (depending on wade-branch around 60 errors). They all have a similar reason (difference is only the involved variable), an throw in different files, e.g.:

137:42 Property 'currentTabId' does not exist on type 'CombinedVueInstance<Vue, unknown, unknown, { id: unknown; getTdTabbar: any; }, Readonly<Record<never, any>>>'.

Workaround

In package.json replace

vuex: "^3.1.1"

with

vuex: "3.1.1"

then run npm update vuex. Now building should work.

Fix

The workaround above is also applied to the ak_dev branch in private Fork and will be merged into the wade-master branch. Then the commit should be mentioned in this issue and the issue can be closed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions