question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Window not opening on Windows (8/10)

See original GitHub issue

Using 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:closed
  • Created 7 years ago
  • Comments:14 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
ljgwwcommented, Jul 13, 2016

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.

0reactions
syedmohiseencommented, Oct 10, 2016

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshoot Windows 8.1, Windows 8 or Windows 7 hangs ...
Tap or click Search. In the Search box, type Power button. Then, in the search results, tap or click Change what the power...
Read more >
Windows 8 and Windows 8.1 STOP Error (Blue Screen ... - Dell
This stop code indicates a driver tried to access a certain area of memory when it should not have, meaning there is a...
Read more >
Fix: Task Host Window Prevents Shut Down in Windows 7/8/10
3. Run Windows Update Troubleshooter · Click Start Menu and type Settings · Open Settings and navigate to the Update & Security ·...
Read more >
What to do Windows 7/8/10 Safe Mode when F8 is not working?
Then, hit the Enter tab and restart your computer while continuously pressing the F8 key until the Advanced Boot Options menu appears. Then,...
Read more >
GitHub Desktop won't open on Windows 10 · Issue #3757
TL;DR with the github for desktop window "focused" hit Alt + spacebar to open the window context menu on screen and maximize the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found