Search code examples
npmyarnpkg

Can I use NPM on a project created with Yarn?


The project was created and used with Yarn. Can you clone it and use it with NPM without any problems and without installing Yarn?


Solution

  • It's pretty simple. I assume you have your project code with you. If it was create with yarn, there will be a yarn.lock file.

    Delete the file and run npm install. It shall be up and running without issues.