ppoffice / Hozz

[Development indefinitely suspended] A better way to manage your hosts.
http://ppoffice.github.io/Hozz
Other
912 stars 126 forks source link

Empty window after 'npm start' #10

Closed desfero closed 8 years ago

desfero commented 8 years ago

@ppoffice, I try to build your app from master branch, but i have only empty window app

I have following commands flow:

git clone https://github.com/ppoffice/Hozz.git
cd Hozz
npm install
gulp
npm start 

Did you have similar bug?

ppoffice commented 8 years ago

Which OS are you using?

desfero commented 8 years ago

Windows 10. :) I also tried to run other electron application and all work correct

ppoffice commented 8 years ago

I think you can try to remove node_modules and reinstall all the dependencies, then try to build the app from start.

desfero commented 8 years ago

it doesn't help, also i have the same issue on my windows 8

ppoffice commented 8 years ago

Uncomment this line and rebuild the app to see what's going on when Hozz starts: https://github.com/ppoffice/Hozz/blob/master/src/browser.js#L123

Then put a screenshot here. Thank you.

desfero commented 8 years ago

I found a bug in language.js file. You don't check if we have translations for selected language. Also i change navigator.language to navigator.languages for better language inference.

Pull request with changes #11

Thank you for your help.