Fork me on GitHub
#hoplon
<
2016-01-11
>
actsasgeek20:01:34

I asked this on IRC but I don't think the cool kids are using that anymore. Is there any obvious reason that: 1. $ lein new hoplon address-book 2. $ cd address-book 3. $ boot dev 4. go to http://localhost:8000/ would produce...nothing? I don't see "Hello, Hoplon". I don't see any errors but it's pretty hard to screw that up.

alandipert20:01:13

i tested and do see ... what does boot -V say for you?

actsasgeek20:01:40

#
#Mon Jan 11 15:37:31 EST 2016
BOOT_CLOJURE_NAME=org.clojure/clojure
BOOT_CLOJURE_VERSION=1.7.0
BOOT_VERSION=2.5.5

alandipert20:01:05

which OS? also, which browser?

actsasgeek20:01:52

OSX 10.11.1, Chrome Version 45.0.2454.101 (64-bit) or Safari Version 9.0.1 (11601.2.7.2)

alandipert20:01:30

perhaps try with an Incognito Window in Chrome, to rule out any plugins?

actsasgeek20:01:51

ok let me try that

actsasgeek20:01:34

nope, still nothing.

alandipert20:01:07

nothing in the console, no errors?

alandipert20:01:33

browser console, that is - but i can take a look at terminal output also

alandipert20:01:57

also, are you running any kind of local firewall (other than OS X's) or antivirus software?

actsasgeek20:01:38

on the last question, no.

actsasgeek20:01:51

I don't see any errors in the JS console in the browser.

actsasgeek20:01:08

nothing that boot dev spits out appears to be "bad". There is a warning at the end about:

Implicit target dir is deprecated, please use the target task instead.
Set BOOT_EMIT_TARGET=no to disable implicit target dir.

actsasgeek21:01:26

still can't find anything...are these the only files I should see in the Developer console's Source tab:

index.html.out
   goog
     base.js
     dep.js
  cljs_deps.js
(index)
index.html.js

alandipert21:01:56

super, super weird

alandipert21:01:15

last thing i can think to try is use ngrok to share your local server with me

alandipert21:01:26

if i can see the page in my browser, we know it's something with your browser and not boot/hoplon

actsasgeek21:01:00

seems worth a shot...

actsasgeek21:01:13

it's odd that it won't work in Safari or Chrome. I'm tempted to download Firefox.

alandipert21:01:43

yeah - this is the weirdest bug i've heard of anyone having in awhile

alandipert21:01:46

actually wait!

alandipert21:01:58

err nevermind

actsasgeek21:01:58

nope, Firefox doesn't work either. It just doesn't like me 😛

actsasgeek21:01:19

is there a page/site out there that's configured the same as what you would get from the current version under a local server?

actsasgeek21:01:35

the demos run fine but they're not configured the same.

actsasgeek21:01:17

my first question then is, my local index.html.js has this content:

var CLOSURE_UNCOMPILED_DEFINES = null;
if(typeof goog == "undefined") document.write('<script src="index.html.out/goog/base.js"></script>');
document.write('<script src="index.html.out/cljs_deps.js"></script>');
document.write('<script>if (typeof goog != "undefined") { goog.require(""); } else { console.warn("ClojureScript could not load :main, did you forget to specify :asset-path?"); };</script>');
and I have yet to see another one that looks like that.

micha21:01:44

i wonder if a new version of cljs changed something with :main

micha21:01:53

i saw something about that i think

alandipert21:01:49

oh yeah - and the template is downloading the latest versions of things

micha21:01:50

can you try changing the boot-cljs dependency to maybe 1.7.170-2 please?

actsasgeek21:01:34

yes, just a sec.

micha21:01:16

oops, maybe 1.7.170-3

actsasgeek21:01:18

yup, that fixed it.

micha21:01:52

i wonder what changed

actsasgeek22:01:40

something Bad ™️

alandipert22:01:18

doing something automatically was added, that prevented another automatic thing from happening

alandipert22:01:35

glad it's fixed tho!

actsasgeek22:01:08

yeah, thanks for persevering.

actsasgeek22:01:59

maybe tomorrow the real questions will begin 😉 have a great night.