min.js:210 getAreasSuccess
min.js:210 getAreaSummariesSuccess
min.js:207 uncaught exception in Haskell thread: TypeError: Cannot read property 'apply' of undefined
min.js:207 TypeError: Cannot read property 'apply' of undefined
at h$$dxo (min.js:5451)
at h$runThreadSlice (min.js:242)
at h$runThreadSliceCatch (min.js:241)
at h$mainLoop (min.js:240)
at min.js:260
at XMLHttpRequest.g (min.js:673)
From the build logs, Reflex is complaining like so:
...
Installing library in /nix/store/g4gdzpnqdd40c3cjzzd8qqs3iq48vy5y-bailiwick-0.1.0.0/lib/ghcjs-8.4.0.1/x86_64-linux-ghcjs-8.4.0.1-ghc8_4_2_20180420/bailiwick-0.1.0.0-Eu236JD0Qj29pFZl1NF1QU
Installing executable bailiwick in /nix/store/g4gdzpnqdd40c3cjzzd8qqs3iq48vy5y-bailiwick-0.1.0.0/bin
Warning: The directory
/nix/store/g4gdzpnqdd40c3cjzzd8qqs3iq48vy5y-bailiwick-0.1.0.0/bin is not in
the system search path.
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/g4gdzpnqdd40c3cjzzd8qqs3iq48vy5y-bailiwick-0.1.0.0
shrinking /nix/store/g4gdzpnqdd40c3cjzzd8qqs3iq48vy5y-bailiwick-0.1.0.0/lib/ghcjs-8.4.0.1/x86_64-linux-ghcjs-8.4.0.1-ghc8_4_2_20180420/libHSbailiwick-0.1.0.0-Eu236JD0Qj29pFZl1NF1QU-ghcjs8.4.0.1.js_so
wrong ELF type
patching script interpreter paths in /nix/store/g4gdzpnqdd40c3cjzzd8qqs3iq48vy5y-bailiwick-0.1.0.0
checking for references to /tmp/nix-build-bailiwick-0.1.0.0.drv-0 in /nix/store/g4gdzpnqdd40c3cjzzd8qqs3iq48vy5y-bailiwick-0.1.0.0...
wrong ELF type
shrinking RPATHs of ELF executables and libraries in /nix/store/hwdw1aj4lacdayp0c24i2v28vja232w7-bailiwick-0.1.0.0-doc
patching script interpreter paths in /nix/store/hwdw1aj4lacdayp0c24i2v28vja232w7-bailiwick-0.1.0.0-doc
checking for references to /tmp/nix-build-bailiwick-0.1.0.0.drv-0 in /nix/store/hwdw1aj4lacdayp0c24i2v28vja232w7-bailiwick-0.1.0.0-doc...
building '/nix/store/db2zbjw2f38x542q5107px1cmaam4p5m-bailiwick-static.drv'...
/nix/store/g4gdzpnqdd40c3cjzzd8qqs3iq48vy5y-bailiwick-0.1.0.0/bin/bailiwick.jsexe/all.js:4420: WARNING - Duplicate case in a switch statement.
case 45:
^^^^^^^^
/nix/store/g4gdzpnqdd40c3cjzzd8qqs3iq48vy5y-bailiwick-0.1.0.0/bin/bailiwick.jsexe/all.js:5000: WARNING - unreachable code
{ h$ret1 = (0); return (null); };
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/nix/store/g4gdzpnqdd40c3cjzzd8qqs3iq48vy5y-bailiwick-0.1.0.0/bin/bailiwick.jsexe/all.js:5006: WARNING - unreachable code
{ h$ret1 = (0); return (null); };
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/nix/store/g4gdzpnqdd40c3cjzzd8qqs3iq48vy5y-bailiwick-0.1.0.0/bin/bailiwick.jsexe/all.js:7462: WARNING - unreachable code
return -1;
^^^^^^^^^^
/nix/store/g4gdzpnqdd40c3cjzzd8qqs3iq48vy5y-bailiwick-0.1.0.0/bin/bailiwick.jsexe/all.js:12949: WARNING - unreachable code
return 0;
^^^^^^^^^
/nix/store/g4gdzpnqdd40c3cjzzd8qqs3iq48vy5y-bailiwick-0.1.0.0/bin/bailiwick.jsexe/all.js:12955: WARNING - unreachable code
return 0;
^^^^^^^^^
/nix/store/g4gdzpnqdd40c3cjzzd8qqs3iq48vy5y-bailiwick-0.1.0.0/bin/bailiwick.jsexe/all.js:20094: WARNING - unreachable code
var h$RTS_613 = [];
^^^^^^^^^^^^^^^^^^^
/nix/store/g4gdzpnqdd40c3cjzzd8qqs3iq48vy5y-bailiwick-0.1.0.0/bin/bailiwick.jsexe/all.js:20913: WARNING - If this if/for/while really shouldn't have a body, use {}
for(i = l1 + l2; i > 0 && t[i] === 0; i--);
^
/nix/store/g4gdzpnqdd40c3cjzzd8qqs3iq48vy5y-bailiwick-0.1.0.0/bin/bailiwick.jsexe/all.js:20930: WARNING - unreachable code
var l1 = b1.length, l2 = b2.length;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/nix/store/g4gdzpnqdd40c3cjzzd8qqs3iq48vy5y-bailiwick-0.1.0.0/bin/bailiwick.jsexe/all.js:21067: WARNING - If this if/for/while really shouldn't have a body, use {}
while(r[r[0]] === 0 && r[0] > 0 && r[0]--);
^
/nix/store/g4gdzpnqdd40c3cjzzd8qqs3iq48vy5y-bailiwick-0.1.0.0/bin/bailiwick.jsexe/all.js:22072: WARNING - unreachable code
h$ghcjsbn_assertValid_b(b, "index_b");
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
/nix/store/g4gdzpnqdd40c3cjzzd8qqs3iq48vy5y-bailiwick-0.1.0.0/bin/bailiwick.jsexe/all.js:81332: WARNING - unreachable code
return h$rs();
^^^^^^^^^^^^^^
/nix/store/g4gdzpnqdd40c3cjzzd8qqs3iq48vy5y-bailiwick-0.1.0.0/bin/bailiwick.jsexe/all.js:85099: WARNING - unreachable code
return h$rs();
^^^^^^^^^^^^^^
/nix/store/g4gdzpnqdd40c3cjzzd8qqs3iq48vy5y-bailiwick-0.1.0.0/bin/bailiwick.jsexe/all.js:86333: WARNING - unreachable code
return h$rs();
^^^^^^^^^^^^^^
/nix/store/g4gdzpnqdd40c3cjzzd8qqs3iq48vy5y-bailiwick-0.1.0.0/bin/bailiwick.jsexe/all.js:86415: WARNING - unreachable code
return h$rs();
^^^^^^^^^^^^^^
/nix/store/g4gdzpnqdd40c3cjzzd8qqs3iq48vy5y-bailiwick-0.1.0.0/bin/bailiwick.jsexe/all.js:97905: WARNING - unreachable code
return h$rs();
^^^^^^^^^^^^^^
/nix/store/g4gdzpnqdd40c3cjzzd8qqs3iq48vy5y-bailiwick-0.1.0.0/bin/bailiwick.jsexe/all.js:98027: WARNING - unreachable code
return h$rs();
^^^^^^^^^^^^^^
/nix/store/g4gdzpnqdd40c3cjzzd8qqs3iq48vy5y-bailiwick-0.1.0.0/bin/bailiwick.jsexe/all.js:102755: WARNING - unreachable code
return h$rs();
^^^^^^^^^^^^^^
/nix/store/g4gdzpnqdd40c3cjzzd8qqs3iq48vy5y-bailiwick-0.1.0.0/bin/bailiwick.jsexe/all.js:102795: WARNING - unreachable code
return h$rs();
^^^^^^^^^^^^^^
/nix/store/g4gdzpnqdd40c3cjzzd8qqs3iq48vy5y-bailiwick-0.1.0.0/bin/bailiwick.jsexe/all.js:102853: WARNING - unreachable code
return h$rs();
^^^^^^^^^^^^^^
0 error(s), 20 warning(s)
...
The build on gorbachev appears to be successful, however if you look at the log or go to http://bailiwick-ui.dragonfly-science.gorbachev.io/summary/, you'll see there are javascript issues.
In the console you can see:
From the build logs, Reflex is complaining like so: