-
Notifications
You must be signed in to change notification settings - Fork 1.5k
electron7 please! #975
Comments
What is the problem you are facing with v7? I have my application running on v7 with no problems |
@bluemiaomiao check this issue #855 also this comment if you are using |
I try to use the new version of electron to complete the automatic dark mode under macOS Catalina. yarn run v1.21.1
warning package.json: License should be a valid SPDX license expression
$ node .electron-vue/dev-runner.js
/Users/key/Source/WebStormProjects/my-project/node_modules/electron/index.js:14
throw new Error('Electron failed to install correctly, please delete node_modules/electron and try installing again')
^
Error: Electron failed to install correctly, please delete node_modules/electron and try installing again
at getElectronPath (/Users/key/Source/WebStormProjects/my-project/node_modules/electron/index.js:14:11)
at Object.<anonymous> (/Users/key/Source/WebStormProjects/my-project/node_modules/electron/index.js:18:18)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object.<anonymous> (/Users/key/Source/WebStormProjects/my-project/.electron-vue/dev-runner.js:4:18)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. My development environment is: System: macOS Catalina, 10.15.3
Nodejs Version: v10.18.1
Electron: 7.1.0
Code Editor: VS Code Stable And I also encountered this problem in version 8.0.0! |
Are you sure you have made all the requirements for your code? And both working fine with the automatic dark mode functionality.
|
I think it's necessary for me to provide you with the steps to create my project.
Then something went wrong with the project. I can't find the steps to change the electron version... |
This won't work with you as I told you before, you need to follow the steps in the issue #855 and this, in particular, is what I've done #855 (comment) |
Can a version selection function be provided? As follows: Which version of electron do you want to use?
-> Electron 2.0.0
-> Electron 6.0.0
-> Electron 8.0.0
-> Electron 7.0.0 I think it's a good suggestion! |
@bluemiaomiao In case you can use
Not tested on 8.0.0 but I'm currently using 7.1.11 and these steps works for me :) |
Please support electron 7, thx
The text was updated successfully, but these errors were encountered: