You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to use fireplace to run a function that calls that line, I get this error in the fireplace vim pane
Execution error (ClassCastException) at ....
class mount.core.DerefableState cannot be cast to class clojure.lang.IFn (mount.core.DerefableState is in unnamed module
of loader clojure.lang.DynamicClassLoader @5d235104; clojure.lang.IFn is in unnamed module of loader 'app')
Clojure: class java.lang.ClassCastException
I assume this is because fireplace hasn't (can't?) load the env file.
Here's the env definition. It just reads a value defined in my dev-config.edn file.
How do people normally deal with this? I can temporarily hardcode the value in the code as (def access-token "some string") but that's messy and I have to remember to undo that when I commit my code.
The text was updated successfully, but these errors were encountered:
I have this in a function in my clj file
When I try to use fireplace to run a function that calls that line, I get this error in the fireplace vim pane
I assume this is because fireplace hasn't (can't?) load the env file.
Here's the
env
definition. It just reads a value defined in mydev-config.edn
file.How do people normally deal with this? I can temporarily hardcode the value in the code as
(def access-token "some string")
but that's messy and I have to remember to undo that when I commit my code.The text was updated successfully, but these errors were encountered: