Opa app does not load in Internet Explorer when compiled with Opa 1.1.1

Posted by Marcin Skórzewski on Stack Overflow See other posts from Stack Overflow or by Marcin Skórzewski
Published on 2013-06-27T22:13:18Z Indexed on 2013/06/27 22:21 UTC
Read the original article Hit count: 226

Filed under:

I did a minor update to the already working application and then had problems using new version of Opa compiler.

First problem - runtime exception

Since the original deployment Opa 1.1.1 has been released and it resulted in error:

events.js:72
        throw er; // Unhandled 'error' event
              ^
Error: listen EADDRINUSE
    at errnoException (net.js:901:11)
    at Server._listen2 (net.js:1039:14)
    at listen (net.js:1061:10)
    at Server.listen (net.js:1127:5)
    at global.BslNet_Http_server_init_server (/opt/mlstate/lib/opa/stdlib/server.opp/serverNodeJsPackage.js:223:1405)
    at global.BslNet_Http_server_init_server_cps (/opt/mlstate/lib/opa/stdlib/server.opp/serverNodeJsPackage.js:226:15)
    at __v1_bslnet_http_server_init_server_cps_b970f080 (/opt/mlstate/lib/opa/stdlib/stdlib.qmljs/stdlib.core.web.server.opx/main.js:1:175)
    at /opt/mlstate/lib/opa/stdlib/stdlib.qmljs/stdlib.core.web.server.opx/main.js:440:106
    at global.execute_ (/opt/mlstate/lib/opa/static/opa-js-runtime-cps/main.js:19:49)
    at /opt/mlstate/lib/opa/static/opa-js-runtime-cps/main.js:17:78

I decided to build Opa from sources and it helped, but another problem occurred :(

Second problem - stops to support the IE

Application stopped to work in Internet Explorer. I tried two different machines (Windows XP and 7) with IE 8 and 10. Web page does not load at all (looks like the network problem, but the same URL works fine in Firefox). I confirmed the same problem with "Hello world" from the Opa tutorial compiled with both Opa stable 1.1.1 and build from sources.

I suspected that the problem is due to Node.js update (Opa >= 1.1.1 requires Node 0.10.* - now I am using 0.10.12, but I also tried other 0.10-s), but "Hello world" from the Node's from page works fine. I am running the app on OSX developer box and Linux Debian 7.0 server.

Any suggestions what am I doing wrong?

PS. I was off the business for a while. Anyone knows what happened to the Opa forum? Signing is seams not to work.

© Stack Overflow or respective owner

Related posts about OPA