Closed mrseanryan closed 4 years ago
I find with npm the lock file does not work very well, which is somewhat scary.
True, I believe it changes with different node (and npm) versions. In my experience, changes are usually dev
, optional
and http
/https
keys (never package versions if they are pinned down). That being said, it is quite annoying indeed.
I've tried yarn
in the past with other projects and it was OK, although I don't remember anything about lockfile stability (maybe that is a good thing).
Let's give it a try.
Update: I've not actually tried moving to yarn, as now npm seems to work fine.
I think it was fixed when we updated dependencies.
closing as npm is working fine.
@pzavolinsky what about switching to
yarn
instead ofnpm
for developing this project?I find with
npm
the lock file does not work very well, which is somewhat scary.When i
npm i
I get changes inpackage-lock.json
.With
yarn
I believe the lock is more reliable.