-
-
Notifications
You must be signed in to change notification settings - Fork 212
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
Can't jack-in when no project file is open #734
Comments
I was opening the project dir with Closing this. |
Actually you shouldn't have to open a file in the project. I'm reopening, so that we keep this on our radar, and so that people find your workaround. Thanks for reporting! |
I cannot reproduce this =(. When I open a project and jack-in with no file open, it works as usual. I tried creating a new clj-new project as well. |
I have the same issue. Not a big problem though, there's a simple work-around around this. Steps to reproduce:
VS Code version: 1.48.2 |
Thanks for the workaround, @brdloush ! Very interesting. Which OS are you on? |
Update: sorry, using different github user on my phone. I'm using Ubuntu budgie 20.04. Originally I thought I have to run at least lein deps in the terminal. Later I found out that opening the terminal is all that is needed. The error message shown is strange: as if it was trying to actually create the '/.calva'` folder in filesystem root. I may check later using strace or something. |
Yikes, @diegovdc and I thought we fixed this on his machine, but I think the original fix may have been reverted. calva/src/results-output/results-doc.ts Line 112 in 4c003fc
It has to do with this line, but really the code above that gets the output directory. Maybe @diegovdc can look at it again, if he can still reproduce on his machine. |
@brdloush Can you try this vsix and see if the issue is fixed for you? @diegovdc changed something that may work, and seems to work for him. https://7915-125431277-gh.circle-artifacts.com/0/tmp/artifacts/calva-2.0.124-pull-770-21d6640a.vsix You can hit |
@bpringe The vsix is working for me. |
I can confirm. That vsix version fixes mentioned isssue. I can jack-in to freshly created project without having to open terminal. 👍 👏 |
Awesome! Great job @diegovdc 🎉 |
I created a new project with https://github.com/seancorfield/clj-new and when trying to jack in I got this:
Command 'Calva: Start a Project REPL and Connect (aka Jack-In)' resulted in an error (Error: EACCES: permission denied, mkdir '/.calva')
Seems like it's trying to create the
.calva
dir on the root dir, instead of on the project dir.The text was updated successfully, but these errors were encountered: