Debug in NW 10.5 error?

Discussion and feedback on Construct 2

Post » Sun Jan 18, 2015 3:25 pm

When I run the debugger in node webkit 10.5, I get this error, does anyone know what it's about? Thanks, Morgan.

Uncaught node.js Error

TypeError: Cannot read property 'Window' of undefined
at Acts.RequestFullScreen (http://localhost:50000/Browser_plugin.js:463:20)
at Action.run_object (http://localhost:50000/eveng.js:1843:10)
at EventBlock.resume_actions_and_subevents (http://localhost:50000/eveng.js:945:38)
at sysProto.runWaits (http://localhost:50000/system.js:2830:9)
at Runtime.logic (http://localhost:50000/preview.js:2267:15)
at Runtime.tick (http://localhost:50000/preview.js:2026:8)
at tickFunc (http://localhost:50000/preview.js:602:38)
Image
B
20
S
4
Posts: 382
Reputation: 2,964

Post » Sun Jan 18, 2015 9:50 pm

Never seen that particular error as far as I know. Are you getting it consistently?

I've found that if you hit the run/debug button multiple times when it's starting up, it can corrupt the preview runtime.

I've also noticed that clicking on the preview/debug button doesn't always start the preview; sometimes you need to click, hold for maybe half a second, then let up. Odd, I know, but I've seen it a dozen times if I've seen it once.
Don't lose your work. Backup your game with Dropbox.
B
44
S
10
G
10
Posts: 1,106
Reputation: 9,187

Post » Mon Jan 19, 2015 3:15 am

@TiAm - thanks. It happens every time when I start the debugger with node webkit selected as the preview browser. Chrome starts like normal.
Image
B
20
S
4
Posts: 382
Reputation: 2,964

Post » Mon Jan 19, 2015 4:09 am

What version of C2 are you running? I'm still on r190, maybe it's an issue with a beta version?
Don't lose your work. Backup your game with Dropbox.
B
44
S
10
G
10
Posts: 1,106
Reputation: 9,187

Post » Mon Jan 19, 2015 3:59 pm

I have been running r190 as well. The regular preview is working perfectly so I'm not too concerned at this point.
Image
B
20
S
4
Posts: 382
Reputation: 2,964

Post » Mon Jan 19, 2015 9:11 pm

I wonder, are you forcing the fullscreen mode? I recon the debug not working with fullscreen on node webkit (could be wrong on that).
Game design is all about decomposing the core of your game so it becomes simple instructions.
B
52
S
22
G
18
Posts: 2,122
Reputation: 17,093

Post » Tue Jan 20, 2015 1:24 pm

Yes I am. That sounds likely. Thanks.
Image
B
20
S
4
Posts: 382
Reputation: 2,964


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 6 guests