An Electron & Vue.js quick start boilerplate with vue-cli scaffolding, common Vue plugins, electron-packager/electron-builder, unit/e2e testing, vue-devtools, and webpack.
When I use the electron builder to build the package , then successfully installed in the pc, but when I run it ,run into this issue, error message:
C:\Users\Administrator\AppData\Local\Programs\kaka\resources\app.asar\node_modules\vuex-electron\dist\persisted-state.js:1 Uncaught Error: [Vuex Electron] Storage is not valid. Please, read the docs.
at a (C:\Users\Administrator\AppData\Local\Programs\kaka\resources\app.asar\node_modules\vuex-electron\dist\persisted-state.js:1)
at C:\Users\Administrator\AppData\Local\Programs\kaka\resources\app.asar\node_modules\vuex-electron\dist\persisted-state.js:1
at renderer.js:12
at Array.forEach ()
at new y (renderer.js:12)
at Object. (renderer.js:7)
at d (renderer.js:1)
at n (renderer.js:1)
at Object. (renderer.js:7)
at d (renderer.js:1)
a @ C:\Users\Administrator\AppData\Local\Programs\kaka\resources\app.asar\node_modules\vuex-electron\dist\persisted-state.js:1
(anonymous) @ C:\Users\Administrator\AppData\Local\Programs\kaka\resources\app.asar\node_modules\vuex-electron\dist\persisted-state.js:1
(anonymous) @ renderer.js:12
y @ renderer.js:12
(anonymous) @ renderer.js:7
d @ renderer.js:1
n @ renderer.js:1
(anonymous) @ renderer.js:7
d @ renderer.js:1
n @ renderer.js:1
(anonymous) @ renderer.js:7
d @ renderer.js:1
n @ renderer.js:1
(anonymous) @ renderer.js:7
d @ renderer.js:1
(anonymous) @ renderer.js:1
(anonymous) @ renderer.js:1
C:\Users\Administrator\AppData\Local\Programs\kaka\resources\app.asar\node_modules\vue\dist\vue.runtime.common.js:8087 Download the Vue Devtools extension for a better development experience:
https://github.com/vuejs/vue-devtools
C:\Users\Administrator\AppData\Local\Programs\kaka\resources\app.asar\node_modules\vue\dist\vue.runtime.common.js:8098 You are running Vue in development mode.
Make sure to turn on production mode when deploying for production.
See more tips at https://vuejs.org/guide/deployment.html
When I use the electron builder to build the package , then successfully installed in the pc, but when I run it ,run into this issue, error message:
C:\Users\Administrator\AppData\Local\Programs\kaka\resources\app.asar\node_modules\vuex-electron\dist\persisted-state.js:1 Uncaught Error: [Vuex Electron] Storage is not valid. Please, read the docs. at a (C:\Users\Administrator\AppData\Local\Programs\kaka\resources\app.asar\node_modules\vuex-electron\dist\persisted-state.js:1) at C:\Users\Administrator\AppData\Local\Programs\kaka\resources\app.asar\node_modules\vuex-electron\dist\persisted-state.js:1 at renderer.js:12 at Array.forEach ()
at new y (renderer.js:12)
at Object. (renderer.js:7)
at d (renderer.js:1)
at n (renderer.js:1)
at Object. (renderer.js:7)
at d (renderer.js:1)
a @ C:\Users\Administrator\AppData\Local\Programs\kaka\resources\app.asar\node_modules\vuex-electron\dist\persisted-state.js:1
(anonymous) @ C:\Users\Administrator\AppData\Local\Programs\kaka\resources\app.asar\node_modules\vuex-electron\dist\persisted-state.js:1
(anonymous) @ renderer.js:12
y @ renderer.js:12
(anonymous) @ renderer.js:7
d @ renderer.js:1
n @ renderer.js:1
(anonymous) @ renderer.js:7
d @ renderer.js:1
n @ renderer.js:1
(anonymous) @ renderer.js:7
d @ renderer.js:1
n @ renderer.js:1
(anonymous) @ renderer.js:7
d @ renderer.js:1
(anonymous) @ renderer.js:1
(anonymous) @ renderer.js:1
C:\Users\Administrator\AppData\Local\Programs\kaka\resources\app.asar\node_modules\vue\dist\vue.runtime.common.js:8087 Download the Vue Devtools extension for a better development experience:
https://github.com/vuejs/vue-devtools
C:\Users\Administrator\AppData\Local\Programs\kaka\resources\app.asar\node_modules\vue\dist\vue.runtime.common.js:8098 You are running Vue in development mode.
Make sure to turn on production mode when deploying for production.
See more tips at https://vuejs.org/guide/deployment.html