Frontend First cover image

Lessons from stitching GraphQL services with Hasura

Frontend First

CHAPTER

NPM CI and the Lock File

NPM CI solves a problem that's only solvable because of the lock file. With a lock file, it can say, I know I need to install exactly this version - even though the range is wider in the package JSON. The whole point of the lockfile is to be able to recreate the environment I have. But I was basically in a spot like you described where if you can't get rid of the node modules because you can't recreate them. You're in a weird state.

00:00
Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner