cognitect/async-webinar

Demo not working - no js file created

aaelony opened this issue · 5 comments

Thanks for a great demo! Unfortunately, my local git clone of the project won't run in Firefox and I've determined that after cloning the repo locally and running lein cljsbuild auto webinar, a "webinar.js" is not being created.

I updated my Java version, thinking that the problem might be related to transducers, but the problem still persists. I am not getting the text "Successfully compiled" ... that normally I would see when a js file is produced from cljs.

lein version
Leiningen 2.4.3 on Java 1.7.0_10-ea Java HotSpot(TM) 64-Bit Server VM

java -version
java version "1.7.0_10-ea"
Java(TM) SE Runtime Environment (build 1.7.0_10-ea-b09)
Java HotSpot(TM) 64-Bit Server VM (build 23.6-b03, mixed mode)

Mac OS X 10.7.5

Help appreciated.

Thanks,
A

Hmmm, it works ok here.
What is the output you do get from lein?

I get this:

$ lein cljsbuild auto webinar
Compiling ClojureScript.
(hangs indefinitely)

alternatively, if I do once instead of auto, I get the prompt back:

$ lein cljsbuild once webinar
Compiling ClojureScript.
$

Again, I don't see the expected "Successfully compiled" message that indicates success. Could it be the version of Clojurescript?

That output coincides exactly with the lein's output when the target is already compiled. Are you sure webinar.js doesn't already exist on the folder?

What you can try to do is removing the out folder as well as webinar.js and trying to run the command again.

There is no out folder in the project at all. Attaching tree output:
tree
.
|____.git
| |____branches
| |____config
| |____description
| |____FETCH_HEAD
| |____HEAD
| |____hooks
| | |____applypatch-msg.sample
| | |____commit-msg.sample
| | |____post-update.sample
| | |____pre-applypatch.sample
| | |____pre-commit.sample
| | |____pre-rebase.sample
| | |____prepare-commit-msg.sample
| | |____update.sample
| |____index
| |____info
| | |____exclude
| |____logs
| | |____HEAD
| | |____refs
| | | |____heads
| | | | |____master
| |____objects
| | |____info
| | |____pack
| | | |____pack-426a9dda3e527ed0056e57648b1a553c6e826447.idx
| | | |____pack-426a9dda3e527ed0056e57648b1a553c6e826447.pack
| |____ORIG_HEAD
| |____packed-refs
| |____refs
| | |____heads
| | | |____master
| | |____remotes
| | | |____origin
| | | | |HEAD
| | |tags
|.gitignore
|
.lein-repl-history
|____index.html
|____project.clj
|____README.md
|____resources
| |____main.css
|____src
| |____webinar
| | |____core.cljs
|____target
| |____stale
| | |____extract-native.dependencies

This is now resolved. The gist is that my ~/.lein/profiles.clj file was interfering.