Sign in
Log inSign up

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!

Hassle-free blogging platform that developers and teams love.
  • Docs by Hashnode
    New
  • Blogs
  • AI Markdown Editor
  • GraphQL APIs
  • Open source Starter-kit

© Hashnode 2024 — LinearBytes Inc.

Privacy PolicyTermsCode of Conduct