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
I'm using VSCode/Calva with Live Share a lot. According to the docs, you can share local network sockets over Live Share as well. We try to use this for Calva's REPL, so that the guest can also evaluate Clojure code in the host's REPL. When the guest tries to connect to this socket, using “connect to a running REPL”, I would expect to have to provide a port number, which doesn’t happen. Instead, in the VSCode “Log (Window)“, I see this error:
[2020-10-01 13:58:17.820] [renderer1] [error] Error: EROFS: read-only file system, mkdir '/.calva': Unknown (FileSystemError) (FileSystemError): Error: EROFS: read-only file system, mkdir '/.calva'
at _handleError (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:706:514)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:94:5)
It seems like Calva doesn't detect that this folder is already present on the host. Please note that if .calva is in .gitignore, which it normally is of course, on the guest I don't even see the .calva folder and output.calva-repl buffer, so I guess the mechanism needs to take this into account.
The text was updated successfully, but these errors were encountered:
Ok that's good to know. Conceptually, what I'm trying to accomplish, that should be using the command "Connect to a running REPL server in your project", right? (As opposed to the non-project one)
I'm using VSCode/Calva with Live Share a lot. According to the docs, you can share local network sockets over Live Share as well. We try to use this for Calva's REPL, so that the guest can also evaluate Clojure code in the host's REPL. When the guest tries to connect to this socket, using “connect to a running REPL”, I would expect to have to provide a port number, which doesn’t happen. Instead, in the VSCode “Log (Window)“, I see this error:
It seems like Calva doesn't detect that this folder is already present on the host. Please note that if
.calva
is in.gitignore
, which it normally is of course, on the guest I don't even see the.calva
folder andoutput.calva-repl
buffer, so I guess the mechanism needs to take this into account.The text was updated successfully, but these errors were encountered: