My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more

Should I keep both package.lock.json and yarn.lock in my React application. I just want to use yarn as a package manager instead of npm.

Sonu Sasankan's photo
Sonu Sasankan
·Nov 4, 2018

In my react application, there is both package.lock.json and yarn.lock.json. I dont know how this happened but I don't want to use both in same application, right?. Whenever I deploy my application to heroku, there was some issues because of this. How can I handle this properly?.

Thank you!