Here's a minimal example: https://github.com/tuhlmann/cljs-pprint-warning

It was created with lein chestnut new ... and then I added lein-sass and a 
dummy scss file.

To reproduce the warnings type:

lein repl
(run)

In order to run lein-sass it requires a sassc binary in your path. Precompiled 
binaries for Ubuntu and Windows can be found at 
https://github.com/tuhlmann/sassc-binaries. If that doesn't work for you let me 
know your environment and I'll cook one for you.

Thanks,
Torsten.

Am Sonntag, 16. April 2017 15:32:46 UTC+2 schrieb Shaun LeBron:
> cool, sounds like you found the source.  can we get a minimal example?
> 
> On Sunday, April 16, 2017 at 1:25:48 AM UTC-5, Torsten Uhlmann wrote:
> > I think I found the source of the problem, but I don't understand it yet :)
> > 
> > So, for building my project I'm using a setup copied and adapted from the 
> > chestnut template. I do `lein repl` and then `(run)` which minifies assets, 
> > builds scss files and then calls figwheel.
> > 
> > The problem goes away when I do not build scss files, it uses `[lein-sass 
> > "0.4.0"]` for this.
> > 
> > To build scss files it runs:
> > 
> > (defn start-scss []
> >   (future
> >     (log/info "Starting scss.")
> >     (lein/-main ["sass" "auto"])))
> > 
> > When running the command in a separate terminal and starting my project 
> > without the scss builder call no warnings appear. Please not I did not 
> > change the project dependencies, just did not call `(start-scss)`.
> > 
> > I don't understand the relationship between the warning and the lein call, 
> > the lein-sass plugin does (seemingly) not use and Clojurescript.
> > 
> > Could you give me some pointers where to look further?
> > 
> > Thanks,
> > Torsten.
> > 
> > Am Samstag, 15. April 2017 21:05:29 UTC+2 schrieb Torsten Uhlmann:
> > > Thanks for your response!
> > > 
> > > 
> > > I cleaned the output dir multiple times and that didn't change it. I will 
> > > provide a minimal example- maybe doing this will surface the problem...
> > > 
> > > 
> > > Shaun LeBron schrieb am Sa., 15. Apr. 2017 um 19:40 Uhr:
> > > cljs.pprint/*out* was removed in 1.7.10.  see: 
> > > http://cljs.github.io/api/cljs.pprint/STARoutSTAR
> > > 
> > > 
> > > 
> > > might be something weird going on with the analysis cache? clean your 
> > > output-dir to clear it.  if that doesn't fix, can you give a working 
> > > example?
> > > 
> > > 
> > > 
> > > On Saturday, April 15, 2017 at 2:16:11 AM UTC-5, Torsten Uhlmann wrote:
> > > 
> > > > Hi,
> > > 
> > > >
> > > 
> > > > after upgrading Clojurscript from 1.9.473 to 1.9.493 I get a bunch of 
> > > > warnings like this:
> > > 
> > > >
> > > 
> > > > WARNING: Use of undeclared Var cljs.pprint/*out* at line 2141 
> > > > resources\public\js\out\cljs\pprint.cljs
> > > 
> > > >
> > > 
> > > > The warnings also appear with the latest version 1.9.521.
> > > 
> > > >
> > > 
> > > > Is that expected or am I doing something wrong?
> > > 
> > > >
> > > 
> > > > Thanks,
> > > 
> > > > Torsten.
> > >

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at https://groups.google.com/group/clojurescript.

Reply via email to