Skip to content

can't run CodeSandbox tests (issue converting to devbox) #1303

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

Closed
githorse opened this issue Apr 18, 2024 · 3 comments · Fixed by #1304
Closed

can't run CodeSandbox tests (issue converting to devbox) #1303

githorse opened this issue Apr 18, 2024 · 3 comments · Fixed by #1304

Comments

@githorse
Copy link

I tried to fork the suggested CodeSandbox starter template, but seems like I can't open a terminal any longer in CodeSandbox without first converting to a devbox. On forking and converting to a devbox, though, I get errors:

[plugin:vite:import-analysis] Failed to resolve import "react/jsx-dev-runtime" from "src/index.jsx". Does the file exist?

Maybe the starter sandbox needs updating for compatibility with devboxes (whatever that means)? Or, if I'm doing something wrong here, please let me know how I should be using it.

@MatanBobi
Copy link
Member

Thanks @githorse.
We're currently using https://testing-library.com/new-dtl or https://testing-library.com/new-rtl for reproduction environment, we probably missed updating the codesandbox link, where did you find that one?

@githorse
Copy link
Author

@MatanBobi this is the one copied from the issue template when I hit the New Issue -> Bug Report button(s).

@MatanBobi
Copy link
Member

Thanks, I missed it when we've migrated to stackblitz. I've created a PR to fix that now :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants