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

Delete the yarn.lock, yarn, yarn start, it fails to run #220

Closed
sgehrman opened this issue Jul 29, 2022 · 3 comments
Closed

Delete the yarn.lock, yarn, yarn start, it fails to run #220

sgehrman opened this issue Jul 29, 2022 · 3 comments

Comments

@sgehrman
Copy link

Delete the yarn.lock, yarn, yarn start, it fails to run

@Adamj1232
Copy link
Member

Adamj1232 commented Jul 29, 2022

@sgehrman I just cloned a fresh version, ran yarn and yarn start and the application started without issue and is behaving as expected.
Why would you want to delete yarn.lock?
It locks in deps at a specific version
"In order to get consistent installs across machines" - https://classic.yarnpkg.com/lang/en/docs/yarn-lock/

@ryana
Copy link

ryana commented Jul 29, 2022

I think the issue is that you shouldn't be deleting yarn.lock. I'm used to seeing that file checked into source control for a reason. If there is the need to update deps in the yarn.lock, it should happen on a case-by-case basis.

Is there a reason you need to delete the yarn.lock?

@Adamj1232
Copy link
Member

Closing as deleting the yarn.lock is not part of an expected cloning/starting process

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

3 participants