Bug with all my project in construct 2

  • Problem Description

    Problem with all project run on construct 2

    Attach a Capx

    the problem is with all my project so I suppose there is no problem with capx. that was working 2 weeks ago, then I don't know why but preview any of my project doesn't work

    http://image.noelshack.com/fichiers/201 ... -bugcn.png

    Affected Browsers

    • Chrome: (YES)
    • FireFox: (YES)
    • Internet Explorer: (YES)

    Operating System and Service Pack

    ____ Windows 10 professional ____

    Construct 2 Version ID

    ____ release 239 ____

  • here is another message :

    Javascript error!

    SyntaxError: identifier starts immediately after numeric literal

    http://localhost:50000/preview.js, line 1 (col 0)

    different message, noway to run preview of the project. I did'nt made any change since 2 weeks ago, when all my project was running with no problem on preview

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Your 'Construct 2\exporters\html5\preview.js' file must have been modified in some way, either by you, by another program, or maybe even by a failing hard drive.

    The first line in that file is supposed to look like this:

    // ECMAScript 5 strict mode
    [/code:67crg4dh]
    
    This is just a comment, so it should be impossible to have an error here. Since you got 2 different error messages, whatever modified it must still be doing so. It's probably a failing hard drive.
  • okay thanks for repply, I've done a hard disk error fix with windows 2 weeks ago, should I reformat my computer?

  • Probably re-installing C2 will fix that file.

  • here is another message :

    Javascript error!

    SyntaxError: identifier starts immediately after numeric literal

    http://localhost:50000/preview.js, line 1 (col 0)

    different message, noway to run preview of the project. I did'nt made any change since 2 weeks ago, when all my project was running with no problem on preview

    i dont think is a C2 related bug, more of a plugin/behavior bug, either u installed or modified a plugin or behavior either u have something incomplete in behaviors and plugins.

    also, the localhost:5000/preview.js only applies to you not for everybody, or atleast ur version of preview.js is in ur computer on localhost:5000 while on my computer the localhost:5000/preview.js shows my preview.js not yours.

  • Check your browser addons, they can sometimes interfere with C2. This most likely isn't a C2 bug though, so closing.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)