1. EasyHost
  2. Errors
  3. npm ci: package.json and package-lock.json are not in sync

npm ci: package.json and package-lock.json are not in sync

A dependency changed without the lockfile being updated.

Last updated November 9, 2026

The error

npm error `npm ci` can only install packages when your package.json and package-lock.json are in sync.

Why it happens

A dependency changed without the lockfile being updated.

How to fix it

Regenerate the lockfile locally and deploy again.

rm -rf node_modules package-lock.json
npm install
ezhst deploy

Still stuck

Read the build log and runtime logs, or browse all errors.

Start for free

Install the skill, choose Global or Local, then tell your agent to deploy. No credit card, no config files.

npx ezhst skill install