codesandbox / codesandbox/codesandbox-client

Github Sandbox Out of Date

Open
#5,975 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

🚨 ASAP SSE
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][contributing] for this project.
  • I agree to follow the [Code of Conduct][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

I discovered that clicking through to a Sandbox version of a proven example app doesn't load and shows compile errors.

On further investigation it seems the version of Sandbox code is somehow cached, leading to compile errors. As you can see from the screenshot below, the Sandbox is complaining of compile errors for a file which no longer exists in the repository!

image

How has this issue affected you? What are you trying to accomplish?

I would like there to be a sandbox link which runs the latest version of the code shared from the main branch in github. Unfortunately I guess I'll have to remove the CodeSandbox links as it suggests that the code is broken when there's nothing wrong with it that I can see.

To Reproduce

I don't know how the session or the cache of this folder has become corrupted so I don't know how to recreate. I also don't see any control which allows me to force-reset the Github source checkout.

Link to sandbox: link
Your Environment
Software Name/Version
Сodesandbox ?
Browser Chrome
Operating System Chrome OS

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked CodeSandbox example at github/cefn/lauf/tree/main/apps/nextjs-snake and verify whether it loads stale code or reports a missing file. Investigate the GitHub Sandbox checkout or cache path; done means the link loads the current main-branch example without compile errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
github, javascript
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.