Intel XDK debug, need help with errors.

Discussion and feedback on Construct 2

Post » Sat Nov 26, 2016 9:47 pm

Hi,

My game runs perfectly on C2, but after exporting to intel XDK, it just don't run on the emulator. I've tryed to test it on my Android device and it won't run as well.

So i've decided to run the debug and it shows this errors:

Uncaught SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode ... c2runtime.js:18226 - |let browserInstance = null;|

Uncaught ReferenceError: cr_createRuntime is not defined ...index.html:78 - |cr_createRuntime("c2canvas"); |

I have no idea what to do with this. May someone help me, please?

Thanks in advance!

ps. using C2 release 240

UPDATE: Found a closed bug that is just the same issue i'm having...but it is supposed to be fixed...just for reference: https://www.scirra.com/forum/r213-problem-with-minifing-scripts-and-running-in-chrome_t153626

i'm not using minify script...
B
14
S
5
Posts: 110
Reputation: 1,338

Post » Thu Dec 01, 2016 3:13 pm

Sorry to post another time, but just to let you know, the problem was gone when i roll back to C2 v. 239.

Still don't know why though...
B
14
S
5
Posts: 110
Reputation: 1,338


Return to Construct 2 General

Who is online

Users browsing this forum: A2D, paxto22, Refeuh and 3 guests