2min chapter

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

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode