I had the same problem on Windows and worked around it by editing vite.config.ts locally:
--- a/vite.config.ts
+++ b/vite.config.ts
@@ -19,7 +19,7 @@ const pathSrc = fileURLToPath(new URL('./src', import.meta.url))
// the @use rules have to be the first in the compiled stylesheets
const PREFIXED_SCSS_STYLES = `@use "sass:math";
-@import "${pathSrc}/styles/common-imports";`
+@import "src/styles/common-imports";`
Definitely not the optimal solution but enough to move on.