Skip to content
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

Clear Yarn cache before yarn install #49

Open
m4theushw opened this issue Sep 16, 2022 · 0 comments
Open

Clear Yarn cache before yarn install #49

m4theushw opened this issue Sep 16, 2022 · 0 comments

Comments

@m4theushw
Copy link

In https://github.com/mui/mui-x there's a dependency in package.json which is a git repo. In turns out that if a git repo has its history rewritten, e.g. by deleting a commit, Yarn will try to do a merge commit if it already has the repo cached and CodeSandbox CI will fail because it doesn't have the user and email to write the commit. Cleaning the cache before yarn install solves the problem locally but is there a way to do this inside CodeSandbox CI?

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

No branches or pull requests

1 participant