Window not opening on Windows (8/10)
See original GitHub issueUsing v0.14.1, I can open exactly one nw application only once. This occured on one Windows 8 as well as one Windows 10 PC. The Application does actually open, spawns 3 Processes of which one uses up one core to the full (the other two doing kinda nothing) and does not crash. The Window won’t open. (This also happens with running nw.exe without custom application)
If I remove the User Data Folder (AppData\Local\nwjs\User Data) it would work again. Actually … I don’t have to remove the whole User Data Folder, but, out of the Local State File (see below) it’s sufficient to only remove the Bold-Printed part.
{"browser":{"last_redirect_origin":""},"easy_unlock":{"user_prefs":{"":{"easy_unlock.proximity_required":false}}},"hardware_acceleration_mode_previous":true,"policy":{"last_statistics_update":"13105581731527831"},"profile":{"info_cache":{
“Default”:{“avatar_icon”:“chrome://theme/IDR_PROFILE_AVATAR_26”,“background_apps”:false,“gaia_id”:“”,“is_ephemeral”:false,“is_omitted_from_profile_list”:false,“is_using_default_avatar”:true,“is_using_default_name”:true,“managed_user_id”:“”,“name”:“”,“user_name”:“”}}},"shutdown":{"num_processes":0,"num_processes_slow":0,"type":0},"startup_metric":{"last_startup_timestamp":"13105583413535694","last_startup_version":"50.0.2661.75","same_version_startup_count":6},"uninstall_metrics":{"installation_date2":"1461108203","launch_count":"6"},"user_experience_metrics":{"low_entropy_source2":7872,"machine_id":12019202,"session_id":5,"stability":{"child_process_crash_count":0,"crash_count":0,"debugger_not_present":6,"execution_phase":700,"exited_cleanly":true,"extension_renderer_crash_count":0,"extension_renderer_failed_launch_count":0,"incomplete_session_end_count":0,"last_timestamp_sec":"1461109818","launch_count":6,"launch_time_sec":"1461109815","page_load_count":0,"renderer_crash_count":0,"renderer_failed_launch_count":0,"renderer_hang_count":0,"session_end_completed":true,"stats_buildtime":"1459659600","stats_version":"50.0.2661.75-64-devel"}},"was":{"restarted":false}}
Both PCs this was tested on have no Chrome installed (if this could be important … to me this seems more like a Chromium issue but one of nw.js).
[This issue could be existing for quite some time now … seeing some ‘Window won’t open’ reports in the mailing list, but couldn’t find a reported bug here (dunno if it should be reported, if it was some chromium issue … well, now it is.)]
Issue Analytics
- State:
- Created 7 years ago
- Comments:14 (2 by maintainers)
Top GitHub Comments
Just to leave a note that this also happened on Win7 Pro - nw.js v0.14.1, Node v5.10.0, Chromium 50.0.2661.75
Main reason for reporting here is knowledge sharing (took me a while to figure out that I am fiddling with wrong data).
If one specifies application “name” in package.json, path to local data changes from ‘AppData\Local\nwjs\User Data’ to AppData\Local\choosen-name\User Data
Hope this helps someone and save some time.
I’ve downloaded and extracted http://dl.nwjs.io/v0.14.1/nwjs-v0.14.1 for linux extract github.zip to the same folder But when I tried to open nw in that downloaded file I am unable to open.Can u help me where I did wrong.