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

Electron could not be found. No hard resets for you! #25

Open
xinghuastar opened this issue Apr 25, 2020 · 3 comments
Open

Electron could not be found. No hard resets for you! #25

xinghuastar opened this issue Apr 25, 2020 · 3 comments

Comments

@xinghuastar
Copy link

Why always show below message. but the window is displayed.
Electron could not be found. No hard resets for you!

@plutoless
Copy link
Contributor

i think you can simply ignore the error

@ibash
Copy link

ibash commented Nov 16, 2020

This change fixes it

-    require('electron-reload')(__dirname)
+  require('electron-reload')(__dirname, {
+    electron: path.join(__dirname, 'node_modules', '.bin', 'electron')
+  });

@plutoless
Copy link
Contributor

@ibash i suggest to change __dirname to path.join(__dirname, "src") to avoid infinite reload.
see 0c33ae7

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

3 participants