François Wouts
François Wouts
Hey @DavidLozzi, that's definitely an edge case I haven't thought about before. I suspect it would also be an issue when using ViteJS, which React Preview is based on. You...
Hi @Nyaacinth, thank you for filing this! What's funny here is that Preview.js doesn't handle loading the postcss config itself—that's done by [Vite](https://vitejs.dev), which it uses under the hood. I'll...
Hi @terebentina, thanks for the bug report. I can confirm that I've never tested WSL, so that's not too surprising. I imagine installing Node at the Windows level is out...
I suspected so 🙂 I'll look into it! Thanks for bringing it to my attention.
Hi @terebentina and @fcolomas, would you be able to try the latest version of Preview.js (v1.12)? It should automatically try to run Node from WSL when it's not available in...
Thank you for checking! May I confirm does Preview.js work with your project if you run it from the CLI with `npx @previewjs/cli` (from WSL)?
Hi @terebentina, just letting you know I shipped an additional fix in v1.12.1 that might help. Do let me know if the CLI works otherwise, that'll help narrow down the...
Thanks for trying again @terebentina! Would you mind sharing more info about your WSL setup? In particular: - which version of WSL are you using? - which Linux distro? -...
> * wsl 2 > > * Ubuntu-20.04 > > * zsh with oh-my-zsh > > * mounted at `/c` instead of the default `/mnt/c` Aha! That would explain it....
Amazing, thank you! That might be possible although there could be permissions problems perhaps. Another idea I had was to run `wsl pwd` in the project's directory (from Windows) in...