-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Open
Description
🐛 bug report
Preflight Checklist
- I have read the Contributing Guidelines for this project.
- I agree to follow the Code of Conduct that this project
adheres to. - I have searched the issue tracker for an issue that matches the one I want
to file, without success.
Description of the problem
Projects which depend on typebox fail to compile and display the application when run in the Codesandbox client, but work as expected if you run the same project locally.
On codesandbox:
Locally, after downloading the project and running:
How has this issue affected you? What are you trying to accomplish?
Use a library which depends on data validation via typebox.
To Reproduce
- Create a new project using the default Typescript template
- Specify the latest parcel (2.16.1) and Typescript (5.9.3) versions in
package.json. - Add
typeboxas a dependency - Use some Typebox code in the default
index.ts - Observe the above issue
Link to sandbox: link
I seem to be able to reproduce this issue using the old, deprecated version of the Parcel v1 bundler that is in the default template locally. Presumably this means this was an issue fixed in v2, but that change has not been adopted in whatever Codesandbox is doing to bundle packages.
Your Environment
| Software | Name/Version |
|---|---|
| Сodesandbox | main-00f2e83 |
| Browser | 142.0.7444.162 |
| Operating System | MacOS Tahoe 26.1 (25B78) |
Metadata
Metadata
Assignees
Labels
No labels