sass inside wsl + ddev on latest Win 11 x64

Hello to the round,

I have changed my development environment from laragon under Windows 8.1 to wsl+ddev under Windows 11. My Symfony PHP projects are now located at

\\wsl.localhost\Ubuntu\home\dev\repository\contao-supervisor-bundle\

When I now open my projects with PHPStorm, sass no longer works. I have now installed it globally and also locally and also once again in wsl, but none of this works.

The sass-transpiler starts correctly again in PHPStorm, but I get the error

cmd.exe /D /C call C:\Users\Christian\AppData\Roaming\npm\sass.cmd supervisor.scss:supervisor.css
“\\wsl.localhost\Ubuntu\home\dev\repository\contao-supervisor-bundle\public\scss”


CMD.EXE was started with the path specified above as the current directory.
UNC paths are not supported.


Instead, the Windows directory is set as the current directory.
Error reading supervisor.scss: no such file or directory.

Process finished with exit code 66

Does anyone have any tips on how to fix this error?

Thank you very much!
Theo

0
2 comments

Hi,

Have you tried replacing \\wsl.localhost path with \\wsl$?

1

Hi Anastasiia,

Many thanks for the tip. The path is not recognized by PHPStorm even in this form.

It is amazing, however, that the SCSS preprocessor works correctly and always compiles the SCSS file correctly.

Thank you very much!
Theo

0

Please sign in to leave a comment.