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

Chapter 5 code does not work for me #10

Open
istitou opened this issue Jul 18, 2017 · 1 comment
Open

Chapter 5 code does not work for me #10

istitou opened this issue Jul 18, 2017 · 1 comment

Comments

@istitou
Copy link

istitou commented Jul 18, 2017

I tried following the book steps, but it did not work, so I decided to download the chapter 5 code and see if it works. I get the same problem. I do not have a text editor showing, the buttons aren't clickable, and I can't search files. The application is pretty much dead.

@zaherg
Copy link

zaherg commented Aug 30, 2017

@istitou the code has a small issue with the dialog API you can check this #9 as it will fix your problem

basically, the new way to access the dialog will be using the remote which you will have to require from electron itself or simply change the code to be like this

const remote = require('electron').remote;
const dialog = remote.dialog;

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

2 participants