bhauman / devcards

Devcards aims to provide a visual REPL experience for ClojureScript
1.53k stars 116 forks source link

warnings with latest Figwheel 0.5.4-x #108

Closed yogthos closed 8 years ago

yogthos commented 8 years ago

Hi,

I notice that DevCards don't appear with Figwheel versions past 0.5.3-2, the following warnings show up during compilation:

Compiling "target/cljsbuild/public/js/app_devcards.js" from ["src/cljs" "src/cljc" "env/dev/cljs"]...
WARNING: Use of undeclared Var devcards.core/register-card at line 10 test-app/env/dev/cljs/test_app/cards.cljs
WARNING: Use of undeclared Var devcards.core/card-base at line 10 test-app/env/dev/cljs/test_app/cards.cljs
WARNING: Bad method signature in protocol implementation, devcards.core/IDevcardOptions does not declare method called -devcard-options at line 10 test-app/env/dev/cljs/test_app/cards.cljs
WARNING: Use of undeclared Var devcards.core/IDevcardOptions at line 10 test-app/env/dev/cljs/test_app/cards.cljs
WARNING: Symbol devcards.core/IDevcardOptions is not a protocol at line 10 test-app/env/dev/cljs/test_app/cards.cljs
WARNING: Use of undeclared Var devcards.core/assert-options-map at line 10 test-app/env/dev/cljs/test_app/cards.cljs
WARNING: Use of undeclared Var devcards.core/register-card at line 13 test-app/env/dev/cljs/test_app/cards.cljs
WARNING: Use of undeclared Var devcards.core/card-base at line 13 test-app/env/dev/cljs/test_app/cards.cljs
WARNING: Bad method signature in protocol implementation, devcards.core/IDevcardOptions does not declare method called -devcard-options at line 13 test-app/env/dev/cljs/test_app/cards.cljs
WARNING: Use of undeclared Var devcards.core/IDevcardOptions at line 13 test-app/env/dev/cljs/test_app/cards.cljs
WARNING: Symbol devcards.core/IDevcardOptions is not a protocol at line 13 test-app/env/dev/cljs/test_app/cards.cljs
WARNING: Use of undeclared Var devcards.core/assert-options-map at line 13 test-app/env/dev/cljs/test_app/cards.cljs
bhauman commented 8 years ago

I just ran lein new devcards devvy and then changed the lein-figwheel version to 0.5.4-5 and ran lein figwheel and everything worked.

There may have been a version where it didn't work. But I'm pretty sure its working with the latest.

yogthos commented 8 years ago

Hmm you're right. I ended up cleaning out my maven repo, and everything seems to be working on ok now. Looks like something got cached perhaps.