Does anyone know how to switch package from npm to yarn

I accidentally built npm package for a project which is using yarn as there package, And now getting errors when raising PRs to the organization due to extra package-lock.json file and other addons due to npm. How can i remove all npm related stuff that was added when building the project and switch to yarn. If anyone has any solution please help..
2 Replies
Matvey
Matvey10mo ago
Just delete node_modules and package-lock.json
rm package-lock.json
rm -rf node_modules
yarn
rm package-lock.json
rm -rf node_modules
yarn
vivekjaiswal4077
vivekjaiswal4077OP10mo ago
Do i need to run any other command for clean up of any npm addons that came along with it...BTW thank you very much!!
Want results from more Discord servers?
Add your server