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
with
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.