-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Segmentation fault
when running vite dev
#11
Comments
Can you provide a reproduction? |
Just create a Vite app using the SWC version of the React plugin and add Jotai's plugins. Basically just copy the config I provided. Then run dev and visit the server URL. |
For a more detailed guide: npm create vite@latest demo # Select React as the framework and TypeScript + SWC as the variant. Install the import { defineConfig } from "vite";
import react from "@vitejs/plugin-react-swc";
// https://vitejs.dev/config/
export default defineConfig({
plugins: [
react({
plugins: [
["@swc-jotai/debug-label", {}],
["@swc-jotai/react-refresh", {}],
],
}),
],
}); Run
|
Can you try it out with latest versions of the plugins? |
Now I get this.
|
@Xenfo can you test whether |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as outdated.
This comment was marked as outdated.
|
Alright, thanks for confirming @Xenfo. Please provide a reproduction in CodeSandbox or a cloneable repo. Then I can look into it. |
Actually, this is an issue in Wasmer: |
Hello, It indeed seems to be some issue inside of wasmer, at least from stacktrace
|
It does seem to do the same thing on NextJS btw (13.4.8)
the noop plugin works just fine |
Looks like wasmerio/wasmer#3793 has been fixed. |
Thanks for the reminder! I'll look into updating the crates soon. |
wen fix? |
Thank you! |
Sorry for the wait people! Holiday season is over in Europe and I had the time to look into this. I have published both packages in |
I'm using Vite with the React SWC plugin.
I navigate to the dev URL and I get
Segmentation fault
andvite dev
crashes.The text was updated successfully, but these errors were encountered: