codesandbox / codesandbox/codesandbox-client
wrong dependency-aware installation just appears on codesandbox
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
codesanbox has an incorrect dependency lookup and install
The following error does not occur in local development or in other ide environments
The reason is that they installed the correct version of rc-util but accidentally installed the wrong version of rc-util in codesandbox
How has this issue affected you? What are you trying to accomplish?
All of the latest Atd Design on codesandbox projects that have been reproduced using codesandbox are not working properly.
This can be solved by manually installing rc-util@latest on the top level, but it shouldn't be.
This error should not occur in local and other ide
To Reproduce
just open https://codesandbox.io/s/an-niu-lei-xing-antd-5-5-1-forked-hls2gr?file=/demo.tsx
Or open the antd official website and use codesandbox in one of the component demos to quickly open
The same top-level dependencies will not be reported in the local development environment or in other ide
The reason is that codesandbox automatically recognizes that the wrong version of rc-util is installed in codesandbox
Link to sandbox: link (optional)
https://codesandbox.io/s/an-niu-lei-xing-antd-5-5-1-forked-hls2gr?file=/demo.tsx
Your Environment
| Software | Name/Version |
|---|---|
| Сodesandbox | online |
| Browser | chorme |
| Operating System | macos |
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 reproduction and its demo.tsx file, then compare its dependency installation with the local or other IDE behavior described in the report. Trace why CodeSandbox installs the wrong rc-util version. Done means the reproduction no longer reports the error without manually adding rc-util@latest at the top level.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100