DEV Community

Discussion on: npm v/s yarn v/s pnpm

Collapse
 
cule219 profile image
Stefan

However, if you use Yarn, it will always install the latest matching version, even if you delete the lockfile

This should be the case with NPM too, if you delete the lockfile it should install the latest version.
On the other hand, if you want consistency, having a 3.0.1 version(fe) installed locally and then CI installs 3.1.1 even though lockfile specifies 3.0.1 is def inconsistent.