In my experience npm ci is very useful in very specific situations. Ironically, since you're blowing away the modules that were resolved you'll most likely end up with the same problem you had before if you try with npm ci since those modules are also resolved into pacakge-lock.json.
Those are great points. Thanks for adding
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.