Quick Links: Download Gideros Studio | Gideros Documentation | Gideros Development Center | Gideros community chat
html5: TypeError: what.includes is not a function - Gideros Forum

html5: TypeError: what.includes is not a function

trojanfoetrojanfoe Member
edited November 24 in Bugs and issues
OK, so I am looking through the Gideros examples and when I export the Button or the Collision Detection example to html5 I get the following crash:

Oops, something went wrong...
An unexpected error occured
The details below may be helpful to you or the app developer... hopefully.
exception thrown: TypeError: what.includes is not a function,TypeError: what.includes is not a function
at Object.gidAbort (http://localhost:1337/:183:19)
at printErr (http://localhost:1337/:138:19)
at abort (http://localhost:1337/gideros.js:3:490450)
at ___syscall192 (http://localhost:1337/gideros.js:1:142371)
at nLb (http://localhost:1337/gideros.asm.js:18:57340)
at Kga (http://localhost:1337/gideros.asm.js:25:103558)
at uea (http://localhost:1337/gideros.asm.js:25:71842)
at Object._main (http://localhost:1337/gideros.js:3:198167)
at Object.callMain (http://localhost:1337/gideros.js:3:488309)
at doRun (http://localhost:1337/gideros.js:3:489004)

I am using Gideros 2019.10 and http.server in python 3.7 (in Windows 10) as my web server.

Can anyone provide any pointers?

Cheers,
Andy
Tagged:

Comments

  • You may need to include the plugins, near the project settings you can select which plugins you use on export. The 'player' has all the plugins built-in.
  • hgy29hgy29 Maintainer
    The message is not very helpful, I agree. If you can get a console log from your browser it may help.
  • Thanks for your replies guys. The Button example is now loading, even though I haven't re-exported it. I did restart the web server though.

    These are the errors from the Chrome console:

    The key "target-densitydpi" is not supported.
    (index):49 GET http://localhost:1337/jzptool.js net::ERR_ABORTED 404 (File not found)
    gideros.js:1 Loading plugin:EP_Mp3.js
    gideros.js:1 Instanciating plugin:EP_Mp3.js
    gideros.js:1 Loading plugin:EP_Xmp.js
    gideros.js:1 Instanciating plugin:EP_Xmp.js
    gideros.js:1 Plugins loaded
    gideros.js:1 EP_Mp3
    gideros.js:1 EP_Xmp
    (index):125 Resize:1295,918
    (index):125 CanvasSize: 1295,918 (1.000000)
    gideros.js:1 The AudioContext was not allowed to start. It must be resumed (or created) after a user gesture on the page. h ttps://goo.gl/7K7WLu
    _alcCreateContext @ gideros.js:1
    $7 @ gideros.asm.js:26
    QIa @ gideros.asm.js:15
    PIa @ gideros.asm.js:15
    ftCall_vi @ gideros.js:1
    invoke_vi @ gideros.js:1
    cFa @ gideros.asm.js:15
    (anonymous) @ gideros.js:3
    ftCall_v @ gideros.js:1
    invoke_v @ gideros.js:1
    w5 @ gideros.asm.js:23
    x5 @ gideros.asm.js:23
    ftCall_viiii @ gideros.js:1
    invoke_viiii @ gideros.js:1
    uea @ gideros.asm.js:26
    (anonymous) @ gideros.js:3
    callMain @ gideros.js:3
    doRun @ gideros.js:3
    (anonymous) @ gideros.js:3
    setTimeout (async)
    run @ gideros.js:3
    runCaller @ gideros.js:3
    removeRunDependency @ gideros.js:1
    (anonymous) @ gideros.js:1
    Promise.then (async)
    (anonymous) @ gideros.js:1
    callRuntimeCallbacks @ gideros.js:1
    preRun @ gideros.js:1
    run @ gideros.js:3
    runCaller @ gideros.js:3
    removeRunDependency @ gideros.js:1
    applyMemoryInitializer @ gideros.js:3
    useRequest @ gideros.js:3
    setTimeout (async)
    (anonymous) @ gideros.js:3
    (index):125 GL_VERSION:OpenGL ES 2.0 (WebGL 1.0 (OpenGL ES 2.0 Chromium))
    (index):125
    (index):125 GLSL_VERSION:OpenGL ES GLSL ES 1.00 (WebGL GLSL ES 1.0 (OpenGL ES GLSL ES 1.0 Chromium))
    (index):125
    gideros.js:1 WebGL: INVALID_ENUM: renderbufferStorage: invalid internalformat
    _glRenderbufferStorage @ gideros.js:1
    u0 @ gideros.asm.js:13
    ftCall_vii @ gideros.js:1
    invoke_vii @ gideros.js:1
    v1 @ gideros.asm.js:13
    x1 @ gideros.asm.js:13
    ftCall_viii @ gideros.js:1
    invoke_viii @ gideros.js:1
    qL @ gideros.asm.js:28
    cB @ gideros.asm.js:16
    zha @ gideros.asm.js:26
    q0b @ gideros.asm.js:29
    y5 @ gideros.asm.js:23
    ftCall_vi @ gideros.js:1
    invoke_vi @ gideros.js:1
    uea @ gideros.asm.js:26
    (anonymous) @ gideros.js:3
    callMain @ gideros.js:3
    doRun @ gideros.js:3
    (anonymous) @ gideros.js:3
    setTimeout (async)
    run @ gideros.js:3
    runCaller @ gideros.js:3
    removeRunDependency @ gideros.js:1
    (anonymous) @ gideros.js:1
    Promise.then (async)
    (anonymous) @ gideros.js:1
    callRuntimeCallbacks @ gideros.js:1
    preRun @ gideros.js:1
    run @ gideros.js:3
    runCaller @ gideros.js:3
    removeRunDependency @ gideros.js:1
    applyMemoryInitializer @ gideros.js:3
    useRequest @ gideros.js:3
    setTimeout (async)
    (anonymous) @ gideros.js:3
    6WebGL: INVALID_OPERATION: framebufferRenderbuffer: no framebuffer bound
    gideros.js:1 WebGL: INVALID_ENUM: renderbufferStorage: invalid internalformat
    _glRenderbufferStorage @ gideros.js:1
    C0 @ gideros.asm.js:13
    P0b @ gideros.asm.js:29
    KB @ gideros.asm.js:16
    oCa @ gideros.asm.js:15
    z5 @ gideros.asm.js:23
    ftCall_viiii @ gideros.js:1
    invoke_viiii @ gideros.js:1
    uea @ gideros.asm.js:26
    (anonymous) @ gideros.js:3
    callMain @ gideros.js:3
    doRun @ gideros.js:3
    (anonymous) @ gideros.js:3
    setTimeout (async)
    run @ gideros.js:3
    runCaller @ gideros.js:3
    removeRunDependency @ gideros.js:1
    (anonymous) @ gideros.js:1
    Promise.then (async)
    (anonymous) @ gideros.js:1
    callRuntimeCallbacks @ gideros.js:1
    preRun @ gideros.js:1
    run @ gideros.js:3
    runCaller @ gideros.js:3
    removeRunDependency @ gideros.js:1
    applyMemoryInitializer @ gideros.js:3
    useRequest @ gideros.js:3
    setTimeout (async)
    (anonymous) @ gideros.js:3
    (index):137 atexit() called, but EXIT_RUNTIME is not set, so atexits() will not be called. set EXIT_RUNTIME to 1 (see the FAQ)
    printErr @ (index):137
    warnOnce @ gideros.js:1
    _atexit @ gideros.js:1
    USa @ gideros.asm.js:20
    PSa @ gideros.asm.js:20
    XSa @ gideros.asm.js:20
    FRa @ gideros.asm.js:20
    C5 @ gideros.asm.js:23
    ftCall_vi @ gideros.js:1
    invoke_vi @ gideros.js:1
    B5 @ gideros.asm.js:23
    A5 @ gideros.asm.js:23
    ftCall_vi @ gideros.js:1
    invoke_vi @ gideros.js:1
    mea @ gideros.asm.js:26
    ftCall_v @ gideros.js:1
    browserIterationFunc @ gideros.js:1
    runIter @ gideros.js:1
    Browser_mainLoop_runner @ gideros.js:1
    requestAnimationFrame (async)
    requestAnimationFrame @ gideros.js:1
    Browser_mainLoop_scheduler_rAF @ gideros.js:1
    Browser_mainLoop_runner @ gideros.js:1
    requestAnimationFrame (async)
    requestAnimationFrame @ gideros.js:1
    Browser_mainLoop_scheduler_rAF @ gideros.js:1
    Browser_mainLoop_runner @ gideros.js:1
    requestAnimationFrame (async)
    requestAnimationFrame @ gideros.js:1
    Browser_mainLoop_scheduler_rAF @ gideros.js:1
    Browser_mainLoop_runner @ gideros.js:1
    requestAnimationFrame (async)
    requestAnimationFrame @ gideros.js:1
    Browser_mainLoop_scheduler_rAF @ gideros.js:1
    Browser_mainLoop_runner @ gideros.js:1
    requestAnimationFrame (async)
    requestAnimationFrame @ gideros.js:1
    Browser_mainLoop_scheduler_rAF @ gideros.js:1
    Browser_mainLoop_runner @ gideros.js:1
    requestAnimationFrame (async)
    requestAnimationFrame @ gideros.js:1
    Browser_mainLoop_scheduler_rAF @ gideros.js:1
    Browser_mainLoop_runner @ gideros.js:1
    requestAnimationFrame (async)
    requestAnimationFrame @ gideros.js:1
    Browser_mainLoop_scheduler_rAF @ gideros.js:1
    Browser_mainLoop_runner @ gideros.js:1
    requestAnimationFrame (async)
    requestAnimationFrame @ gideros.js:1
    Browser_mainLoop_scheduler_rAF @ gideros.js:1
    Browser_mainLoop_runner @ gideros.js:1
    requestAnimationFrame (async)
    requestAnimationFrame @ gideros.js:1
    Browser_mainLoop_scheduler_rAF @ gideros.js:1
    Browser_mainLoop_runner @ gideros.js:1
    requestAnimationFrame (async)
    requestAnimationFrame @ gideros.js:1
    Browser_mainLoop_scheduler_rAF @ gideros.js:1
    Browser_mainLoop_runner @ gideros.js:1
    requestAnimationFrame (async)
    requestAnimationFrame @ gideros.js:1
    Browser_mainLoop_scheduler_rAF @ gideros.js:1
    _emscripten_set_main_loop @ gideros.js:1
    _emscripten_set_main_loop__wrapper @ gideros.js:3
    ftCall_viii @ gideros.js:1
    invoke_viii @ gideros.js:1
    uea @ gideros.asm.js:26
    (anonymous) @ gideros.js:3
    callMain @ gideros.js:3
    doRun @ gideros.js:3
    (anonymous) @ gideros.js:3
    setTimeout (async)
    run @ gideros.js:3
    runCaller @ gideros.js:3
    removeRunDependency @ gideros.js:1
    (anonymous) @ gideros.js:1
    Promise.then (async)
    (anonymous) @ gideros.js:1
    callRuntimeCallbacks @ gideros.js:1
    preRun @ gideros.js:1
    run @ gideros.js:3
    runCaller @ gideros.js:3
    removeRunDependency @ gideros.js:1
    applyMemoryInitializer @ gideros.js:3
    useRequest @ gideros.js:3
    setTimeout (async)
    (anonymous) @ gideros.js:3
    gideros.js:1 WebGL: INVALID_ENUM: renderbufferStorage: invalid internalformat
  • olegoleg Member
    trojanfoe said:

    Thanks for your replies guys. The Button example is now loading, even though I haven't re-exported it. I did restart the web server though.

    The antivirus may be interfering when it first checks the file
    my games:
    https://play.google.com/store/apps/developer?id=razorback456
    мій блог по гідерос https://simartinfo.blogspot.com
    Слава Україні!
  • Yeah PixelClown example is working flawlessly now. What a nice engine this is...
    +1 -1 (+2 / -0 ) Share on Facebook
Sign In or Register to comment.