SimulatedGREG / electron-vue

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.
https://simulatedgreg.gitbooks.io/electron-vue/content/
MIT License
15.47k stars 1.54k forks source link

error in unit #1024

Open chengfang0911 opened 4 years ago

chengfang0911 commented 4 years ago

Found an issue or bug with electron-vue? Tell me all about it!

I install sqlcipher and run success with npm run dev.but I can't run successful when I use "npm run unit" .

Describe the issue / bug.

# 17 06 2020 15:40:33.734:INFO [karma-server]: Karma v5.0.9 server started at http://0.0.0.0:9876/ 17 06 2020 15:40:33.735:INFO [launcher]: Launching browsers visibleElectron with concurrency unlimited karma-electron: --show is now deprecated. Please use browserWindowOptions.show instead 17 06 2020 15:40:33.849:INFO [launcher]: Starting browser Electron 17 06 2020 15:40:36.151:INFO [Electron 2.0.18 (Node 8.9.3)]: Connected on socket dE7D0mB-5qDpTSRJAAAA with id 40497755 Electron 2.0.18 (Node 8.9.3) ERROR Uncaught Error: Cannot find module 'D:\git\yunify\YiQiLiao-Desktop\prj\node_modules\sqlite3\package.json' at webpack:///node_modules/node-pre-gyp/lib%20sync:4:2 <- index.js:186:253346

Electron 2.0.18 (Node 8.9.3): Executed 0 of 0 ERROR (2.087 secs / 0 secs)

error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command

How can I reproduce this problem?

#

If visual, provide a screenshot.

image

Tell me about your development environment.

If you are looking to suggest an enhancement or feature, then feel free to remove everything above.