Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm run dev 报错 删除electron 重装也没用,安装electron时没报错 #21

Open
gengzhenpei opened this issue Jan 4, 2022 · 1 comment

Comments

@gengzhenpei
Copy link

E:\vue\hioshop-admin\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 (E:\vue\hioshop-admin\node_modules\electron\index.js:14:11)
at Object. (E:\vue\hioshop-admin\node_modules\electron\index.js:18:18)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Module.require (internal/modules/cjs/loader.js:887:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object. (E:\vue\hioshop-admin.electron-vue\dev-runner.js:4:18)
at Module._compile (internal/modules/cjs/loader.js:999:30)

@gengzhenpei
Copy link
Author

用这个方法结局了:https://blog.csdn.net/u013584271/article/details/102764898

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant