stateful / runme

DevOps Notebooks Built with Markdown
https://runme.dev
Apache License 2.0
1.08k stars 35 forks source link

runme vscode extension, on WSL2 run code in CMD.exe instead of WSL #657

Open wasdee opened 1 month ago

wasdee commented 1 month ago

error log


> web@0.0.1 dev
> vite dev

'\\wsl.localhost\Ubuntu-24.04\home\ben\xxx'
CMD.EXE was started with the above path as the current directory.
UNC paths are not supported.  Defaulting to Windows directory.
'vite' is not recognized as an internal or external command,
operable program or batch file.

reproduce

  1. enter vscode connect to WSL
  2. run a readme cell

connect to WSL

sourishkrout commented 4 weeks ago

Hi, @wasdee, are you sure cmd.exe isn't the default shell profile selected in VS Code? Runme does not influence this selection, and I'm unsure if WSL filters out all invalid shells.

wasdee commented 1 week ago

It might be on windows. But, bash is my wsl shell

sourishkrout commented 1 week ago

It might be on windows. But, bash is my wsl shell

Makes sense. We're about to release a warning notification to let users know when their environment is incompatible.