We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Undecided
Ubuntu
Xeon-GNR
Single Node
Dont build ChatQnA UI docker image
An error occurs when trying to build an opea/chatqna-ui image:
1.999 npm notice 1.999 npm notice New major version of npm available! 10.2.4 -> 11.0.0 1.999 npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.0.0 1.999 npm notice Run npm install -g [email protected] to update! 1.999 npm notice 1.999 npm ERR! code ERESOLVE 2.001 npm ERR! ERESOLVE could not resolve 2.001 npm ERR! 2.001 npm ERR! While resolving: [email protected] 2.001 npm ERR! Found: @sveltejs/[email protected] 2.001 npm ERR! node_modules/@sveltejs/adapter-auto 2.001 npm ERR! dev @sveltejs/adapter-auto@"^3.0.0" from the root project 2.001 npm ERR! 2.001 npm ERR! Could not resolve dependency: 2.001 npm ERR! dev @sveltejs/adapter-auto@"^3.0.0" from the root project 2.001 npm ERR! 2.001 npm ERR! Conflicting peer dependency: @sveltejs/[email protected] 2.001 npm ERR! node_modules/@sveltejs/kit 2.001 npm ERR! peer @sveltejs/kit@"^2.0.0" from @sveltejs/[email protected] 2.001 npm ERR! node_modules/@sveltejs/adapter-auto 2.001 npm ERR! dev @sveltejs/adapter-auto@"^3.0.0" from the root project 2.001 npm ERR! 2.001 npm ERR! Fix the upstream dependency conflict, or retry 2.001 npm ERR! this command with --force or --legacy-peer-deps 2.001 npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm install -g [email protected]
docker build --no-cache -t opea/chatqna-ui:latest --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -f ./docker/Dockerfile .
[+] Building 10.4s (10/11) docker:default => [internal] load build definition from Dockerfile 0.1s => => transferring dockerfile: 672B 0.0s => [internal] load metadata for docker.io/library/node:20.11.1 0.6s => [auth] library/node:pull token for registry-1.docker.io 0.0s => [internal] load .dockerignore 0.1s => => transferring context: 2B 0.0s => CACHED [1/6] FROM docker.io/library/node:20.11.1@sha256:e06aae17c40c7a6b5296ca6f942a02e6737ae61bbbf3e2158624bb0f887991b5 0.0s => [internal] load build context 3.1s => => transferring context: 212.73MB 3.1s => [2/6] RUN apt-get update -y && apt-get install -y git 3.8s => [3/6] COPY svelte /home/user/svelte 3.6s => [4/6] WORKDIR /home/user/svelte 0.1s => ERROR [5/6] RUN npm install 2.1s ------ > [5/6] RUN npm install: 1.999 npm notice 1.999 npm notice New major version of npm available! 10.2.4 -> 11.0.0 1.999 npm notice Changelog: <https://github.com/npm/cli/releases/tag/v11.0.0> 1.999 npm notice Run `npm install -g [email protected]` to update! 1.999 npm notice 1.999 npm ERR! code ERESOLVE 2.001 npm ERR! ERESOLVE could not resolve 2.001 npm ERR! 2.001 npm ERR! While resolving: [email protected] 2.001 npm ERR! Found: @sveltejs/[email protected] 2.001 npm ERR! node_modules/@sveltejs/adapter-auto 2.001 npm ERR! dev @sveltejs/adapter-auto@"^3.0.0" from the root project 2.001 npm ERR! 2.001 npm ERR! Could not resolve dependency: 2.001 npm ERR! dev @sveltejs/adapter-auto@"^3.0.0" from the root project 2.001 npm ERR! 2.001 npm ERR! Conflicting peer dependency: @sveltejs/[email protected] 2.001 npm ERR! node_modules/@sveltejs/kit 2.001 npm ERR! peer @sveltejs/kit@"^2.0.0" from @sveltejs/[email protected] 2.001 npm ERR! node_modules/@sveltejs/adapter-auto 2.001 npm ERR! dev @sveltejs/adapter-auto@"^3.0.0" from the root project 2.001 npm ERR! 2.001 npm ERR! Fix the upstream dependency conflict, or retry 2.001 npm ERR! this command with --force or --legacy-peer-deps 2.001 npm ERR! to accept an incorrect (and potentially broken) dependency resolution. 2.001 npm ERR! 2.001 npm ERR! 2.001 npm ERR! For a full report see: 2.001 npm ERR! /root/.npm/_logs/2025-01-17T12_42_53_137Z-eresolve-report.txt 2.002 2.002 npm ERR! A complete log of this run can be found in: /root/.npm/_logs/2025-01-17T12_42_53_137Z-debug-0.log ------ Dockerfile:17 -------------------- 15 | 16 | # Install front-end dependencies 17 | >>> RUN npm install 18 | 19 | # Build the front-end application -------------------- ERROR: failed to solve: process "/bin/sh -c npm install" did not complete successfully: exit code: 1
The text was updated successfully, but these errors were encountered:
This issue couldn't be reproduced in both nightly test and my local test.
I suggest you clean up the docker cache and try again.
Sorry, something went wrong.
No branches or pull requests
Priority
Undecided
OS type
Ubuntu
Hardware type
Xeon-GNR
Installation method
Deploy method
Running nodes
Single Node
What's the version?
Dont build ChatQnA UI docker image
Description
An error occurs when trying to build an opea/chatqna-ui image:
1.999 npm notice
1.999 npm notice New major version of npm available! 10.2.4 -> 11.0.0
1.999 npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.0.0
1.999 npm notice Run
npm install -g [email protected]
to update!1.999 npm notice
1.999 npm ERR! code ERESOLVE
2.001 npm ERR! ERESOLVE could not resolve
2.001 npm ERR!
2.001 npm ERR! While resolving: [email protected]
2.001 npm ERR! Found: @sveltejs/[email protected]
2.001 npm ERR! node_modules/@sveltejs/adapter-auto
2.001 npm ERR! dev @sveltejs/adapter-auto@"^3.0.0" from the root project
2.001 npm ERR!
2.001 npm ERR! Could not resolve dependency:
2.001 npm ERR! dev @sveltejs/adapter-auto@"^3.0.0" from the root project
2.001 npm ERR!
2.001 npm ERR! Conflicting peer dependency: @sveltejs/[email protected]
2.001 npm ERR! node_modules/@sveltejs/kit
2.001 npm ERR! peer @sveltejs/kit@"^2.0.0" from @sveltejs/[email protected]
2.001 npm ERR! node_modules/@sveltejs/adapter-auto
2.001 npm ERR! dev @sveltejs/adapter-auto@"^3.0.0" from the root project
2.001 npm ERR!
2.001 npm ERR! Fix the upstream dependency conflict, or retry
2.001 npm ERR! this command with --force or --legacy-peer-deps
2.001 npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
Reproduce steps
docker build --no-cache -t opea/chatqna-ui:latest --build-arg https_proxy=$https_proxy --build-arg http_proxy=$http_proxy -f ./docker/Dockerfile .
Raw log
The text was updated successfully, but these errors were encountered: