This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-01-11
Channels
- # admin-announcements (8)
- # announcements (1)
- # boot (343)
- # braid-chat (23)
- # cider (20)
- # clara (5)
- # cljsrn (48)
- # clojars (5)
- # clojure (90)
- # clojure-canada (3)
- # clojure-czech (1)
- # clojure-russia (107)
- # clojure-sg (2)
- # clojurebridge (2)
- # clojured (10)
- # clojurescript (70)
- # community-development (73)
- # cursive (106)
- # datavis (40)
- # datomic (40)
- # docs (4)
- # editors (1)
- # emacs (1)
- # events (4)
- # funcool (2)
- # hoplon (46)
- # jobs (2)
- # ldnclj (11)
- # mount (8)
- # om (214)
- # onyx (12)
- # re-frame (35)
- # reagent (31)
- # spacemacs (12)
- # yada (18)
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.
i tested and do see ... what does boot -V
say for you?
#
#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
which OS? also, which browser?
OSX 10.11.1, Chrome Version 45.0.2454.101 (64-bit) or Safari Version 9.0.1 (11601.2.7.2)
perhaps try with an Incognito Window in Chrome, to rule out any plugins?
ok let me try that
nope, still nothing.
nothing in the console, no errors?
browser console, that is - but i can take a look at terminal output also
also, are you running any kind of local firewall (other than OS X's) or antivirus software?
on the last question, no.
I don't see any errors in the JS console in the browser.
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.
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
super, super weird
last thing i can think to try is use ngrok
to share your local server with me
if i can see the page in my browser, we know it's something with your browser and not boot/hoplon
seems worth a shot...
it's odd that it won't work in Safari or Chrome. I'm tempted to download Firefox.
yeah - this is the weirdest bug i've heard of anyone having in awhile
actually wait!
err nevermind
nope, Firefox doesn't work either. It just doesn't like me 😛
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?
the demos run fine but they're not configured the same.
yeah, https://github.com/alandipert/hoplon-contacts-demo is one to try
that works.
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.oh yeah - and the template is downloading the latest versions of things
yes, just a sec.
yup, that fixed it.
something Bad ™️
doing something automatically was added, that prevented another automatic thing from happening
glad it's fixed tho!
yeah, thanks for persevering.
maybe tomorrow the real questions will begin 😉 have a great night.
g'night!