Closed cap10morgan closed 8 years ago
Could you give some more information?
lein clean
?lein-environ
package, are all of the variables in :env
strings?TypeError: undefined is not an object
from PhantomJS trying to run our test suite.lein cljsbuild
lein clean
, yes.I can't recall where I saw it, but I remember someone reporting that the ClojureScript compiler inserts anything sent to STDERR to the JavaScript output. My guess is that if you search through your failed JavaScript output for "has been cast to string", then you'll find Environ's warning message erroneously inserted. This likely isn't a problem with Environ, but a bug in either the ClojureScript compiler or cljsbuild.
I'm not sure what changed, but upgrading to 1.0.2 breaks my ClojureScript builds. 1.0.1 works fine.