Open developermau opened 1 year ago
Thank you for reporting this @developermau.
I cannot reproduce on a Mac, so I'm guessing this is a Windows-specific issue. I'll try to fix it once I get a VM going :)
No problem, I understand 👍 . It's amazing. Thank you so much! I'll stay tuned 😃 .
In the meantime, try downgrading to v1.22.2, it might fix your problem!
Thank you so much for your support! I've installed v1.22.2 but Preview.js still not working.
Logs
2023-09-14 21:57:14.819 [info] ExtensionService#_doActivateExtension zenclabs.previewjs, startup: false, activationEvent: 'onLanguage:typescriptreact'
v20.6.1
✅ Detected compatible NodeJS version
🚀 Starting Preview.js daemon...
Streaming daemon logs to: c:\Users\mauri\.vscode\extensions\zenclabs.previewjs-1.22.2\dist\daemon.log
[ready] Preview.js daemon server is now running at http://localhost:9315
Hey @developermau, I got a Windows VM running but haven't yet been able to reproduce. I did find one or two funky things on Windows where the Preview.js process doesn't seem to be restarting properly when you reopen VS Code, it might be linked to that.
Just curious if rebooting your computer helps?
Thank you so much for your help, it worked!
1.22.2
) again@developermau does the latest version work as well now?
I've updated to the 1.24.4
version (or the latest version) and it didn't work. Also, I tried rebooting my computer and exchanging between 1.22.2
and 1.24.4
, but unfortunately not work either (only with 1.22.2
worked).
Describe the bug
Hi everyone! I have a
React
+Typescript
app created byVite
. Then I created a button component and wanted to see a button preview usingPreview.js
but I had an error:No compatible plugin found for workspace with root
.Reproduction
src/AppButton.tsx
Preview.js
Open AppButton in Preview.js
Also, I tried to stop and start but it didn't work.
Optional 1. Refactor
src/App.tsx
Optional 2. Run development server
Preview.js version
v1.24.4
Framework
React 18.2.0
System Info
Used Package Manager
npm
Extension logs (useful for crashes)
Preview logs (useful for rendering errors)
No response
Repo link (if available)
No response
Anything else?
Preview.js is not working on my VSCode.
Google Chrome without console errors.