Cannot build #16

Closed
opened 2025-11-11 14:02:09 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @loranger on GitHub (Oct 30, 2023).

Describe the bug
I just pulled the repositry and build the image but it fails

To Reproduce
Steps to reproduce the behavior:

  1. git pull
  2. docker compose build
 => [ollama-webui internal] load build definition from Dockerfile                                                                                                                                                                                         0.0s
 => => transferring dockerfile: 357B                                                                                                                                                                                                                      0.0s
 => [ollama-webui internal] load .dockerignore                                                                                                                                                                                                            0.0s
 => => transferring context: 2B                                                                                                                                                                                                                           0.0s
 => [ollama-webui] resolve image config for docker.io/docker/dockerfile:1                                                                                                                                                                                 1.6s
 => CACHED [ollama-webui] docker-image://docker.io/docker/dockerfile:1@sha256:ac85f380a63b13dfcefa89046420e1781752bab202122f8f50032edf31be0021                                                                                                            0.0s
 => [ollama-webui internal] load metadata for docker.io/library/node:alpine                                                                                                                                                                               0.5s
 => [ollama-webui 1/8] FROM docker.io/library/node:alpine@sha256:df76a9449df49785f89d517764012e3396b063ba3e746e8d88f36e9f332b1864                                                                                                                         0.0s
 => [ollama-webui internal] load build context                                                                                                                                                                                                            0.0s
 => => transferring context: 4.86kB                                                                                                                                                                                                                       0.0s
 => CACHED [ollama-webui 2/8] WORKDIR /app                                                                                                                                                                                                                0.0s
 => CACHED [ollama-webui 3/8] RUN echo                                                                                                                                                                                                                    0.0s
 => CACHED [ollama-webui 4/8] RUN echo                                                                                                                                                                                                                    0.0s
 => CACHED [ollama-webui 5/8] COPY package.json package-lock.json ./                                                                                                                                                                                      0.0s
 => ERROR [ollama-webui 6/8] RUN npm ci                                                                                                                                                                                                                  74.5s
------
 > [ollama-webui 6/8] RUN npm ci:
74.43 npm notice
74.43 npm notice New patch version of npm available! 10.2.0 -> 10.2.1
74.43 npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.2.1>
74.43 npm notice Run `npm install -g npm@10.2.1` to update!
74.43 npm notice
74.43 npm ERR! code E500
74.43 npm ERR! 500 Internal Server Error - GET https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.7.4.tgz - KV GET failed: 401 Unauthorized
74.43
74.43 npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2023-10-30T20_12_35_508Z-debug-0.log
------
failed to solve: process "/bin/sh -c npm ci" did not complete successfully: exit code: 1

Expected behavior
Build and run the webui

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: macOS 14.1
  • Browser: Firefox
  • Version: 121
Originally created by @loranger on GitHub (Oct 30, 2023). **Describe the bug** I just pulled the repositry and build the image but it fails **To Reproduce** Steps to reproduce the behavior: 1. `git pull` 2. `docker compose build` ``` => [ollama-webui internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 357B 0.0s => [ollama-webui internal] load .dockerignore 0.0s => => transferring context: 2B 0.0s => [ollama-webui] resolve image config for docker.io/docker/dockerfile:1 1.6s => CACHED [ollama-webui] docker-image://docker.io/docker/dockerfile:1@sha256:ac85f380a63b13dfcefa89046420e1781752bab202122f8f50032edf31be0021 0.0s => [ollama-webui internal] load metadata for docker.io/library/node:alpine 0.5s => [ollama-webui 1/8] FROM docker.io/library/node:alpine@sha256:df76a9449df49785f89d517764012e3396b063ba3e746e8d88f36e9f332b1864 0.0s => [ollama-webui internal] load build context 0.0s => => transferring context: 4.86kB 0.0s => CACHED [ollama-webui 2/8] WORKDIR /app 0.0s => CACHED [ollama-webui 3/8] RUN echo 0.0s => CACHED [ollama-webui 4/8] RUN echo 0.0s => CACHED [ollama-webui 5/8] COPY package.json package-lock.json ./ 0.0s => ERROR [ollama-webui 6/8] RUN npm ci 74.5s ------ > [ollama-webui 6/8] RUN npm ci: 74.43 npm notice 74.43 npm notice New patch version of npm available! 10.2.0 -> 10.2.1 74.43 npm notice Changelog: <https://github.com/npm/cli/releases/tag/v10.2.1> 74.43 npm notice Run `npm install -g npm@10.2.1` to update! 74.43 npm notice 74.43 npm ERR! code E500 74.43 npm ERR! 500 Internal Server Error - GET https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-6.7.4.tgz - KV GET failed: 401 Unauthorized 74.43 74.43 npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2023-10-30T20_12_35_508Z-debug-0.log ------ failed to solve: process "/bin/sh -c npm ci" did not complete successfully: exit code: 1 ``` **Expected behavior** Build and run the webui **Screenshots** If applicable, add screenshots to help explain your problem. **Desktop (please complete the following information):** - OS: macOS 14.1 - Browser: Firefox - Version: 121
Author
Owner

@robertsmaoui commented on GitHub (Aug 23, 2024):

same issue on ubuntu

@robertsmaoui commented on GitHub (Aug 23, 2024): same issue on ubuntu
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#16