# npm ci rejects a lockfile made by a newer npm

The npm bundled with the Node version in your Dockerfile's `FROM` line is older than the npm that wrote the lockfile.

## The error

```
npm ci fails with a lockfile created by npm 11
```

## Why it happens

The npm bundled with the Node version in your Dockerfile's `FROM` line is older than the npm that wrote the lockfile.

## How to fix it

Change the `FROM` line to a newer Node image, such as `node:24-alpine`, then upload the Dockerfile again.

```
ezhst build dockerfile set -f Dockerfile
ezhst redeploy
```

## Still stuck

Read the [build log](/docs/cli/deployments-log) and [runtime logs](/docs/cli/logs), or browse [all errors](/errors).
