-
-
Notifications
You must be signed in to change notification settings - Fork 201
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
TypeError: Converting circular structure to JSON #355
Comments
Thanks for reporting this error! To help diagnose the issue, could you share: Your project's package.json This seems related to JSX parsing and compatibility between @babel/parser versions. The full error context and configs will help us identify if it's a bundling conflict or parser version mismatch. |
I can definitely share those files! The project is using Vite. Here's the package.json and vite config. I don't have a Babel customization file; we use mostly Vite defaults.
|
Thanks for providing the config files! Looking at your setup, I notice you're using:
The error you're seeing with Reactime might be related to how SWC (via @vitejs/plugin-react-swc) is transforming your JSX code. A few things we can try:
import react from '@vitejs/plugin-react';
// ... rest of your imports
export default defineConfig(() => ({
plugins: [
react(),
// ... other plugins
],
// ... rest of config
})); Let me know if you need any clarification or if you'd like to try other approaches. |
Description
backend.bundle.js produces massive amounts of error logs and is blocking interaction of my React 18 application.
Reproduction
I am not allowed to share my project, but I can provide more details if necessary.
System information
MacOS 15.2, Chrome 131.0.6778.205, React 18.3.1
Additional information
No response
👨👧👦 Contributing
The text was updated successfully, but these errors were encountered: