codesandbox / codesandbox/codesandbox-client
Threads breaking library import
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 13.6k
- Forks
- 2.4k
- Avg merge
- 6d 19h
- Merged PRs (30d)
- 2
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
When the code attempts to compile after importing a library, it breaks when reading a thread's registerSerializer property.

How has this issue affected you? What are you trying to accomplish?
Cannot import library, which imports fine locally and elsewhere.
To Reproduce
Create a new sandbox based on Vue, then add VueLayers (vuelayers) as dependency and import it.
Link to sandbox: https://codesandbox.io/s/tag-bug-et51e?file=/src/main.js
Your Environment
| Software | Name/Version |
|---|---|
| Сodesandbox | 918060405 (?) |
| Browser | Chrome |
| Operating System | Windows 10 |
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked CodeSandbox example and its src/main.js entry point, reproducing the VueLayers import in a Vue sandbox. Inspect the failure around the thread's registerSerializer property and compare the sandbox behavior with the environments where the import works. Done means the library imports and compiles without the reported error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100