Minify Script Error

  • Problem Description

    Cannot minify script.

    Description of Capx

    It's a pure, default template of a platformer.

    Steps to Reproduce Bug

    • Export to html5
    • Check minify script
    • Get error.

    Observed Result

    One time I got this message:

    [quote:2uyap5jn]---------------------------

    Construct 2 Check failure

    ---------------------------

    Check failure! This is probably a bug:

    Minifier did not output a file

    Condition: FileExists(min_js)

    File: html5.cpp

    Line: 1600

    Function: void __cdecl Exporter::DoExport(class era::IProject *,class era::ILayout *,bool,struct HWND__ *,bool,bool)

    Build: release 164 (64-bit) checked

    Component: HTML5 exporter

    (Last Win32 error: 2)

    You are using a 'checked' release of Construct 2, intended for testing, which causes certain errors to be reported this way. Hit Ctrl+C to copy this messagebox - it's useful information for the developers, so please include it with any bug reports! Click 'Abort' to quit (unsaved data will be lost!),'Retry' to turn off messages for this session and continue, or 'Ignore' to continue normally.

    Expected Result

    To export minified script.

    Operating System and Service Pack

    Win7 64b SP 1

    Construct 2 Version ID

    r164

  • You must first check if you downloaded Java on your Computer

  • Ditto what Naji said. I followed exactly what you said you did and got no errors.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I have latest java installed on my computer. : /

  • Can you export anything using Minify? It exports without it, correct?

    And you have 64-bit Windows, yes? (stupid question but just making sure!)

  • I can export to anything if I first uncheck minify script.

    Yes, I have 64b Win7.

  • Recently I had a similar experience where a bug occurred when trying to export under HTML5. I got around it by simply having it try again, and it worked the second time. Does this happen every single time? If you try again, does it give the same error?

  • It happens always if I use minify. I can try x times and it will give me an error. Interesting fact is that it was working before but suddenly stopped.

  • If you are running 64bit, you need to have the 64bit java installed as well. Minify kept giving me errors though I had Java installed, I found a note that said you also need the 64bit version installed if you have 64bit windows. Apparently the default Java Download only puts the 32bit version in place. You have to actually go to the downloads section of the java site and download the 64bit version as well.

  • Closing as can't reproduce, must be a problem with your Java installation.

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