All jobs / Frontend / web developer / Tooling

Frontend / web developer interview question · 0–1 years

CI installed different package versions than your laptop. Strongest fix?

The strongest answer

Commit the lockfile and install in CI with npm ci (or the equivalent) so the lock is the source of truth

Why it works

Reproducible installs are a lockfile plus a clean install command. That is the interview answer.

What a good answer covers

Answers that fall short

Who gets asked this

More Tooling questions