-
-
Notifications
You must be signed in to change notification settings - Fork 217
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v2.0.210: Jack-In with fixed deps.edn + shadow-cljs
fails starting cljs REPL
#1285
Comments
@real-iceman Thanks for the report and reproduction steps. Pinging @PEZ. |
@real-iceman does it work without the |
@PEZ Thanks for replying so quickly! I tried also Is there a way to trace what happens behind the scenes? |
@real-iceman You can check the developer tools console for any errors. |
@bpringe In the devtools console I can see two errors and a warning at VSCode startup, but no new messages from the jack-in process. |
I tried to follow the quick start in the project readme and when I run
I'm not sure if that's something odd going on with my machine (mac with the newish M1 chip). Does this happen for you? @PEZ might be able to help further here. |
I do get the same error at jack-in as you, but now I'm unsure if it's due to the same reason. |
Ok I solved that error above by using a workaround mentioned here, but jack-in still fails for me as it does for you. Are you able to run this project in development mode using the instructions in the readme (without Calva's jack-in)? |
Yes, I can successfully run In the meantime, I have updated VSCode and Calva to 1.60.0 / 2.0.211 but this had no impact on jack-in via |
So jack-in by itself in this case does not start a shadow-cljs build. This is the command it issues when choosing clojure -Sdeps '{:deps {nrepl/nrepl {:mvn/version,"0.8.3"},cider/cider-nrepl {:mvn/version,"0.26.0"}}}' -A:dev -m nrepl.cmdline --middleware "[cider.nrepl/cider-middleware]" So, when you try to connect to the I don't use this jack-in type, so I'm not sure what should be done in this case to use jack-in to run and connect to the |
I have also encountered this problem, which I think has to do with the wrong path being used with WSL2. If I start VSCode from a Linux shell with the command |
I'm trying to use the recently re-added jack-in configuration
deps.edn + shadow.-cljs
. This fails with messageFailed starting cljs repl for build: :workspaces. Is the build running and connected?
,unfortunately withount any hint in the Calva Connection Log (sometimes I get
Socket closed
). CLJ REPL is active, but no CLJS REPL has been started.Configuration
shadow-cljs
seems to work fine and starts cljs REPL as expected.I'm using VSCode 1.59.1 Windows 10 / WSL2. Already deactivated all other extensions. Also tried a fresh VSCode + Calva install in a Linux VM, but same result.
Problem can be reproduced using fulcro-template:
git clone https://github.com/fulcrologic/fulcro-template cd fulcro-template yarn install
Then, open folder in VSCode and jack-in using configuration
deps.edn + shadow-cljs
, alias:dev
and build:workspaces
.Maybe I'm just doing it wrong as I am quite new to Clojurescript and Calva? Which, btw, seems to be a great extension!
The text was updated successfully, but these errors were encountered: