[GH-ISSUE #103] Dockerfile fails to build due to npm error #88

Closed
opened 2026-03-03 00:07:41 +03:00 by kerem · 1 comment
Owner

Originally created by @sk33z01d on GitHub (Jan 23, 2026).
Original GitHub issue: https://github.com/binimum/tidal-ui/issues/103

Describe the bug
Docker compose instructions fail with current Dockerfile

To Reproduce
Follow the README instructions:

  1. Clone the repo
  2. Run docker compose up
  3. Observe the error message:
npm error `npm ci` can only install packages when your package.json and package-lock.json or npm-shrinkwrap.json are in sync. Please update your lock file with `npm install` before continuing.

Expected behavior
The container builds and runs

Environment:

Additional context
I don't know much about npm, but following the error message I added RUN npm install one line before RUN npm ci in the Dockerfile and that seemed to do the trick. I'm sure there's probably a better way to fix it.

Originally created by @sk33z01d on GitHub (Jan 23, 2026). Original GitHub issue: https://github.com/binimum/tidal-ui/issues/103 **Describe the bug** Docker compose instructions fail with current Dockerfile **To Reproduce** Follow the README instructions: 1. Clone the repo 2. Run `docker compose up` 3. Observe the error message: ``` npm error `npm ci` can only install packages when your package.json and package-lock.json or npm-shrinkwrap.json are in sync. Please update your lock file with `npm install` before continuing. ``` **Expected behavior** The container builds and runs **Environment:** - OS: NixOS 25.11 - Commit ac6c7fe2cd0e8d88166fbeae37d0c8013b2ccc9d **Additional context** I don't know much about npm, but following the error message I added `RUN npm install` one line before `RUN npm ci` in the Dockerfile and that seemed to do the trick. I'm sure there's probably a better way to fix it.
kerem 2026-03-03 00:07:41 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@binimum commented on GitHub (Jan 24, 2026):

Yes, npm ci is used in the Dockerfile because it results in less overhead, however because of some vite stuff npm install is sometimes necessary due to arm64/x64 different packages.

<!-- gh-comment-id:3794389201 --> @binimum commented on GitHub (Jan 24, 2026): Yes, npm ci is used in the Dockerfile because it results in less overhead, however because of some vite stuff npm install is sometimes necessary due to arm64/x64 different packages.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/tidal-ui#88
No description provided.