An electron-vue project
# install dependencies
npm install
# serve with hot reload at localhost:9080
npm run dev
# build electron application for production
npm run build
# run unit & end-to-end tests
npm test
# lint all JS/Vue component files in `src/`
npm run lint
I solved this problem by this advise on Electron page: To ensure your native dependencies are always matched electron version, simply add script "postinstall": "electron-builder install-app-deps" to your package.json.
And then I changed: "postinstall": "electron-builder install-app-deps && npm run lint:fix"
. Then npm run postinstall
.
Reference:
This project was generated with electron-vue@4c6ee7b using vue-cli. Documentation about the original structure can be found here.