environ icon indicating copy to clipboard operation
environ copied to clipboard

IllegalArgumentException Don't know how to create ISeq from: clojure.lang.Symbol

Open theronic opened this issue 4 years ago • 2 comments

I have a .lein-env file in my project. When I try to require environ.core, the following error is thrown, which prevents me from requiring environ again - I have to kill the REPL and restart to retry:

Compiling at (environ/core.clj:39:1).
Syntax error (IllegalArgumentException) compiling at (environ/core.clj:39:1).
Don't know how to create ISeq from: clojure.lang.Symbol

I took all blank lines and comments out of my .lein-env, but same issue. Very difficult to debug without any feedback. I wish env parsing would happen at runtime, or first access of env function.

theronic avatar May 26 '20 10:05 theronic

As mentioned at the top of the README, the .lein-env file is written to by the lein-environ plugin and should not be edited manually.

weavejester avatar May 26 '20 14:05 weavejester

Ah, I see. Is there a way I can set many environment variables like in a .env file that environ can detect without using a lein plugin or typing them in front of the call to start the REPL?

theronic avatar May 26 '20 16:05 theronic