Skip to content
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

Cannot Jack-in on Windows with Shadow-CLJS #245

Closed
filipesilva opened this issue Jul 8, 2019 · 1 comment
Closed

Cannot Jack-in on Windows with Shadow-CLJS #245

filipesilva opened this issue Jul 8, 2019 · 1 comment

Comments

@filipesilva
Copy link

Heya, I'm trying to jack-in on Windows and running into some trouble. I couldn't find the error message I am seeing on #195 so opened this new issue instead.

I've a project that I can connect to via "Calva: connect to a running REPL server". When I try to jack in using cmd as my default console, I see this:

> Executing task: C:\Program Files\nodejs\npx.cmd <

'C:\Program' is not recognized as an internal or external command,
operable program or batch file.
The terminal process terminated with exit code: 1

Terminal will be reused by tasks, press any key to close it.

Using Powershell shows a similar message. Using Git Bash shows a variation:

> Executing task: C:\Program Files\nodejs\npx.cmd <

/usr/bin/bash: C:Program: command not found
The terminal process terminated with exit code: 127

Terminal will be reused by tasks, press any key to close it.

I'm not sure where the npx call is coming from. I guess Calva uses it. The problem with cmd and Powershell seems to be that the task path is not quoted. The problem with Git Bash seems to be the same as cmd/Powershell, plus the fact that \ is the escape character in *nix shells.

@filipesilva
Copy link
Author

Sorry about that, I was misusing the Jack-in command. I pressed ctrl+shift+p, selected the jack in command, pressed the down arrow to select the build I wanted, and then pressed enter. But since I wasn't really selecting it in the checkbox, it didn't work properly.

After ticking the checkbox for the build, I can jack in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant