portal

Nim Sadeh 2024-05-22T16:01:58.118629Z

Hello, not sure I installed Portal correctly. Here's my ~/.lein/profiles.clj file:

{:portal {:dependencies [[djblue/portal "0.55.1"]]}}
I am using a Calva/VSCode setup detailed here: https://github.com/seancorfield/vscode-calva-setup?tab=readme-ov-file. When I run the command portal start (can be found here: https://github.com/seancorfield/vscode-calva-setup/blob/d529f6a15a3e420f6d13a0b8e071f78211206c05/calva/config.edn#L44), I get the following error:
Execution error (FileNotFoundException) at nrepl.middleware.interruptible-eval/evaluate$fn$fn (interruptible_eval.clj:87).
Could not locate portal/api__init.class, portal/api.clj or portal/api.cljc on classpath.
leading me to think that Portal isn't correctly installed. I tried using :dev as the profile as well but had no luck.

Nim Sadeh 2024-05-22T16:19:27.304489Z

I needed to use the :user profile

👍 1
djblue 2024-05-22T17:20:50.323409Z

Good to know, I'll see about adding this to the docs 🙏